#map {
  position:relative;
  margin:10px auto;
  height: 500px;
  width: 80%;
  border-radius:7px;
}
.visualization-toggle {
  display: flex;
  gap: 10px;
}


html{
  position: relative;
  color:#f1efef;
  font-family:"Red Hat Display", sans-serif;
}
body{
  background-image: url('https://cdn.prod.website-files.com/66425a895e393362f2bdbb9e/664537e75c58c69bf7de2d12_image_2024-05-15_153204408.png');
  background-repeat: no-repeat;
  background-size: cover;
  /* background-size: 100% 100%; */
  height: 100vh;
  /* box-shadow:0 100vh 5px 100px #111A2B; */
}
html,body{
  position:relative;
  margin:0px;
  padding:0px;
}


body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 26, 43, 0.75); 
  z-index: -1;
}


nav{
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-flow:wrap;
  padding:20px 40px;
  /* margin:2px 50px; */
}
#nav-part2{
  display:flex;
  justify-content: space-between;
  align-items: center;
  flex-flow:wrap;
  gap:20px;
}
.general-button{
  border:solid 1px transparent;
  border-radius: 3px;
  padding:10px 20px;
  font-size:14px;
  background-image: linear-gradient(164deg, #786439d9 16%, #8a7854 33%, #9b8c6deb 47%, #776644f7 69%, #5c4925 81%);
  font-weight: 700;
  cursor: pointer;
  color:#ffffff;
  letter-spacing: 0.9px;
  box-shadow: 0 0 10px transparent;
  font-family: "Red Hat Display", sans-serif;
}
.general-button:hover{
  background:transparent;
  border:solid 1px grey;
  box-shadow: 0 0 10px grey;
}

.general-button2{
  background-color:transparent;
  border:none;
  text-decoration:none;
  font-weight: 700;
  cursor: pointer;
  color:#e0d7d7;
  font-size:16px;
  /* letter-spacing: 0.9px; */
}
.general-button2:hover{
  opacity:0.7;
}

main{
  padding:20px 40px;
}

h1{
  font-family:"Red Hat Display", sans-serif;
  font-size:44px;
  line-height:60px;
  font-weight:700;
}
.subtitle{
  font-family:"Red Hat Display", sans-serif;
  font-size:24px;
  line-height:35px;
  font-weight:400;
}
#controls-div{
  /* border:solid 2px red; */
  display:flex;
  justify-content:space-evenly;
  align-items:center;
  /* flex-direction:column; */
  margin-bottom:15px;
  /* flex-flow:wrap; */
}

/* #clusterSlider{
  position:relative;
  top:3px;
} */
#clusterInput{
  width:50px;
  border:none;
  border-radius:3px;
  padding:5px 8px;
}
#city-dropdown{
  /* background-color:#5c6575;
  color:#fff; */
  /* border: solid 4px #333; */
  border-radius:3px;
  padding:5px 10px;
}

#test{
  /* border:solid 2px red; */
  z-index:-2;
  box-shadow: 0px 0px 300px 50vh rgba(17, 26, 43, 1);
}

.center-text{
  /* color:#f5d699eb; */
  display:flex;
  justify-content:center;
  align-items:center;
  line-height:15px;
  flex-flow:wrap;
}

/* // Live icon and animation */
.btn_live{
  position:relative;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  border:none;
  background:#464d59;
  /* background:transparent; */
  color:white;
  padding:8px 18px;
  font-size:14px;
  letter-spacing:1px;
  border-radius: 50px;
  margin-right:5px;
  box-shadow: 0px 2px 0px darken(#0288d1, 10%);
}
.live-icon{
  position:relative;
  display:inline;
  width:12px;
  height: 12px;
  border-radius:50%;
  background-color:red;
  -webkit-box-shadow: 0 0 0 0 red;
          box-shadow: 0 0 0 0 red;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        -webkit-transform: scale(0.95);
                transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(250, 5, 5, 0.8);
                box-shadow: 0 0 0 0 rgba(250, 5, 5, 0.8);
    }
    70% {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-box-shadow: 0 0 0 10px rgba(250, 5, 5, 0);
                box-shadow: 0 0 0 10px rgba(250, 5, 5, 0);
    }
    100% {
        -webkit-transform: scale(0.95);
                transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(250, 5, 5, 0);
                box-shadow: 0 0 0 0 rgba(250, 5, 5, 0);
    }

}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(0.95);
                transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(250, 5, 5, 0.8);
                box-shadow: 0 0 0 0 rgba(250, 5, 5, 0.8);
    }
    70% {
        -webkit-transform: scale(1);
                transform: scale(1);
        -webkit-box-shadow: 0 0 0 10px rgba(250, 5, 5, 0);
                box-shadow: 0 0 0 10px rgba(250, 5, 5, 0);
    }
    100% {
        -webkit-transform: scale(0.95);
                transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(250, 5, 5, 0);
                box-shadow: 0 0 0 0 rgba(250, 5, 5, 0);
    }

}

#total-records {
  color:#f5d699eb;
  display: inline-block; 
  min-width: 50px; 
  text-align: center;
  overflow:visible;
}


.form-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  position:relative;
  margin:10px auto;
  padding:10px 20px;
  font-size:16px;
  color:#2c2b2b;
  background-color:#ddd;
  border:none;
  border-radius:3px;
  font-family:"Red Hat Display", sans-serif;
  font-weight:700;
  cursor:pointer;
}
.form-btn:hover{
  opacity:0.8;
}

/* ....................................for mobile........................ */
@media (max-width: 768px){
  nav{
    padding:10px 10px;
     margin:2px auto;
  }
  #nav-part2{
    display:flex;
    justify-content: space-between;
    align-items: center;
    flex-flow:wrap;
    /* gap:10px; */
    margin-top:20px;
  }

  .general-button{
    all:unset;
    background-color:transparent;
    border:none;
    text-decoration:none;
    font-weight: 700;
    cursor: pointer;
    color:#e0d7d7;
    font-size:16px;
  }
  
  main{
    padding:10px 12px;
  }
  
  
  #map {
    height: 70vh;
    width: 95%;
  }

  #controls-div{
    margin: 20px 0;
    display: flex;
    flex-direction:column;
    gap: 15px;
    justify-content:center;
    align-items: center;
    flex-wrap: wrap;
    padding-left:5px;
  }
  #clusterSlider{
    position:relative;
    top:3px;
    width:60%;
  }
  #clusterInput{
    width:30px;
    border:none;
    border-radius:3px;
    padding:5px 8px;
  }

  .center-text{
    /* color:#f5d699eb; */
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:16px;
    flex-flow:wrap;
  }
  
}