@font-face {
    font-family: 'Montserrat Thin';
    src: url('../../fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Display Fair';
    src: url('../../fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat Thin';
}

.Loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #8DA7BE;
    z-index: 800000;
}

.Loading p {
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

body::-webkit-scrollbar {
    width: 5px;
    /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: white;
    /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: #455869;
    /* color of the scroll thumb */
    border-radius: 5px;
    /* roundness of the scroll thumb */
    border: 1px solid #455869;
    /* creates padding around scroll thumb */
}

.Container-Header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.Container-Header::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(to top, rgb(255, 255, 255), rgba(141, 167, 190, 0)) !important;
    z-index: 999;
}

.Container-Header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.Line-Into {
    width: 50px;
    height: 3px;
    background: white;
    transform: rotate(90deg)
}

.Container-Header-Text {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    position: absolute;
    color: white;
    width: 50%;
    top: 60%;
    left: 20px;
}

.Container-Header-Text h1 {
    text-align: center;
    font-size: 65px;
    font-weight: 500;
}

.Container-Header-Text h1 span {
    font-family: 'Display Fair';
    font-size: 60px;
    font-weight: 100;
}

.WD-Title-Img__Container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.WD-Title-Img__Container h2 {
    font-family: 'Display Fair';
}

.WD-Title-Img__Container h3 {
    width: 100%;
    font-size: 25px;
    font-family: 'Montserrat Thin';
    font-weight: 500;
}

.Container-Header-Text .Line-Into {
    margin-top: 30px;
    margin-bottom: 30px;
}

.Container-Header-Text button {
    width: 170px;
    height: 60px;
    border-radius: 35px;
    padding: 5px;
    background: transparent;
    border: 2px solid white;
    transition: all ease-in-out .2s;
    cursor: pointer;
}

.Container-Header-Text button div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    background:  #8DA7BE;
    text-transform: uppercase;
    font-weight: 600;
    color: white;
    transition: all ease-in-out .2s;
}

.Container-Header-Text button:hover {
    padding: 8px;
    > div {
        background: white;
        color: #8DA7BE;
    }
}

.Container-Links-A {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
    width: 40px;
    background: #8DA7BE;
    box-shadow: 3px 2px 2px 2px rgb(0, 0, 0, .5);
    border-radius: 20px;
    position: fixed;
    top: calc(100% / 3.5);
    right: 0;
    z-index: 99000;
}

.Container-Links-A ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.Container-Links-A ul li {
    list-style: none;
}

.Container-Links-A ul li a {
    width: 26px;
    height: 26px;
    color: white;
    transition: all ease-in-out .1s;
}

.Container-Links-A ul li a svg {
    width: 20px;
    height: 20px;
    transition: all ease-in-out .1s;
}

.Container-Links-A ul li a:hover {
    > svg {
        width: 23px;
        height: 23px;
    }
}


.Main-Maint {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.Main-Maint img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Shadow-Back {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgb(69, 88, 105, .4);
}

.Shadow-Back p {
    text-align: center;
    color: white;
    font-size: 25px;
}

.Shadow-Back p span {
    font-family: 'Display Fair';
}

.Shadow-Back a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 85px;
    border-radius: 45px;
    box-shadow: 5px 2px 2px 2px rgb(0, 0, 0, .1);
    background: #9ED7F5;
    text-decoration: none;
    padding: 12px;
    border: none;
    transition: all ease-in-out .2s;
    cursor: pointer;
}

.Shadow-Back a div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 90%;
    background: white;
    color: #8DA7BE;
    font-weight: 600;
    border-radius: 22px;
    text-transform: uppercase;
    transition: all ease-in-out .2s;
}

.Shadow-Back a .Content-A:hover {
    border-radius: 45px;
    width: 100%;
    height: 100%;
    background: #9ED7F5;
    color: white;
}

.Container-Header-Text h1 {
    font-family: 'Display Fair';
}

.Container-Header-Text p  {
    font-size: 40px;
}

.Container-Header-Text p span {
    font-family: 'Display Fair';
}


/*
GALLERY SECTION
*/

/* Estilos del carrousel */
.Gallery-Section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.Slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: auto;
    height: 300px;
    position: relative;
    background-color: rgba(47, 89, 112, 0.5);
    box-shadow: 5px 2px 2px 2px rgb(0, 0, 0, .05);
    border-radius: 10px;
    transition: all ease-in-out .2s;
    cursor: pointer;
    overflow: hidden;
}

.Slide:hover {
    background-color: rgba(47, 89, 112, 0.7);
    box-shadow: 5px 4px 4px 4px rgb(158, 215, 245, .2);
}

.Slide-Title {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    padding: 10px;
}

.Slide-Title h3 {
    color: white;
    font-family: 'Display Fair';
}

.Slide-Content-Carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: auto;
    overflow: hidden;
    transition: transform 1s ease-in-out;
}

.Carousel-Container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.Item-Img {
    width: 100%; /* Ajusta el ancho del contenedor al 100% */
}

.Item-Img img {
    width: 300px; /* Ajusta el ancho de la imagen al 100% del contenedor */
    height: auto; /* Ajusta la altura de la imagen automáticamente */
    object-fit: cover; /* Ajusta el tamaño de la imagen para cubrir completamente el contenedor */
}




/* Estilos del modal */
.modal-popup__container {
    max-width: 90%; /* Ajusta este valor según tus necesidades */
    max-height: 90vh; /* Limita la altura del modal para evitar que se desborde */
    overflow: auto; /* Agrega barra de desplazamiento si el contenido es más grande que el modal */
}

.container-img-popup img {
    max-width: 100%; /* Hace que las imágenes del modal se ajusten al ancho del contenedor */
    height: auto; /* Ajusta la altura de las imágenes automáticamente */
}

.container-img-popup {
    display: flex;
    align-items: center;
}

/* Botón de cierre del modal */
.btn-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    border: none;
    cursor: pointer;
}

.btn-modal svg {
    width: 20px;
    height: 20px;
}

/* Estilos del contenedor del carrusel */
.GS-Carousel_Container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Cambia el tamaño mínimo y máximo de las columnas según tus necesidades */
    width: 100%;
    justify-items: center;
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}


/*
  MODAL GALERY
  */

  .modal-popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, .9);
    z-index: 55000000;
    transition: all ease-in-out 0.1s;   
    animation: fadeIn 0.1s ease-in-out; 
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-popup__container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
}

.Title-Popup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30px;
    color: white;
}

.Title-Popup h4 {
    font-size: 30px;
    font-family: 'Display Fair';
}

.container-img-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.Carousel {
    display: flex;
}

.Carousel img {
    max-width: 100%;
    max-height: 100%;
    width: 500px;
    height: auto;
    object-fit: contain;
}

.Prev-Btn, .Next-Btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: #1c465d;
    color: #1c465d;
    cursor: pointer;
}

.Next-Btn:disabled {
    cursor: none;
}

.Prev-Btn svg, .Next-Btn svg {
    width: 30px;
    height: 30px;
}

.Prev-Btn {
    position: absolute;
    top: 50%;
    left: 15%;
}

.Next-Btn {
    position: absolute;
    top: 50%;
    right: 15%;
}

.Second-Img-Text-Img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    height: 100%;
}

.Second-Img-Text-Img__Images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50%;
    gap: 10px;
}

.Second-Img-Text-Img__Images img {
    width: 50%;
    height: auto;
}

.Second-Img-Text-Img__TextTitle {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    color: white;
    width: 100%;
    height: 50%;
}

.modal-popup__container .btn-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(168, 30, 30);
    color: white;
    position: absolute;
    top: 20px;
    right: 30px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgb(168, 30, 30);
    cursor: pointer;
} 

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.prev {
    cursor: pointer;
    left: -36px;
}

.next {
    cursor: pointer;
    right: -36px;
}

.prev svg {
    color: #c1a270;
}

.next svg {
    color: #c1a270;
}

.Carrousel-Section__Container {
    transition: transform ease-in-out 0.2s;
}

.Carrousel-Section {
    transition: transform ease-in-out 0.2s;
}


/*
CONTACT SECTION
*/

.Contact-Dermaestetic-Section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.CCDS-Container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    margin-top: 50px;
}

.Map-Shape {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 99000;
}

.Map-Shape:hover {
    background: rgb(158, 215, 245, .2);
}

.Map-Map-Code, .Form-Content {
    width: 50%;
}

.Map-Map-Code__Container {
    position: relative;
    width: 100%;
    height: 600px;
}

.Form-Content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Form-Content__Container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 600px;
    padding-left: 20px;
    padding-right: 20px;
}

.Form-Content__Container h2 {
    color: #9ED7F5;
    font-size: 45px;
}

.Form-Content__Container h2 span {
    font-family: 'Display Fair';
}

.Form-Content__Container form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.FORM-Container {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    width: 100%;
}

.FORM-Container input {
    width: 100%;
    height: 35px;
    padding-left: 10px;
    border: 1px solid #8DA7BE;
    border-radius: 8px;
    outline: #9ED7F5;
    background: rgb(158, 215, 245, .2);
    backdrop-filter: blur(7px);
}

.FORM-Container input::placeholder {
    color: #8DA7BE;
}

.FORM-Container textarea {
    width: 100%;
    padding-left: 10px;
    padding-top: 10px;
    border: 1px solid #8DA7BE;
    border-radius: 8px;
    outline: #1c465d;
    background: rgb(158, 215, 245, .2);
    backdrop-filter: blur(7px);
}

.FORM-Container textarea::placeholder {
    color: #8DA7BE;
}

.FORM-Container label {
    margin-top: 10px;
}

.FORM-Container button {
    position: relative;
    width: 120px;
    height: 50px;
    border: 2px solid #9ED7F5;
    border-radius: 25px;
    margin-top: 20px;
    background: white;
    text-transform: uppercase;
    color: #8DA7BE;
    transition: all ease-in-out .1s;
    cursor: pointer;
    z-index: 999;
}

.FORM-Container button::before {
    content: "";
    width: 120px;
    height: 50px;
    border-radius: 25px;
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 0;
    transition: all ease-in-out .1s;
}

.FORM-Container button:hover::before {
    background: transparent;
    border: 1px solid #9ED7F5;
}

.FORM-Container button:hover {
    border: none;
    background: #9ED7F5;
    color: white;
}

.navigation-dots {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 0;
    margin-top: 10px;
}


.dot {
    width: 10px;
    height: 10px;
    background-color: #9ED7F5;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #455869;
}







@media (max-width: 768px) { /* Ajusta los estilos para dispositivos más pequeños */
    .GS-Carousel_Container {
        grid-template-columns: repeat(auto-fill, minmax(calc(100% / 2), 1fr)); /* Cambia el tamaño mínimo y máximo de las columnas para dispositivos más pequeños */
    }

    .Gallery-Section {
        height: auto;
        gap: 0;
    }

    .Slide-Title h3 {
        font-size: 15px;
    }

    .Title-Popup h4 {
        font-size: 22px;
    }

    .Slide {
        width: auto;
        height: auto;
    }

    .modal-popup__container .btn-modal {
        right: 0;
    }

    .container-img-popup {
        height: 63%;
    }

    .Next-Btn {
        right: 6px;
    }

    .Prev-Btn {
        left: 6px;
    }

    .Prev-Btn, .Next-Btn {
        width: 40px;
        height: 40px;
    }

    .CCDS-Container {
        flex-direction: column-reverse;
    }

    .Map-Map-Code, .Form-Content {
        width: 100%;
    }

    .Map-Map-Code__Container {
        width: 100%;
        height: 351px;
    }

    .Form-Content__Container {
        height: auto;
        padding-bottom: 50px;
    }
    
    
}
