body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0;  width:100%;  z-index: -1; }



#eventsType{
  width: 100%;
  margin-top:2%;
  margin-bottom: 2%;
}

#marker {
  background-image: url('https://docs.mapbox.com/mapbox-gl-js/assets/washington-monument.jpg');
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  }
  
#markerCrime {
  background-image: url("resources/crime icon.png");
  background-size: cover;
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9;
  }
#markerTraffic {
  background-image: url("resources/traffic icon.png");
  background-size: cover;
  width: 60px;
  height: 52.7px;
  cursor: pointer;
  z-index: 9;
  }

#markerFood {
  background-image: url("resources/food icon.jpg");
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9;
  }
  #markerSocial {
    background-image: url("resources/social icon.jpg");
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9;
    }
    #markerSport {
      background-image: url("resources/sports icon.png");
      background-size: cover;
      background-color: white;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 9;
      }


      #menu {
        z-index: 2;
      }
      
      #menu-bar {
        width: 45px;
        height: 40px;
        margin: 30px 0 20px 20px;
        cursor: pointer;
      }
      
      .bar {
        height: 5px;
        width: 100%;
        background-color: #DC052D;
        display: block;
        border-radius: 5px;
        transition: 0.3s ease;
      }
      
      #bar1 {
        transform: translateY(-4px);
      }
      
      #bar3 {
        transform: translateY(4px);
      }
      
      .nav {
        transition: 0.3s ease;
        display: none;
      }
      
      .nav ul {
        padding: 0 22px;
      }
      
      .nav li {
        list-style: none;
        padding: 12px 0;
      }
      
      .nav li button {
        color: white;
        font-size: 20px;
        text-decoration: none;
      }
      
      .nav li button:hover {
        color: black;
      }
      
      .menu-bg, #menu {
        top: 0;
        left: 0;
        position: absolute;
      }
      
      @media only screen and (min-width: 480px) {
      .menu-bg {
        z-index: 1;
        width: 0;
        height: 0;
        margin: 50px 20px 20px 50px;
        background: radial-gradient(circle, #DC052D, #DC052D);
        border-radius: 100%;
        transition: 0.3s ease;
      }
    }
      
      .change {
        display: block;
      }
      
      .change .bar {
        background-color: white;
      }
      
      .change #bar1 {
        transform: translateY(4px) rotateZ(-45deg);
      }
      
      .change #bar2 {
        opacity: 0;
      }
      
      .change #bar3 {
        transform: translateY(-6px) rotateZ(45deg);
      }
      
      .change-bg {
        width: 520px;
        height: 460px;
        transform: translate(-60%,-30%);
      }
   
  .mapboxgl-popup {
  max-width: 200px;
  z-index: 10;
  }

.open-button {
  background-color: #555;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  position: fixed;
  width: 280px;
}

.topnav {
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
 
  .icon {
    background-color: #1973c8;
    color: white;
    border: white solid 1px;
    border-radius: 15%;
    float: left;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin-top: 1%;
  }
  
  .topnav button:hover {
    background-color: #ddd;
    color: black;
  }

  .form-container {
    max-width: 100%;
    padding: 10px;
    background-color: white;
  }
  
  /* Full-width input fields */
  .form-container input[type=text], .form-container input[type=password] {
    width: 90%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
  }
  
  /* When the inputs get focus, do something */
  .form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
  }

  #latLongContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #latLongButSelect {
    width: 50%;
  }
  
  #latLongLabels {
    text-align: center;
    width: 50%;
  }
  
  /* Set a style for the submit/login button */
  .form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
  }
  
  /* Add a red background color to the cancel button */
  .form-container .cancel {
    background-color: red;
  }
  
  /* Add some hover effects to buttons */
  .form-container .btn:hover, .open-button:hover {
    opacity: 1;
  }

  #faqForm {
   border: 3px solid #f1f1f1;
   z-index: 9;
   position: fixed;
   bottom: -100%; /* hide the form off screen */
   margin: 0 auto;
   max-width: 100%;
   background-color: #fff;
   box-sizing: border-box;
   animation-duration: 1s;
   animation-timing-function: ease;
   animation-fill-mode: forwards;
  }

  #loginForm {
    border: 3px solid #f1f1f1;
    z-index: 9;
    position: fixed;
    bottom: -100%; /* hide the form off screen */
    margin: 0 auto;
    max-width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
   }

  
  #myForm {
    border: 3px solid #f1f1f1;
    z-index: 9;
    position: fixed;
    bottom: -100%; /* hide the form off screen */
    margin: 0 auto;
    max-width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
  }
  @media only screen and (min-width: 480px) {

    #faqForm {
      right:50%;
      border: 3px solid #f1f1f1;
      z-index: 9;
      position: fixed;
      bottom: -100%; /* hide the form off screen */
      margin: 0 auto;
      max-width: 50%;
      background-color: #fff;
      box-sizing: border-box;
      animation-duration: 1s;
      animation-timing-function: ease;
      animation-fill-mode: forwards;
     }

     #loginForm {
      right:5%;
      border: 3px solid #f1f1f1;
      z-index: 9;
      position: fixed;
      bottom: -100%; /* hide the form off screen */
      margin: 0 auto;
      max-width: 50%;
      background-color: #fff;
      box-sizing: border-box;
      animation-duration: 1s;
      animation-timing-function: ease;
      animation-fill-mode: forwards;
     }

    #myForm {
     right: 15px;
     border: 3px solid #f1f1f1;
     z-index: 9;
     position: fixed;
     bottom: -100%; /* hide the form off screen */
     margin: 0 auto;
     max-width: 25%;
     background-color: #fff;
     box-sizing: border-box;
     animation-duration: 1s;
     animation-timing-function: ease;
     animation-fill-mode: forwards;
   }
  }
  
  @keyframes slideUp {
    from {
      bottom: -200%;
    }
    to {
      bottom: 0;
    }
  }

  @keyframes slideDown {
    from {
      bottom: 0;
    }
    to {
      bottom: -200%;
    }
  }
  