@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

p{
    font-family: "Nunito Sans", sans-serif;
    line-height: 30px;
    font-weight: 300;
}

.wrapper{
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow-y: hidden;
  overflow-x: hidden;
  
}
/* Style for the whole scrollbar */
::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
    height: 8px; /* Height of the scrollbar for horizontal scrollbars */
}

/* Style for the scrollbar track */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded edges for the scrollbar track */
}

/* Style for the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background:#378DFC ; /* Background color of the scrollbar thumb */
    border-radius: 10px; /* Rounded edges for the scrollbar thumb */
}

/* Style for the scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
    background: #3872be; /* Background color of the scrollbar thumb on hover */
}


/* Removed fixed positioning to prevent conflicts with responsive design */
.map{
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#map{
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}


.layer-control{
    position: relative;
    overflow-y: scroll;
    z-index: 10;
    height: 90vh;
    width: 30%;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgb(250, 230, 230);

}

.layer-control p{
  font-size: 15px;
}

@keyframes slideIn {
  from {
    margin-top: -20%;
    opacity: 0;
  }
  to {
    margin-top: -35%;
    opacity: 1;
  }
}

.comments-section {
  height: 60vh;
  width: 45vw;
  display: none;
  flex-direction: column;
  margin-top: -35%;
  margin-left: 54%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  opacity: 0;
  animation: slideIn 1s forwards;
}

/* To trigger the animation, you can use JavaScript to add a class that changes display to block */
.comments-section.show {
  display: flex;
  animation: slideIn 0.5s forwards;
}

.comments-title{
  width: 45vw;
  height: 5vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-top: 10px;
}
.close-button {
  background-color: transparent;
  border: 1px solid #ccc; /* Thin border */
  border-radius: 5px; /* Optional: add rounded corners */
  cursor: pointer;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
}

.close-button:hover {
  border-color: #888; /* Optional: change border color on hover */
}

.close-button .close-icon {
  font-size: 18px; /* Adjust the size of the icon */
  color: #333; /* Icon color */
}
.level-of-satisfaction{
    height: 45vh;
    width: 50vw;
    display: flex;
    flex-direction: row;
    position: relative;
}

.level-of-satisfaction form{
  padding-left: 20px;
}
.comments{
  overflow-y: scroll;
}
.comment-tag small {
  font-size: 10px;
}

.comment-tag {
  width:208px;
}

.commenters-name{
  color: #353535;
}
.slider-container {
  width: 300px;
  margin: 20px auto;
  text-align: center;
}

.slider {
  width: 100%;
  margin: 10px 0;
}

.labels {
  display: flex;
  justify-content: space-between;
}

.label {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color:#252525;
}
.display-card {
  margin-top: 30px;
  width: 30px;
  height: fit-content;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.display-card p{
  color: #333;
}


.hide{
  display: none;
}
/* make the cursor move */
/* .draggable {
  cursor: move;
} */

/* Tooltip container */
.tooltip-custom {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 1000;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-custom.show {
  opacity: 1;
}

.breakline {
  border: none;
  border-top: 1px solid black; /* Or any color you prefer */
  margin: 20px 0; /* Adjust margin as needed */
}

#Textarea{
  font-size: 18px;
}

.research-wrapper{
  height: 100vh;
  overflow: hidden;
}
.researches{
  overflow-y: scroll;
}




.messeges-info {
  display: flex;
  flex-direction: column;
  position: absolute;
  margin-top: 0; /* Starting position */
  margin-left: 10px;
  z-index: 999999999999;
  width: 300px;
  height: 40vh;
  background-color: #1c4d24;
  border: 2px solid green;
  transition: margin-top 1s ease-in-out; /* Animation for smooth transition */
  color: #f1f1f1;
}

.messeges-info-eror{
  display: flex;
  flex-direction: column;
  position: absolute;
  margin-top: 0vh; /* Starting position */
  margin-left: 10px;
  z-index: 999999999999;
  width: 300px;
  height: 40vh;
  background-color: #f5f5f5;
  border: 2px solid red;
  transition: margin-top 1s ease-in-out; /* Animation for smooth transition */
}
.messeges-info.show {
  margin-top: -40; /* Target position for the animation */
}

.cancel-messages{
  display: flex;
  flex-direction: row;
  width: 300px;
  margin-top: 5px;
  
}

#close-button-issues{
  margin-left: 0%;
}
.cancel-messages button{
  margin-left: 80%;
}
.messageBoxMessage{
  padding-left: 10px;
  /* color: white; */
}
.socket {
    width: 100vw;
    height: 85vh;
    position: absolute;
    /* left: 50%;
    margin-left: -100px; */
    /* top: 50%;
    margin-top: -100px; */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hex-brick {
    background: #000000;
    width: 30px;
    height: 17px;
    position: absolute;
    top: 5px;
    animation-name: fade00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: fade00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
  }

  .h2 {
    transform: rotate(60deg);
    -webkit-transform: rotate(60deg);
  }

  .h3 {
    transform: rotate(-60deg);
    -webkit-transform: rotate(-60deg);
  }

  .gel {
    height: 30px;
    width: 30px;
    transition: all .3s;
    -webkit-transition: all .3s;
    position: absolute;
    top: 50%;
    left: 50%;
  }

  .center-gel {
    margin-left: -15px;
    margin-top: -15px;
    animation-name: pulse00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: pulse00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
  }

  .c1 {
    margin-left: -47px;
    margin-top: -15px;
  }

  .c2 {
    margin-left: -31px;
    margin-top: -43px;
  }

  .c3 {
    margin-left: 1px;
    margin-top: -43px;
  }

  .c4 {
    margin-left: 17px;
    margin-top: -15px;
  }

  .c5 {
    margin-left: -31px;
    margin-top: 13px;
  }

  .c6 {
    margin-left: 1px;
    margin-top: 13px;
  }

  .c7 {
    margin-left: -63px;
    margin-top: -43px;
  }

  .c8 {
    margin-left: 33px;
    margin-top: -43px;
  }

  .c9 {
    margin-left: -15px;
    margin-top: 41px;
  }

  .c10 {
    margin-left: -63px;
    margin-top: 13px;
  }

  .c11 {
    margin-left: 33px;
    margin-top: 13px;
  }

  .c12 {
    margin-left: -15px;
    margin-top: -71px;
  }

  .c13 {
    margin-left: -47px;
    margin-top: -71px;
  }

  .c14 {
    margin-left: 17px;
    margin-top: -71px;
  }

  .c15 {
    margin-left: -47px;
    margin-top: 41px;
  }

  .c16 {
    margin-left: 17px;
    margin-top: 41px;
  }

  .c17 {
    margin-left: -79px;
    margin-top: -15px;
  }

  .c18 {
    margin-left: 49px;
    margin-top: -15px;
  }

  .c19 {
    margin-left: -63px;
    margin-top: -99px;
  }

  .c20 {
    margin-left: 33px;
    margin-top: -99px;
  }

  .c21 {
    margin-left: 1px;
    margin-top: -99px;
  }

  .c22 {
    margin-left: -31px;
    margin-top: -99px;
  }

  .c23 {
    margin-left: -63px;
    margin-top: 69px;
  }

  .c24 {
    margin-left: 33px;
    margin-top: 69px;
  }

  .c25 {
    margin-left: 1px;
    margin-top: 69px;
  }

  .c26 {
    margin-left: -31px;
    margin-top: 69px;
  }

  .c27 {
    margin-left: -79px;
    margin-top: -15px;
  }

  .c28 {
    margin-left: -95px;
    margin-top: -43px;
  }

  .c29 {
    margin-left: -95px;
    margin-top: 13px;
  }

  .c30 {
    margin-left: 49px;
    margin-top: 41px;
  }

  .c31 {
    margin-left: -79px;
    margin-top: -71px;
  }

  .c32 {
    margin-left: -111px;
    margin-top: -15px;
  }

  .c33 {
    margin-left: 65px;
    margin-top: -43px;
  }

  .c34 {
    margin-left: 65px;
    margin-top: 13px;
  }

  .c35 {
    margin-left: -79px;
    margin-top: 41px;
  }

  .c36 {
    margin-left: 49px;
    margin-top: -71px;
  }

  .c37 {
    margin-left: 81px;
    margin-top: -15px;
  }

  .r1 {
    animation-name: pulse00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .2s;
    -webkit-animation-name: pulse00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .2s;
  }

  .r2 {
    animation-name: pulse00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .4s;
    -webkit-animation-name: pulse00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .4s;
  }

  .r3 {
    animation-name: pulse00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .6s;
    -webkit-animation-name: pulse00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .6s;
  }

  .r1 > .hex-brick {
    animation-name: fade00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .2s;
    -webkit-animation-name: fade00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .2s;
  }

  .r2 > .hex-brick {
    animation-name: fade00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .4s;
    -webkit-animation-name: fade00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .4s;
  }

  .r3 > .hex-brick {
    animation-name: fade00;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-delay: .6s;
    -webkit-animation-name: fade00;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-delay: .6s;
  }

  @keyframes pulse00 {
    0% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }

    50% {
      -webkit-transform: scale(0.01);
      transform: scale(0.01);
    }

    100% {
      -webkit-transform: scale(1);
      transform: scale(1);
    }
  }

  @keyframes fade00 {
    0% {
      background: #252525;
    }

    50% {
      background: #000000;
    }

    100% {
      background: #353535;
    }
  }

.loading-tag{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 65vh;
}

#loader{
  height: 100vh;
  width:100vw;
  display: none;
  background-color: white;
  position: absolute;
  z-index: 10000000;
  justify-content: center;
  align-items: center;
}

/* loader for layers */

@-webkit-keyframes honeycomb {
  0%,
  20%,
  80%,
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  30%,
  70% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes honeycomb {
  0%,
  20%,
  80%,
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  30%,
  70% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.honeycomb {
  height: 24px;
  position: relative;
  width: 24px;
}

.honeycomb div {
  -webkit-animation: honeycomb 1.5s infinite backwards;
  animation: honeycomb 1.5s infinite backwards;
  background: #378DFC;
  height: 12px;
  margin-top: 6px;
  position: absolute;
  width: 24px;
}

.honeycomb div:after, .honeycomb div:before {
  content: '';
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  position: absolute;
  left: 0;
  right: 0;
}

.honeycomb div:after {
  top: -6px;
  border-bottom: 6px solid #378DFC;
}

.honeycomb div:before {
  bottom: -6px;
  border-top: 6px solid #378DFC;
}

.honeycomb div:nth-child(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  left: -28px;
  top: 0;
}

.honeycomb div:nth-child(2) {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
  left: -14px;
  top: 22px;
}

.honeycomb div:nth-child(3) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
  left: 14px;
  top: 22px;
}

.honeycomb div:nth-child(4) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  left: 28px;
  top: 0;
}

.honeycomb div:nth-child(5) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  left: 14px;
  top: -22px;
}

.honeycomb div:nth-child(6) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  left: -14px;
  top: -22px;
}

.honeycomb div:nth-child(7) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  left: 0;
  top: 0;
}


/* Add this CSS for the sliding animation */
  .slide-up {
      animation: slide-up 0.5s ease-out forwards;
  }

  @keyframes slide-up {
      from {
          transform: translateY(100%);
          opacity: 0;
      }
      to {
          transform: translateY(0);
          opacity: 1;
      }
  }

  .slide-down {
      animation: slide-down 0.5s ease-out forwards;
  }

  @keyframes slide-down {
      from {
          transform: translateY(0);
          opacity: 1;
      }
      to {
          transform: translateY(100%);
          opacity: 0;
      }
  }

@media only screen and (max-width: 768px) {
    .layer-control{
        display:none;
        width: 100%;
    }
    
    /* Ensure proper map sizing on mobile */
    .folium-map{
      height: 100%;
      width: 100%;
    }

    #map{
        position: relative;
        height: 100%;
        width: 100%;
    }
    .comments{
        display: none;
    }
    .top-section{
        height: 100vh;
        width: 100vw;
    }
    .hero-contents{
        flex-direction: column;
    }
    }
