/* LOADING OVERLAY */
#loading-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(24, 24, 24);
  background: linear-gradient(to top, #333333, #1e1e1e);
  z-index: 999;
  opacity: 1;
  border: none !important;
  transition: opacity 1s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}
/* POP-UP MODAL */
#modal {
  height: 100vh !important;
  padding: 1rem;
  background-color: rgba(43, 43, 43, 0.738);
  position: fixed;
  z-index: 999;
  width: 100% !important;
}

#modal #popup {
  /* min-width: 280px; */
  max-width: 500px;
  padding: 1rem;
  background-color: var(--white);
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-top: solid 5px var(--primary);
}
@media(max-width:768px){
  #modal #popup {
    max-width: 80%;
    width: 80%;
  }

}

#modal #popup .message {
  padding: 1rem;
  margin-top: 1rem;
}
#close {
  position: absolute;
  font-weight: 600 !important;
  padding: 0.4rem 0.6rem;
  font-size: 1.3rem;
  background-color: var(--darkgray);
  color: var(--white);
  top: 10%;
  right: 5%;
}
#close:hover {
  background-color: var(--primary);
  color: var(--white);
  transition: 0.2s ease-in-out;
}
/* COOKIES MODAL */
#cookie-modal {
  margin: auto;
  /* display: none; */
  position: fixed;
  bottom: 10px;
  left: 10px;
  background-color: var(--offwhite);
  color: var(--darkgray);
  padding: 1.2rem;
  z-index: 1000;
  max-width: 400px;
}
#cookie-modal p a.underline{
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 600px) {
  #cookie-modal {
    bottom: 0;
    left: 0;
    width: auto;
    max-width: 100% !important;
  }
}
#cookie-modal #cookie-banner-accept-button {
  background-color: var(--primary-l);
  color: var(--white);
  padding: 0.5rem;
  font-weight: 700;
}
#cookie-modal #cookie-banner-accept-button:hover {
  background-color: var(--primary-d);
  transition: 0.2s ease-in-out;
}
/* SOCIAL MEDIA SIDEBAR */
#social-media-sidebar {
  margin: auto;
  position: absolute;
  position: fixed;
  top: 40%;
  z-index: 999;
  right: 0;
}
#social-media-sidebar a {
  display: block;
  padding: 1.3rem;
  text-align: center;
}
/* WHATSAPP CHAT */
#whatsapp-chat {
  margin: auto;
  position: fixed;
  right: 3%;
  z-index: 999;
  bottom: 7%;
}
#whatsapp-chat a {
  padding: 0.8rem 2rem;
  font-size: 1.4rem;
  font-family: Poppins;
}
#whatsapp-chat:hover {
  transition: 0.2s ease-in-out;
  /* padding: 0.5rem 1rem; */
  transform: translateY(-3px);
}

/* SCROLL BUTTON */
#scroll-btn {
  background-color: var(--secondary-d);
  border: none;
  bottom: 30px;
  right: 30px;
  position: fixed;
  margin: auto;
  display: none;
  padding: 0.8rem;
  font-weight: 900;
  z-index: 1000;
  font-size: 1.2rem;
  color: white;
}
#scroll-btn:hover {
  opacity: 0.8;
  transition: 0.1s ease-in-out;
}

/* GOOGLE MAP */
#map {
  margin: auto;
  padding: 0 !important;
}
#map .container-max {
  padding: 0 !important;
}
#map iframe {
  height: 40vh;
  margin: auto;
}
@media (max-width: 991px) {
  #map iframe {
    max-height: 25vh;
  }
}
