@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Gloock&family=Ultra&display=swap');
@font-face {
  font-family: 'ClashDisplay';
  src: url('src/fonts/ClashDisplay-Semibold.woff2') format('woff2'),
       url('src/fonts/ClashDisplay-Semibold.woff') format('woff'),
       url('src/fonts/ClashDisplay-Semibold.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Telma';
  src: url('src/fonts/Telma-Medium.woff2') format('woff2'),
       url('src/fonts/Telma-Medium.woff') format('woff'),
       url('src/fonts/Telma-Medium.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

button{
    text-decoration: none;
    outline: none;
    transition: all 0.3s ease; 
    background: none;
}

button:hover{
    transform: scale(1.02);
}
button:focus{
    transform: scale(1.02);
}

a{
    text-decoration: none;
    outline: none;
    transition: all 0.3s ease; 
}

a:hover{
    transform: scale(1.01);
}
a:focus{
    transform: scale(1.01);
}
body{
    font-family: "DM Sans", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #29025a;
    background:
    /* Esquina superior izquierda: gradiente azul */
    radial-gradient(circle at 0% 0%, #003064 0%, transparent 60%),
    /* Esquina superior derecha: gradiente rojo */
    radial-gradient(circle at 100% 0%, #002fca 0%, transparent 60%),
    /* Esquina inferior izquierda: gradiente verde (ejemplo) */
    linear-gradient(to top, #250047, transparent) 0% 100% / 100% 70% no-repeat,
    #29025a; /* Blanco o cualquier color base */
    background-repeat: no-repeat;
    color: #ffffffcb;
}

h1{
    font-family: "Telma", sans-serif;
    font-weight: normal;
    font-size: 10px;
    font-size: calc(5vw + 2rem);
}

h2{
    font-family: "ClashDisplay", sans-serif;
    font-weight: normal;
    font-size: 2em;
    font-size: calc(5vw + 1rem);

}

h3{
    font-family: "ClashDisplay", sans-serif;
    font-size: calc(3vw + 1rem);
}

h6{
    font-family: "ClashDisplay", sans-serif;
    font-weight: 800;
    font-size: 1.5em;
}

p{
    font-size: 16px;
}

b{
    font-family: "ClashDisplay", sans-serif;
}


.gradient-text {
    background: linear-gradient(45deg, #b6deffe7, #ffffffcb, #eec2ffd7, #ffffff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

/*Barra de Navegación*/

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(5px);
    padding: 16px;
    padding-left: 48px;
    padding-right: 48px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 72px;
    color: white;
    z-index: 2000; 

    .logo{
        img{
            width: 100px;
            height: auto;
            opacity: 0.8;
        }
    }

    .buttons{
        display: flex;
        flex-direction: row-reverse;
        .nav-button{
            margin: 12px;
            margin-top: 0;
            margin-bottom: 0;
            background: none;
            color: #ffffff;
            border: none;
            opacity: 0.8;

            a{
                display: block;
                width: 100%;
                height: 100%;
            }

            .bx{
                color: #ffffff;
                font-size: calc(1vw + 1rem);
            }

            h6{
                display: none;
                color: #ffffff;
                margin-top: -8px;
                font-size: calc(0.5vw + 0.5rem);
            }
        }

        .nav-button:hover{
            opacity: 0.9;
            h6{
                display: block;
                background: linear-gradient(45deg, #b6deffe7, #ffffffcb, #eec2ffd7, #ffffff);
                background-size: 400% 400%;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                animation: gradientShift 8s ease-in-out infinite;
            }

            .bx{
                background: linear-gradient(45deg, #b6deffe7, #ffffffcb, #eec2ffd7, #ffffff);
                background-size: 400% 400%;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                animation: gradientShift 8s ease-in-out infinite;
            }
        }
    }
}

main{
    box-sizing: border-box;
    width: 100%;    
}


.blur {
    width: 400px;
    height: auto;
    filter: blur(5px);
    transition: filter 0.3s ease;
}


header{
    justify-content: left;
    background-repeat: no-repeat; 
    width: 100%;
    height: 800px;
    padding-top: 48px;

    h1{
        margin-top: -64px;
        font-style: normal;
        font-size: calc(8vw + 1rem);
        width: 101%;
    }
    h2{
        margin-top: -20px;
        font-style: normal;
        font-size: calc(6vw + 1rem);
    }
    h3{
        font-size: calc(2vw + 1rem);
    }
    h4{
        font-size: calc(0.8vw + 0.8rem);
    }

    h5{
        font-weight: 400;
        font-size: 10px;
    }

    h6{
        font-weight: 400;
        font-size: 20px;
        color: #dfdfdf;
    }
}

    .hero{
        padding: 64px;
        padding-bottom: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;



        div{
            display: flex;
            flex-direction: row;
            justify-content: space-between;

            .hero-img{
                width: 120px;
                height: 120px;
                margin-bottom: 24px;
                opacity: 0.8;
            }
        }
        div:last-of-type{
            div{
                margin-top: -42px;
                display: flex;
                flex-direction: row;
                justify-content: left;
            }
        }
    }


header::before {
    content: ""; /* Elemento vacío para la capa */
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(52vw + 2.5rem);
    background-image: url('src/imme.jpg'); 
    background-size: 100%;
    background-position: right;
    background-repeat: no-repeat;
    filter: blur(3px); 
    opacity: 0.5; /* Cambia este valor: 0 (transparente) a 1 (opaco) */
    z-index: -1; /* Envía la imagen detrás del contenido */
}

/*Servicios-Preview*/
.novedades-title{
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
}
.novedades{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 48px;
    padding-top: 0;
    box-sizing: border-box;
}

    .card{
        cursor: pointer;
        border: solid 2px #ffffffa2;
        color: #ffffffd8;
        background: none;
        backdrop-filter: blur(5px);
        width: 24%;
        height: 264px;
        border-radius: 12px;
        opacity: 0;
        transform: translateY(30px); 
        transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Transición suave */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        padding: 16px;
        padding-left: 24px;
        padding-right: 24px;
        .card-title{
            width: 100%;
        }

        h1{
            font-family: "ClashDisplay", sans-serif;
            font-size: calc(1.5vw + 0.2rem);
            width: 90%;
            margin: 0;
            opacity: 0.9;
            line-height: 0.8;
        }

        h2{
            font-family: "ClashDisplay", sans-serif;
            font-size: calc(1vw + 0.3rem);
            margin: 0;
            opacity: 0.9;
        }

        h3{
            display: none;
        }
        h6{
            font-weight: 400;
            font-size: calc(0.9vw + 0.2rem);
            font-family: "DM Sans", sans-serif;
        }

        p{
            width: 100%;
            margin-top: 10px;
            margin-bottom: 10px;
            font-size: calc(0.8vw + 0.2rem);
            opacity: 0.8;
        }

        .mt-{
            margin-top: -10px;
        }
    }

    .card.visible {
        opacity: 1;
        transform: translateY(0); /* Aparecen en posición */
    }

    .card:hover{
        transform: scale(1.05);

        .bx-caret-down{
            display: none;
        }

        h3{
            font-size: calc(1vw + 0.2rem);
            display: block;
        }
    }

    
    .card:focus{
        transform: scale(1.05);

        .bx-caret-down{
            display: none;
        }

        h3{
            font-size: calc(1vw + 0.2rem);
            display: block;
        }
    }


/**/

/*Novedades*/

#conferencias, #usuarios{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px;
    padding-top: 10vw;
    .conference-card{
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 24px;
        border: solid 2px #ffffff00;
        border-radius: 12px;
    }
    #background-ig{
        overflow: hidden;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* No interfiere con clics */
        z-index: -1; /* Detrás del contenido */
    }
    .particle {
        position: absolute;
        opacity: 0.5;
        animation: fall 10s linear infinite; /* Animación de caída */
    }

    h1{
        width: 101%;
        text-align: center;
    }
    

    h2{
        width: 100%;
        height: fit-content;
        display: flex;
        margin-bottom: -64px;
        align-items: center;
        justify-content: center;
        img{
            width: 120px;
            height: 120px;
            opacity:0.8
        }
    }

    h4{
        margin-top: 0;
        margin-bottom: 24px;
        text-align: center;
        font-size: 1.5rem;
        line-height: 0.8;
        b{
            font-family: "Telma", sans-serif;
        }
    }

    p{
        margin-top: 10px;
        font-size: 1rem;
        text-align: center;

        b{
            font-size: 1.2rem;
        }
    }

}

.img-conf{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

/**/

/*Laboratorios*/

#laboratorios {
    position: relative; 
    width: 100%;
    height: 420px;
    overflow: hidden; 
}

.laboratorios {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    display: none;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-repeat: no-repeat;
    padding: 0;
    opacity: 0; 
    transition: opacity 0.5s ease;

    .hero{
        padding: 64px;
        .head{
            display: flex;
            flex-direction: row;
            align-items: center;

            .title{
            display: flex;
            flex-direction: column;

                h1{
                    width: 101%;
                    margin-top: 4px;
                    line-height: 0.8;
                }
                h2{
                    font-size: calc(2vw + 1rem);
                }

            }
            .icon{
                margin-right: 20px;
                .bx{
                    font-size: calc(12vw + 1rem);
                }
            }
        }
        .buttons{
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            button{
                height: fit-content;
                width: 40%;
            }
        }
    }
}

.laboratorios.active {
    display: flex;
    opacity: 1; 
}

.especiales::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%; /* Cambié a 100% para coincidir */
    background-image: url('src/especiales.jpg');
    background-size: cover; 
    background-position: right;
    background-repeat: no-repeat;
    filter: blur(5px);
    opacity: 0.5;
    z-index: -1;
}

.fisicos::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('src/fisicos.jpg');
    background-size: cover; 
    background-position: right;
    background-repeat: no-repeat;
    filter: blur(5px);
    opacity: 0.5;
    z-index: -1;
}

.bx-caret-left, .bx-caret-right {
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.bx-caret-left {
    left: 10px;
}

.bx-caret-right {
    right: 10px;
}
/**/

/*Servicios*/

#servicios{
    position: relative;
    padding: 86px;
    height: fit-content;

    #background-serv{
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* No interfiere con clics */
        z-index: -1; /* Detrás del contenido */
    }
    .particle {
        position: absolute;
        opacity: 0.2;
        animation: fallExtended 20s linear infinite; /* Animación de caída */
    }
    h2{
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
    p{
        margin-top: 32px;
        text-align: center;
    }
    b{
        font-size: 1.5rem;
    }

    .cards-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columnas de igual ancho */
        gap: 20px; /* Espacio entre cards (opcional) */
        .card{
            cursor: pointer;
            backdrop-filter: blur(10px);
            width: 100%;
            height: 120px;
            justify-content: center;

            .card-title{
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;

                div:nth-child(1) {
                width: 40%;
                }
                div:nth-child(2) {
                width: 60%;
                }
            }
            h1{
                font-size: calc(1.5vw + 0.5rem);
                text-align: left;
            }
            h2{
                text-align: left;
                margin-bottom: 0;
            }
            p{
                width: 100%;
                text-align: right;
                font-size: calc(0.8vw + 0.1rem);
                margin: 0;
            }
            .mt-{
                margin-top: -8px;
            }
        }
    }

}
.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border: 2px solid #ffffffa2;
    border-radius: 16px;
    color: #ffffff;
    font-family: "ClashDisplay", sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: blur(5px);
}

.btn-whatsapp:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: scale(1.05);
    border-color: #ffffff;
}

.btn-whatsapp .bx {
    margin-left: 10px;
    font-size: 1.8rem;
}


/**/

/*Historia*/

#historia{
    padding: 64px;

    h2{
        margin-bottom: 10px;
    }

    p{
        margin-bottom: 24px;
    }

    b{
        font-size: 1.5rem;
    }

    .t-img{
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        .p{
            width: 65%;
            img{
                display: none;
            }
        }
        img{
            width: 30%;
            opacity: 0.8;
        }
    }
}
/**/

/*Footer*/

footer{
    padding-top: 36px;
    padding-bottom: 36px;
    background: linear-gradient(to top, #120025, transparent) 0% 100% / 100% 125% no-repeat;
    text-align: center;
}

#footer{
    display: flex;
    justify-content: space-between;
    padding: 64px;
    opacity: 0.9;

    .left{
        opacity: 0.8;
        width: 25%;
        margin-top: 48px;
        padding-top: 36px;
        border-top: solid 2px #ffffffe1;
        display: flex;
        flex-direction: column;
        align-items: right;
        text-align: right;
        .logos{
            display: flex;
            justify-content: right;
        }
        img{
            width: calc(5vw + 2rem);
            height: auto;
        }
        h3{
            font-size: calc(1vw + 0.2rem);
        }
        h4{
            font-size: calc(1vw + 0.1rem);
            margin-top: -4px;
        }
    }
    .center{
        opacity: 0.8;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 40%;
        img{
            width: calc(8vw + 5rem);
            height: auto;
        }
        .bx{
            font-size: calc(1vw + 0.2rem);
        }
        h4{
            font-size: calc(1vw + 0.5rem);
            font-family: "ClashDisplay", sans-serif;
        }
        h6{
            margin-top: 36px;
            font-size: calc(1vw + 0.1rem);
            a{
                opacity: 1;
                display: flex;
                align-items: center;
                text-decoration: none;
                color: #ffffff;
                font-family: "ClashDisplay", sans-serif;
                img{
                    margin-left: 8px;
                    width: calc(1vw + 1rem);
                }
            }
        }

    }
    .right{
        opacity: 0.8;
        width: 25%;
        margin-top: 48px;
        padding-top: 36px;
        border-top: solid 2px #ffffffe1;
        text-align: left;
        img{
            width: calc(1vw + 1rem);
            height: auto;
        }
        .logos{
            display: flex;
            align-items: center;
        }
        .contacto{
            display: flex;
        }
        h3{
            font-size: calc(3vw + 0.5rem);
        }
        h6{
            font-size: calc(1vw + 0.2rem);
            margin-top: -4px;
        }
    }
}
/**/

/*Modals*/
.modal{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal.show {
    display: block;
  }
  
  .modal-content {
    background: none;
    border: solid 2px #ffffffa2;
    backdrop-filter: blur(10px);
    border-radius: 1em;
    transition: 0.2s ease-in-out;
    padding: 2em;
    box-sizing: border-box;
    position: relative;
    margin: 40px auto;
    padding: 48px;
    width: 80%; /* Ancho del modal */
    height: 80vh; /* Alto del modal */
    overflow-y: auto; /* Allows vertical scrolling when content overflows */
    /* Removed: overflow: hidden; */

    /* Personalización de la barra de scroll */
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: white transparent; /* Para Firefox: thumb y track */

    &::-webkit-scrollbar {
        width: 6px; /* Ancho de la barra */
    }
    &::-webkit-scrollbar-track {
        background: transparent; /* Fondo transparente */
    }
    &::-webkit-scrollbar-thumb {
        background-color: white; /* Color de la barra de posición */
        border-radius: 10px; /* Bordes redondeados */
    }

    p{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .modal-footer-btn {
        display: flex;
        justify-content: flex-end;
        margin-top: 30px;
    }

    .btn-enlace {
        padding: 10px 25px;
        border: 1px solid #ffffffa2;
        border-radius: 8px;
        color: #ffffff;
        text-decoration: none;
        font-family: "ClashDisplay", sans-serif;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        &:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: scale(1.05);
        }
    }
  }
  
  .modal-header {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    h1{
        font-family: "ClashDisplay", sans-serif;          
        line-height: 0.8;
        font-size: calc(5vw + 0.5rem);
    }
  }
  
  .modal-title {
    margin-top: 0;
  }
  
  .close {
    position: absolute;
    background: none;
    border: none;
    color: #ffffff;
    top: 1rem;
    right: 1rem;
    font-size: 36px;
    cursor: pointer;
    width: fit-content;
  }
/**/

/* Pantalla de Carga (Loader) */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #29025a;
    background:
    radial-gradient(circle at 0% 0%, #003064 0%, transparent 60%),
    radial-gradient(circle at 100% 0%, #002fca 0%, transparent 60%),
    linear-gradient(to top, #250047, transparent) 0% 100% / 100% 70% no-repeat,
    #29025a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('src/imme.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    filter: blur(3px);
    opacity: 0.3;
    z-index: -1;
}

#loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    img{
        width: 120px;
        height: auto;
        opacity: 0.8;
    }
    h6{
        font-family: "ClashDisplay", sans-serif;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*L O G I N*/
        form {
            backdrop-filter: blur(5px);
            background: none;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);

            button {
                width: 100%;
                padding: 10px;
                color: white;
                border: 1px solid #ffffffbb;
                border-radius: 8px;
                cursor: pointer;
                font-family: "DM Sans", sans-serif;
                font-weight: 600;
            }

            button:hover {
                background: #0057b346;
            }
        }

        .error {
            color: red; margin-bottom: 10px;
        }


            input, textarea, select {
                background: transparent;
                display: block;
                width: 100%;
                padding: 10px;
                margin-bottom: 15px;
                border: 1px solid #ddd;
                border-radius: 8px;
                box-sizing: border-box;
                color: #ddd;
                font-family: "DM Sans", sans-serif;
            }
            input:focus {
                border-color: #007bff;
                outline: none;
            }

/*Dashboard*/
ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Espacio entre elementos */
    list-style: none; /* Quita los puntos de la lista */
    padding: 0;
}
li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    width: 100%;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 48px;
    margin-top: 24px;
    margin-bottom: 24px;
}
option{
    background: rgba(26, 15, 128, 0.842);
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    color: #ddd;
    font-family: "DM Sans", sans-serif;
}
form {
    width: 800px;
}
label{
    font-family: "ClashDisplay", sans-serif;          
}
        form, li {
            backdrop-filter: blur(5px);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

/*****Diseño Responsivo (-1200px)*******/

@media (max-width: 1290px) {
    /*Header*/
    header{
        height: fit-content;
        padding-top: 48px;
        h1{
            margin-top: -48px;
        }
        h2{
            margin-top: -20px;
        }
    }
    header::before {
        content: ""; /* Elemento vacío para la capa */
        position: absolute;
        top: 0;
        width: 100%;
        height: calc(42vw + 16rem);
        background-image: url('src/imme.jpg'); 
        background-size: cover;
        background-position: right;
        background-repeat: no-repeat;
        filter: blur(2px); 
        opacity: 0.5; /* Cambia este valor: 0 (transparente) a 1 (opaco) */
        z-index: -1; /* Envía la imagen detrás del contenido */
    }
    .hero{

        div{
            .hero-img{
                    width: 84px;
                    height: 84px;
            }
        }
        div:last-of-type{
            div{
                margin-top: -24px;
            }
        }
    }
    /**/
    /*Conferencias*/
    #conferencias, #usuarios{
        padding: 4vw;
        padding-top: 16vw;
        padding-bottom: 12vw;
    
        h2{
            margin-bottom: -4.5vw;
        }
        h4{
            margin-top: 0;
            font-size: 2vw;
        }
        p{
            margin-top: 10px;
            font-size: 16px;    
        }
    
    }
    /**/
    /*Laboratorios*/
    .laboratorios {
        .hero{
            .head{
                .title{
                    h1{
                        margin-top: -3vw;
                    }

                }
                .icon{
                    margin-right: 0px;
                    .bx{
                        font-size: calc(10vw + 1rem);
                    }
                }
            }
        }
    }
    /*Servicios*/
    #servicios{
        padding-top: 16vw;
        padding-bottom: 12vw;
        .cards-container{
            .card{
                h1{
                    font-size: calc(1.5vw + 0.2rem);
                }
                h2{
                    font-size: calc(1vw + 0.2rem);
                }
    
            }
        }
    }
    /**/
}
/************/


/************/

/******Diseño Responsivo (-900px)******/
@media (max-width: 900px) {
    /*Nav*/
    nav{
        padding: 24px;
        height: 56px;

        .logo{
            img{
                width: 64px;
                height: auto;
            }
        }
        .buttons{
            display: flex;
            flex-direction: row-reverse;
            .nav-button{
                margin: 8px;
                margin-top: 0;
                margin-bottom: 0;
    
                h6{
                    margin-top: -8px;
                    font-size: calc(0.5vw + 0.5rem);
                }
            }
        }
    }
    /**/
    /*Header*/
    header{
        height: auto;        
        h1{
            font-size: calc(12vw);
            margin-top: -6vw;
        }
        h2{
            font-size: calc(12vw);
            margin-top: -10px;
        }
        h3{
            margin-top: 4px;
        }
        h5{
            font-size: 10px;
        }
        h6{
            font-size: 20px;
        }
        p{
            margin-top: 24px;
        }
    }
    header::before {
        content: ""; /* Elemento vacío para la capa */
        position: absolute;
        top: 0;
        width: 100%;
        height: calc(72vw + 62rem);
        background-image: url('src/imme.jpg'); 
        background-size: cover;
        background-position: right;
        background-repeat: no-repeat;
        filter: blur(3px); 
        opacity: 0.5; /* Cambia este valor: 0 (transparente) a 1 (opaco) */
        z-index: -1; /* Envía la imagen detrás del contenido */
    }
    .hero{
        padding: 36px;
        padding-top: 64px;

        div{
            .hero-img{
                    width: 100px;
                    height: 100px;
            }
        }
        div:last-of-type{
            div{
                margin-top: 0;
            }
        }
        div:last-of-type{
            display: flex;
            flex-direction: column;
            div{
                width: 100%;
                display: flex;
                flex-direction: row;
                justify-content: center;
            }
        }
    }
    /**/
    /*Novedades*/
    .novedades{
        display: flex;
        flex-direction: column;
        padding-top: 16px;

        .card{
            width: 100%;
            height: calc(8vw + 3.2rem);
            margin-bottom: 24px;
            justify-content: center;
            h1{
                font-size: 5vw;
            }
            h2{
                font-size: 4vw;
            }
            h3{
                font-size: 4vw;
            }
            h6{
                font-size: 3vw;
            }
            p{
                font-size: 16px;
                margin: 0;
                display: none;
            }
            .bx{
                display: none;
            }
            .mt-{
                margin-top: -0.5rem;
            }
        }
    }
    /**/
    /*Conferencias*/
    #conferencias, #usuarios{
        padding: 36px;
        margin-top: 14vw;
        padding-top: 18vw;
        padding-bottom: 18vw;

    
        h2{
            width: 100%;
            margin-bottom: -6vw;
        }
        h4{
            margin-top: 0;
            font-size: 4.6vw;
        }
        p{
            margin-top: 24px;
            font-size: 16px;
            b{
                font-size: 16px;
            }
        }
    }
    /**/
    /*Laboratorios*/
    .laboratorios {
        .hero{
            padding: 36px;
            .head{
                .title{
                    h1{
                        margin-top: 4px;
                        font-size: calc(2vw + 2rem);
                    }
                    h2{
                        font-size: calc(0.8vw + 0.8rem);
                    }
                    h4{
                        font-size: calc(0.9vw + 0.7rem);
                    }
                }
            }
        }
        p{
            padding: 10px;
        }
    } 
    /**/
    /*Servicios*/
    #servicios{
        padding: 36px;
        padding-top: 20vw;
        padding-bottom: 18vw;
        .cards-container{
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            .card{
                .card-title{
                    width: 100%;
                    h1{
                        font-size: calc(5vw + 0.2rem);
                    }
                    h2{
                        font-size: calc(3vw + 0.2rem);
                    }
                    p{
                        width: 100%;
                        font-size: calc(1vw + 0.5rem);
                    }
                }
            }
            .card:hover{
                h3{
                    font-size: calc(3vw + 0.2rem);
                }
            }
        }
    }
    /**/
    /*Historia*/
    #historia{
        padding: 36px;
        padding-top: 18vw;
        padding-bottom: 4vw;

        .t-img{
            img{
                display: none;
            }
            .p{
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                img{
                    display: block;
                    width: 280px;
                    height: auto;
                    margin-top: 6vw;
                    margin-bottom: 8vw;
                }
            }
        }
    }
    /**/
    /*footer*/
    footer{
        padding: 36px;
    }
    #footer{
        display: flex;
        flex-direction: column;
        padding: 0;
        .left{
            width: 100%;
            padding: 36px;
            padding-left: 0;
            padding-right: 0;
            align-items: center;
            text-align: center;
            margin-top: 0;
            border-top: none;
            border-bottom: solid 2px #ffffffe1;
            img{
                width: 100px;
                height: auto;
            }
            h3{
                font-size: 4.5vw;
                margin-top: 10px;
            }
            h4{
                font-size: 4vw;
                margin-top: 0;
            }
        }
        .center{
            padding: 36px;
            padding-left: 0;
            padding-right: 0;
            width: 100%;
            h4{
                font-size: 4.5vw;
                margin-top: 0;
                margin-bottom: 10px;
            }
            h6{
                font-size: 3vw;
                a{
                    img{
                        width: 6vw;
                        height: auto;
                    }
                }
            }
            .bx{
                font-size: 4vw;
            }
        }
        .right{
            width: 100%;
            padding: 36px;
            padding-left: 0;
            padding-right: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-top: 0;
            margin-bottom: 12px;
            h3{
                font-size: 8vw;
                margin-bottom: 10px;
            }
            h6{
                font-size: 3vw;
            }
        }
    }
    form{
        width: 90vw;
    }
    .modal-content{
        padding: 24px;
    }
    /**/
}


/************/


@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fall {
    0% {
        transform: translateY(800px) rotate(0deg);}
    100% {
        transform: translateY(-1px) rotate(360deg);}
}
@keyframes fallExtended {
    0% {
        transform: translateY(2000px) rotate(0deg);}
    100% {
        transform: translateY(-1px) rotate(360deg);}
}


  @keyframes move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}