
body {
    background-color: rgb(0, 0, 0);
    margin: 0;
}

header {
    background-image: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0));
    padding: 20px 0px 0px 0px;
}

h1, h2, h3 {
    user-select: none;
    font-family: 'Tajawal', sans-serif;
}

#giga-map {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    overflow: hidden;
    z-index: -999;
}

h1 {
    margin: 0;
    text-align: center;
    color: rgb(255, 255, 255);
    letter-spacing: 3px;
}

h2 {
    font-size: 0.7em;
    margin: 0;
    opacity: 0.7;
}

h3 {
    font-size: 0.6em;
    margin: 5px;
    color: #000000;
}

#output {
    position: absolute;
    margin: 10px;
    right: 10px;
    bottom: 10px;
    left:50%;
    z-index: -999;
    top: 50%;
}

#buttons-wrapper {
    display: flex;
    justify-content: center;
    margin: 10px 20px 20px 20px;
    z-index: 999;
}

.station-box {
    display: flex;
    justify-content: center;
    flex-flow: column;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.145);
    text-align: center;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: 1s ease-in-out;
}

.btn {
    width: 150px;
    margin: 15px;
    padding: 5px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.542);
    color: white;
    border: 1px solid white;
    transition: 0.8s ease-in-out;
    font-family: 'Tajawal', sans-serif;
}

.btn:hover {
    transform: scale(1.05)
}


.station-box:hover {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 9999999 !important;
}

.station-box:hover > .info {
    opacity: 0.7;
}

.station-box:hover > .logo {
    opacity: 0.7;
}

.info {
    position: relative;
    opacity: 0;
    transition: 1s ease-in-out;
    margin: 20% auto;
}

.bike-nmbr {
    top: 10%;
    text-align: center;
}

.parking-nmbr {
    text-align: center;
    bottom: 10%;
}

#loader-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    border: 16px solid #af000000;
    border-top: 16px solid #00f7ff9e;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 9999999;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg) }
    100% { transform: rotate(360deg) }
  }

  .invisible {
      display: none;
  }

  @media only screen and (max-width: 600px) {
    .btn {
        width: 300px;
        height: 40px;
        font-size: 1.2em;
    }
    #buttons-wrapper {
        margin: 5px 0px 10px 0px;
    }
    #giga-map {
        /* top: 70px; */
    }
    /* header {
        background-image: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0));
        padding: 20px 0px 20px 0px;
    } */
  }
  @media only screen and (max-width: 400px) {
    #buttons-wrapper {
        flex-direction: column;
    }
    .btn {
        margin: 5px auto;
        width: 80%;
    }
    #giga-map {
        /* top: 170px; */
    }
  }