html {
  scroll-padding-top: 125px;
  margin: 0;
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

.box_1 {
  aspect-ratio: 1;
  border-radius: 5px;
}

.col-4.box_1.black {
  position: relative;
  overflow: hidden;
}

.col-4.box_1.black video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-container {
  position: relative;
  display: inline-block;
}

.fullscreen-icon {
  position: absolute;
  top: 55px;
  right: 10px;
  color: white;
  font-size: 22px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  aspect-ratio: 1;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  line-height: 2em;
}

.mapa {
  min-height: 450px;
}

.galeria-full,
.galeria-full .nanogallery2,
.galeria-full .nGY2Gallery,
.galeria-full .nGY2GalleryMosaic,
.galeria-full .nGY2GalleryMosaic .nGY2GThumbnail {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.accesibility {
  background-color: #242424;
  width: auto;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 1em;
  border-radius: 12px;
  margin-left: 5px;
}

@media (max-width: 991.98px) {
  .slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .video-fondo {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}

.slider {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.slider_2 {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: bottom;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.footer {
  background-color: #242424;
}

.footer h5 {
  color: white;
}

.footer.nav-item {
  color: white;
}

.slider_water {
  width: 100%;
  height: 400px;
  object-fit: cover;
  z-index: -1;
  height: 50vh;
  overflow: hidden;
  position: relative;
}

.swimming_top {
  position: absolute;
  top: 0;
  width: 100%;
  height: auto;
}

.localization_bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  right: 0;
}

.kid-piscina {
  width: 405px;
  aspect-ratio: 1;
  position: absolute;
  right: 225px;
  bottom: 64px;
}

.slider_water video {
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  object-fit: cover;
  z-index: -1;
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.slider_under_claim {
  background-color: #000000db;
  height: auto;
  padding: 2em;
  width: 100%;
  text-align: center;
  position: relative;
}

.slider_under_claim_white {
  background-color: #ffffff;
  height: auto;
  padding: 2em;
  width: 100%;
  position: relative;
}

@media (max-width: 767.98px) {
  .slider_under_claim_white {
    padding-left: 0rem; /* o lo que necesites */
    padding-right: 0rem; /* o lo que necesites */
  }
}

.box_2.tittle {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1em;
}

.box_2.subtittle {
  color: white;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.4em;
  text-transform: uppercase;
  text-wrap: balance;
}

.box_2_img {
  margin-top: 1em;
  margin-bottom: 2em;
}

.smarthome {
  font-family: "Frank Ruhl Libre", serif;
  font-weight: 300;
}

.adress_list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5em;
  font-size: 13px;
}

address {
  color: white;
}

.adress_list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.icon_location::before {
  content: "\f3e7";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

.icon_position::before {
  content: "\F2D0";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

.icon_info::before {
  content: "\F430";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

.icon_mail::before {
  content: "\F32C";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

.typo_small.bottom_line {
  border-bottom: 1px solid #000000db;
  padding-bottom: 0.5em;
}

.head_text {
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 700;
  border-bottom: 1px solid black;
  padding-bottom: 3px;
  letter-spacing: -0.01em;
}

.head_text_white {
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 700;
  border-bottom: 0.5px solid rgb(255, 255, 255);
  padding-bottom: 3px;
  letter-spacing: -0.01em;
  color: white;
}

.typo_small_white {
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 2.8em;
  letter-spacing: -0.02em;
  line-height: 1em;
  color: white;
  margin: 0;
}

li {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.quality_tittle {
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.8em;
  letter-spacing: -0.02em;
  line-height: 1em;
  color: #000000db;
  margin: 0;
}

.quality_tittle.bottom_line {
  border-bottom: 1px solid #000000db;
  padding-bottom: 0.5em;
  margin-bottom: 0.7em;
}

.quality_tittle_bottom {
  padding-bottom: 0.7em;
}

.typo_small {
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 2.8em;
  letter-spacing: -0.02em;
  line-height: 1em;
  color: white;
  margin: 0;
}

@media (max-width: 767.98px) {
  .padding_mobile {
    padding-left: 0.5rem; /* o lo que necesites */
    padding-right: 0.5rem; /* o lo que necesites */
  }
}

@media (max-width: 767.98px) {
  .typo_small {
    padding-left: 0.5rem; /* o lo que necesites */
    padding-right: 0.5rem; /* o lo que necesites */
  }
}

@media (max-width: 767.98px) {
  .typo_small_white {
    padding-left: 0.5rem; /* o lo que necesites */
    padding-right: 0.5rem; /* o lo que necesites */
  }
}

.caracteristicas_box {
  background-color: #ffffffb2;
  border-radius: 5px;
  backdrop-filter: blur(6px);
  padding: 2em;
}

.typo_small_white.bottom_line {
  border-bottom: 1px solid #ffffffdb;
  padding-bottom: 0.5em;
}

.background_calidades {
  background-image: url(../img/background-calidades.jpg);
  background-size: cover;
  background-position-y: center;
}

.background_caracteristicas {
  background-image: url(../img/background-caracteristicas.jpg);
  background-size: cover;
  background-position-y: center;
}

@media (max-width: 767.98px) {
  .background_caracteristicas {
    background-image: none;
  }
}

.background_localization {
  /* background-image: url(../img/background-localization.jpg); */
  background-size: cover;
  background-position-y: center;
  display: flex;
}

.background_referente {
  background-image: url(../img/background-referente.jpg);
  background-size: cover;
  background-position-y: center;
}

.background_contacto {
  /* background-image: url(../img/background-contacto.jpg);
  background-size: cover;
  background-position-y: center; */
  position: relative;
}

.background_contacto_img_bottom {
  background-image: url(../img/contacto_bottom.png);
  position: absolute;
  bottom: 0;
  margin: 0;
}

.background_smarthome {
  background-image: url(../img/background-smarthome.jpg);
  background-size: cover;
  background-position-y: center;
  position: relative;
}

.smarthome_img_1 {
  position: absolute;
  top: 0;
  right: 35%;
  max-width: 335px;
  rotate: 79deg;
}

.smarthome_img_2 {
  position: absolute;
  top: 31%;
  right: 20%;
  max-width: 375px;
  rotate: 16deg;
}

.gsap_blur_smarthome_tittle {
  filter: blur(10px);
  opacity: 0;
  transition: none;
  will-change: filter, opacity;
}

.background_top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.gsap_blur_smarthome_text {
  filter: blur(10px);
  opacity: 0;
  transition: none;
  will-change: filter, opacity;
}

.smarthome_img_3 {
  position: absolute;
  top: -5%;
  right: 3%;
  max-width: 308px;
  rotate: 9deg;
}

.smarthome_img_4 {
  position: absolute;
  top: 47%;
  right: 38%;
  max-width: 388px;
  rotate: -7deg;
}

.smarthome_img_5 {
  position: absolute;
  top: 29%;
  right: 5%;
  max-width: 339px;
  rotate: -17deg;
}

.typo_small.white {
  font-family: "inter", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 2.8em;
  letter-spacing: -0.02em;
  line-height: 1em;
  color: #000000db;
  margin: 0;
}

.typo_small sup {
  font-size: 27px;
  font-weight: 900;
}

.typo_small.black {
  color: white;
  background-color: black;
}

.typo_big {
  font-size: 3em;
  font-weight: 700;
  line-height: 0.9em;
  letter-spacing: -0.02em;
}

.typo_big.black {
  color: white;
  background-color: black;
  line-height: 1.2em;
}

.grass {
  background-image: url(../img/grass.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position-y: 50%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  padding: 20px;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modal-video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}
