:root {
  --db-size-md: 18px;
  --db-font-base: 18px;
  --db-wrap-m: 10;
  --db-wrap-tb: 10%;
  --db-wrap-d: 15%;
  --db-wrap-hd: 20%;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

@font-face {
  font-family: "High Spirited";
  src: url("./assets/fonts/High-Spirited.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 12px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
  background-color: #8e8e8e;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #c7c7c7;
}

body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.footerblack {
  padding: 6px 20px;
  background-color: #6a1e28;
  color: white;
  z-index: 999;
}

.footerblack a,
.footerblack span,
.footerblack p {
  word-break: inherit;
  white-space: inherit;
}

#prefooter {
  background-color: #79242f;
  color: white;
  box-shadow: 0 6px 30px -12px rgba(0, 0, 0, 0.2);
}

.theme\:whatsapp {
  background-color: #0d9f16;
  border-radius: 2rem;
  height: 30px;
  padding: 0 1rem;
}

.hide {
  display: none !important;
}

.ui\:input,
.ui\:input:focus,
.ui\:input:hover {
  border-radius: 10px;
  border: 2px solid white;
  padding-left: 1rem;
  padding-right: 1rem;
}

.color\:primary {
  color: white;
}

.ui\:input:focus {
  border: 2px solid #4c4c4c;
}

.animate__animated {
  opacity: 0;
}
.animate__animated.load {
  opacity: 1;
}

.theme\:primary {
  background-color: #f6f6f6;
  color: black;
}

/* Popup */
.color-text {
  color: #79242f;
}
/* Popup */

.whatsapp-button {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0; /* Inicialmente oculto */
  transition: opacity 0.3s ease;
}
@media screen and (min-width: 980px) {
  .whatsapp-button {
    bottom: 2rem;
    right: 3rem;
  }
}
.container {
  max-width: 1250px;
  width: 90%;
  margin: auto;
}
.button__principal {
  display: flex;
  padding: 0px 36px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  height: 60px;
  background-color: #79242f;
  border-radius: 100px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;

  line-height: normal;
  transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -ms-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
}
.button__principal:hover {
  background-color: #b81d31;
}
.popup__button {
  width: 100%;
  max-width: 320px;
  padding: 0;
  font-size: 15px;
}
@media screen and (min-width: 395px) {
  .popup__button {
    font-size: 18px;
  }
}
.button__black {
  display: flex;
  padding: 0px 36px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;

  height: 60px;
  background-color: #1a1a1a;
  border-radius: 100px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -ms-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
}
.button__black:hover {
  background-color: #ffffff;
  color: #1a1a1a;
}

.popup__button {
  width: 100%;
  max-width: 320px;
  padding: 0;
  font-size: 15px;
}
@media screen and (min-width: 395px) {
  .popup__button {
    font-size: 18px;
  }
}

/**________________ Nav _________________**/
@media screen and (max-width: 1200px) {
  #menu {
    height: 650px;
    position: absolute;
    width: 100%;
    background: rgb(255, 255, 255);
    left: 0;
    top: 0;
    z-index: 9;
    border-radius: 0 0 25px 25px;
    -webkit-border-radius: 0 0 25px 25px;
    -moz-border-radius: 0 0 25px 25px;
    -ms-border-radius: 0 0 25px 25px;
    -o-border-radius: 0 0 25px 25px;
  }
  .nav__links-container {
    min-height: 300px;
    width: 100%;
    display: flex;
    gap: 50px;
    flex-grow: 1;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
  }
  .nav__links {
    display: flex;
    gap: 43px;
    flex-direction: column;
    align-items: center;
  }
}
.nav {
  width: 100%;
  background-color: #ffffff;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
}
.nav__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 97px;
}
/* .nav__logo-container {
  } */
.logotipo {
  width: 163px;
  height: 73px;
  object-fit: contain;
  position: relative;
  z-index: 999;
  display: flex;
}
.nav__links-container {
  display: none;
}
.nav__links {
  display: flex;
  gap: 43px;
  justify-content: center;
  height: 100%;
}

.nav__links a {
  color: #54565b;
  text-align: center;
  font-size: 18px;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: color 0.3s;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -o-transition: color 0.3s;
}
.nav__links a:hover {
  color: #79242f;
}
.nav__icons {
  display: flex;
  gap: 29px;
}
.nav__icons a {
  display: flex;
}

.nav__menu-mobile {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__menu-mobile img {
  width: 35px;
  height: 35px;
  position: relative;
  z-index: 999;
}
.active {
  color: #5084a3;
}
@media screen and (min-width: 768px) {
}

@media screen and (min-width: 1200px) {
  .nav__links-container {
    display: flex;
    align-items: center;
    gap: 46px;
  }
  .nav__menu-mobile {
    display: none;
  }
  /* .nav__prueba {
      display: flex;
      gap: 36px;
    } */
}
/**________________ Nav _________________**/

#video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
/**________________ Home _________________**/

.home {
  /* background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)),
      url("./assets/images/banner-temporal.jpg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
  
    width: 100%;
    min-height: 783px;
    height: auto; */
}
.home__container {
  min-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.home__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

.home__title {
  color: #fff;
  text-align: center;
  font-size: 25px;
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.home__subtitle {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  max-width: 845px;
}

.home__house {
  position: absolute;
  bottom: 59px;
}

@media screen and (min-width: 390px) {
  .home__title {
    font-size: 31px;
  }
  .home__title-span {
    top: -35%;
    font-size: 76px;
  }
  .home__subtitle {
    font-size: 20px;
  }
}
@media screen and (min-width: 575px) {
  .home__subtitle {
  }
}
@media screen and (min-width: 768px) {
  .home__content {
    gap: 20px;
  }

  .home__title {
    font-size: 46px;
  }
  .home__title-span {
    top: -45%;
    font-size: 97px;
  }
  .home__subtitle {
    font-size: 22px;
  }
}
@media screen and (min-width: 992px) {
  .home__content {
    gap: 31px;
  }
  .home__title {
    font-size: 70px;
  }
  .home__title-span {
    font-size: 127px;
    top: -66%;
  }
  .home__subtitle {
  }
}
/**________________ Home _________________**/
/**________________ desarrollo _________________**/
.desarrollo {
  width: 100%;
  background-color: #64341e;

  /* margin-bottom: -150px; */
}
.desarrollo__content {
  display: flex;
  height: auto;
  justify-content: space-between;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 50px 0;
  gap: 50px;
}

.desarrollo__image {
  max-width: 399px;
  width: 70%;
}
.desarrollo__text {
  max-width: 503px;
  width: 100%;
  gap: 36px;
  display: flex;
  flex-direction: column;
}
.desarrollo__text p {
  font-size: 18px;
  font-family: Montserrat;
  color: #ffffff;
  font-weight: 500;
}
.desarrollo__text span {
  font-weight: 500;
  color: #ffffff;
}

@media screen and (min-width: 768px) {
  .desarrollo__text p {
    font-size: 22px;
  }
}
@media screen and (min-width: 992px) {
  .desarrollo__content {
    flex-direction: row;
    min-height: 460px;
    padding: 0;
  }
  .desarrollo__text {
    max-width: 434px;
  }
}
@media screen and (min-width: 1200px) {
  .desarrollo__text {
    max-width: 570px;
  }
}

/**________________ desarrollo _________________**/
/**________________ House _________________**/
.main__modelos {
  background: #79242f;
}
.main__paragraph {
  color: #ffffffbf;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  line-height: 17.07px;
  text-align: center;
}
.modelos {
  position: relative;
  min-height: 850px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.house {
  display: none;
}
.house img {
  object-fit: contain;
  max-width: 452px;
  width: 100%;
}
.active {
  display: block;

  animation: slideIn 0.5s forwards;
}
.active.prev {
  animation: slideOut 0.5s forwards;
  -webkit-animation: slideOut 0.5s forwards;
}
.house__modelo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.house__content {
  max-width: 532px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.house__title {
  color: #ffffff;
  font-family: "High Spirited";
  font-size: 120px;
  font-weight: 400;
  line-height: 153.05px;
  text-align: center;
}
.house__texts {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.house__paragraph {
  color: #ffffff;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 400;
  line-height: 26.82px;
}
.house__paragraph span {
  font-weight: 700;
}
.house__meter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.house__construccion {
  display: flex;
  gap: 20px;
}
.house__construccion h3 {
  color: #ffffff;
  font-family: Poppins;
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  display: flex;
  align-items: center;
}
.arrow-mobile__container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.arrow-left-mobile {
  cursor: pointer;
  background: white;
  border-radius: 50%;
  padding: 20px;
  display: flex;
}
.arrow-right-mobile {
  cursor: pointer;
  background: white;
  border-radius: 50%;
  padding: 20px;
  display: flex;
}
.house__buttons {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.house__button {
  color: #ffffff;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  display: inline-flex;
  background: none;
  border: 1px solid #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  justify-content: center;
}
.house__button--black {
  border: 1px solid #1a1a1a;
  background-color: #1a1a1a;
}
@media screen and (min-width: 768px) {
  .house__paragraph {
    font-size: 22px;
  }
  .house {
    padding: 0 50px;
  }
  .modelos {
    padding: 0 20px;
  }
  .arrow-left {
    cursor: pointer;
    background: white;
    border-radius: 50%;
    padding: 20px;
    display: flex;
  }

  .arrow-right {
    cursor: pointer;
    background: white;
    border-radius: 50%;
    padding: 20px;
    display: flex;
  }
  .arrow-mobile__container {
    display: none;
  }
}
@media screen and (min-width: 1200px) {
  .house__modelo {
    flex-direction: row;
    align-items: initial;
  }
  .house__buttons {
    flex-direction: row;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  from {
    transform: translateX(-100%);
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/**________________ House _________________**/
/**________________ ubicacion _________________**/
svg {
  background: #79242f;
}
.ubicacion {
  width: 100%;
  background-color: #3a3a3a;
}
.ubicacion__content {
  padding-bottom: 150px;
}
.ubicacion__title {
  color: #ffffff;
  font-family: Montserrat;
  font-size: 5vw;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}
.ubicacion__title span {
  color: #ffffff;
  font-family: "High Spirited";
  font-size: 8vw;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
  text-transform: capitalize;
}
.ubicacion__mapa {
  display: flex;
  justify-content: center;
}

.ubicacion__mapa img {
  width: 100%;
  max-width: 1122px;
}
@media screen and (min-width: 768px) {
  .ubicacion__title span {
    line-height: 80px;
  }
}

@media screen and (min-width: 1400px) {
  .ubicacion__title {
    font-size: 60px;
  }
  .ubicacion__title span {
    font-size: 120px;
    line-height: 153.05px;
  }
}
/**________________ ubicacion _________________**/
/**________________ Convivencia _________________**/
.convivencia {
  width: 100%;
  background-color: #ffffff;
}

.convivencia__convive {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.convivencia__convive img {
  width: 250px;
}
.convivencia__paragraph {
  max-width: 600px;
  width: 100%;
  color: #686868;
  font-size: 18px;
  font-family: Poppins;
  font-weight: 400;
  line-height: 25px;
}

@media screen and (min-width: 768px) {
  .convivencia__paragraph {
    font-size: 22px;
  }
  .convivencia__convive {
    padding-top: 50px;
    gap: 30px;
  }
  .convivencia__convive img {
    width: initial;
  }
}
@media screen and (min-width: 992px) {
  .convivencia__convive {
    flex-direction: row;
    gap: 74px;
  }
  .convivencia__convive img {
    width: initial;
  }
}
@media screen and (min-width: 1200px) {
  .convivencia__content {
    padding: 152px 0 82px;
  }
}
@media screen and (min-width: 1400px) {
  .convivencia__convive {
    padding: 100px 60px 0;
  }
}

/**________________ Convivencia _________________**/
/**________________ amenidades _________________**/
.amenidades {
  width: 100%;
  background: rgb(255, 255, 255);

  background: linear-gradient(177deg, rgb(255 255 255), rgb(255, 255, 255)),
    url(/wp-content/themes/themaurea/assets/images/fondo-amenidades.jpg);
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}
.amenidades__content {
  min-height: 546px;
  height: auto;
  padding-top: 100px;
}
/* .amenidades svg {
    position: absolute;
  } */
.amenidades__title {
  color: #1a1a1a;
  text-align: center;
  font-size: 7vw;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  line-height: 78.05px;
  margin: auto;
  width: 100%;
}
.amenidades__icons {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 61px;
  margin-top: 87px;
}
.amenidades__icon {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.amenidades__icon h3 {
  color: #072637;
  text-align: center;
  font-size: 22px;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.amenidades__paragraph {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  line-height: 111.5%;
  margin-top: 110px;
}

.amenidades__galeria {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding-top: 80px;
}
.imagen {
  margin: auto;
}
/* .imagen__img {
    height: 244px
  } */
.imagen img {
  object-fit: cover;
  max-width: 500px;
  width: 100%;
}

.galeria {
  background: white;
}
@media screen and (min-width: 390px) {
  .amenidades__title {
    font-size: 25px;
    max-width: 365px;
  }
}
@media screen and (min-width: 575px) {
  .amenidades__title {
    font-size: 30px;
  }
  .amenidades__icons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .amenidades__title {
    font-size: 40px;
    max-width: 560px;
  }
  .amenidades__icons {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .amenidades__icons {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (min-width: 992px) {
  .amenidades__galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 35px;
  }
  .amenidades__imagen1 {
    width: 522px;
    height: 523px;
  }
  .imagen:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .imagen {
    margin: 0;
  }
  .imagen img {
    max-width: initial;
    width: 100%;
  }
  .amenidades__imagen1 {
    height: 523px;
  }
  .imagen:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
  .imagen:nth-child(3) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
  }
  .imagen:nth-child(4) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
  .imagen:nth-child(5) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
  }
  .imagen {
    display: flex;
  }
}
@media screen and (min-width: 1200px) {
  .amenidades__title {
    font-size: 60px;
    max-width: 700px;
  }
}
.amenidades-container__button {
  display: flex;
  justify-content: center;
  padding: 60px 0 100px;
}
.amenidades__button {
  display: inline-flex;
  height: 60px;
  padding: 0px 36px;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  border-radius: 100px;
  background: #7d8036;
  color: #fff;
  cursor: pointer;
}
/**________________ amenidades _________________**/
/**________________ Mapa _________________**/

.map {
  width: 100%;
  background-color: #ffffff;
}
.map__content {
  height: auto;
  display: flex;
  padding: 0 0 89px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.map__title {
  color: #433c49;
  font-size: 9vw;
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  line-height: 111.5%;
  margin: 41px 0;
}
.map__content iframe {
  width: 100%;
  margin: auto;
  border-radius: 25px;
  box-shadow: 0px 10px 20px -5px rgba(0, 0, 0, 0.15);
}
.map__button {
  padding: 10px 2rem;
  border: 2px solid white;
  color: white;
  background-color: transparent;
  border-radius: 2rem;
}

.map__button:hover {
  background-color: white;
  color: #5b8ba6;
}
@media screen and (min-width: 768px) {
  .map__title {
    font-size: 60px;
  }
}
@media screen and (min-width: 1200px) {
  .map__title {
    font-size: 70px;
  }
}

/**________________ Mapa _________________**/

/**________________ Form _________________**/
.ui\:input,
.ui\:input:focus,
.ui\:input:hover {
  background: white;
}
.form__image {
  padding-top: 50px;
  display: flex;
  justify-content: center;
}
.form__image img {
  width: 90%;
  max-width: 279px;
}
.form__button {
  color: #ffffff;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  display: inline-flex;
  background: none;
  border: solid #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
}
.form__title {
  color: #ffffff;
  font-family: Montserrat;
  font-size: 8vw;
  font-weight: 800;
}

@media screen and (min-width: 575px) {
  .form__title {
    font-size: 50px;
  }
  .form__image img {
    width: 100%;
  }
}
/**________________ Form _________________**/

.aviso-nom247 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 400ms ease-in-out;
  padding: 2rem;
}

.aviso-nom247.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}

.aviso-nom247__content {
  background-color: #fff;
  border-radius: 20px;
  z-index: 999991;
  box-shadow: 0 6px 40px -16px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 500px;
  padding: 2rem;
}

.link-contacto {
  background-color: #79242f;
  border-radius: 2rem;
  padding: 6px 12px;
  color: white;
}

/* gallery */
#uiGallery {
  display: grid;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);

  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;

  top: 0;
  left: 0;

  opacity: 0;
  pointer-events: none;
  transform: scale(0);
  transition: all 200ms linear;
}

#uiGallery.show {
  pointer-events: all;
  transform: scale(1);
  opacity: 1;
}

#uiGallery .content {
  width: 100vw;
  height: 100vh;
}

#uiGallery img:not(.icon) {
  object-fit: contain;
  width: 95%;
  height: 95%;
  border-radius: 20px;
  user-select: none;
}

#uiGallery picture {
  width: 100%;
  height: calc(100% - 60px);
}

#uiGallery p {
  margin: 0;
  color: white;
}

#uiGallery .buttonClose {
  cursor: pointer;
}

#uiGallery .galleryGrid {
  display: grid;
  width: 100%;

  grid-template-columns: 50px 1fr 50px;
  grid-template-rows: 90vh;
  align-items: center;
}

#uiGallery .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-content: center;

  width: 60px;
  min-width: 60px;
  height: 60px;
  min-height: 60px;
  cursor: pointer;
  z-index: 5;
  user-select: none;
}

#uiGallery .btn * {
  pointer-events: none;
}

#uiGallery [fix] {
  height: 100%;
}

#uiGallery .gallery-slider {
  transition: all 400ms ease-out;
}

#uiGallery .gallery-slider img {
  transition: all 400ms ease;
  cursor: zoom-in;
}

#uiGallery picture {
  opacity: 0.2;
  transform: scale(0.7);
  transition: all 200ms ease-out;
  user-select: none;
  overflow: hidden;
}

#uiGallery picture.active {
  opacity: 1;
  transform: scale(1);
  transition: all 200ms ease-in;
}
@media screen and (min-width: 992px) {
  #uiGallery .galleryGrid {
    padding: 0 60px;
  }
}

/* modal */

#modal {
  display: grid;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);

  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;

  opacity: 0;
  pointer-events: none;
  transform: scale(0);
  transition: all 200ms linear;
}

#modal.show {
  pointer-events: all;
  transform: scale(1);
  opacity: 1;
}

#modal .content {
  width: 100vw;
  height: 100vh;
}

#modal img:not(.icon) {
  object-fit: contain;
  width: 95%;
  height: 95%;
  border-radius: 20px;
}

#modal picture {
  width: 100%;
  height: calc(100% - 60px);
  overflow: auto;
}

#modal picture img {
  transition: all 400ms ease;
  cursor: zoom-in;
}

#modal picture::-webkit-scrollbar {
  display: none;
}

#modal picture img:hover {
  transform: scale(2);
  transition: all 200ms ease-out;
}

#modal p {
  margin: 0;
  color: white;
}

#modal .buttonClose {
  cursor: pointer;
}
