body {
    font-family: 'Roboto', sans-serif;
    background-color: #000000;
  }

  a {
        color: white;
  }

  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  @media only screen and (max-width: 768px) {
    .container {
    flex-wrap: wrap;
    align-items: flex-start;
    }
    .buttons {
      order: 2;
    }
    .links {
      order: 3;
    }
  }

  
  #timestamp {
    position: absolute;
    background-color: #333; 
    color: white; 
    bottom: 20px;
    right: 35px;
    padding: 10px;
    z-index: 3;
    opacity: 0.9;
    width: 45%;
    max-width: 100px;
    max-height: 400px;
    border-radius: 5px;
  }

  #mapid {
    position: absolute;
    top: 30%;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
  }
  
  #legend {
    position: absolute;
    bottom: 50px;
    left: 20px;
    padding: 10px;
    z-index: 3;
    opacity: 80%;
    width: 45%;
    max-width: 200px;
    max-height: 400px;
}

@media screen and (max-width: 780px) { 
    #legend {
      max-width: 125px;
    }
}

  p{
    position: absolute;
    font-size: 10;
    background-color: #0000;
    color: white;
    border-radius: 20px;
    bottom: 5px;
    left: 20px;
    padding: 10px;
    z-index: 3;
    opacity: 0.9;
    max-width: 35%;
    z-index: 4;
  }
  h1 {
    opacity: 0;
  } 

nav a.active {
  background-color: #444;
  z-index: 2;
}

  nav a:hover {
    background-color: #7777;
    z-index: 2;
  }
  
  a {
    position: relative;
    text-decoration: none;
    color: black;
    z-index: 2;
  }
  a:hover::before {
    visibility: visible;
    transform: scaleX(1);
  }
  
  a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    z-index: 2;
  }
  .buttons {
  background-color: #000;
  color: white;
}
.buttons ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.buttons li {
  margin-right: 10px;
}
.buttons li input[type="button"] {
  background-color: #0000;
  color: white;
  border: none;
  padding: 5px 10px;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 700px) {
          #mapid {
              top: 25%;
          }
      }

      #controlBar {
    position: absolute;
    bottom: 70px;
    right: 40px;
    z-index: 1000;
    background-color: rgba(30, 30, 30, 0.8);
    color: #FFFFFF;
    padding: 5px;
    padding-right: 40px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    width: 200px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease, bottom 0.3s ease;
}

#controlBar:hover {
    background-color: rgba(45, 45, 45, 0.9);
}

@media (max-width: 600px) {
    #controlBar {
        bottom: 60px;
    }
}