@font-face {
    font-family: 'SF-Pro';
    src: url('../font/SF-Pro.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF-Pro';
    user-select: none;
}

html {
    min-width: 280px;
}

body {
    width: 100%;
    overflow-y: visible;
}

.brillo {
    background-color: #0000008c;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.brillo_news {
    display: none;
    background-color: #0000008c;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 995;
    backdrop-filter: blur(5px);
}

.brillo_news.active {
    display: block;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

img {
    pointer-events: none;
}

video {
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
}

.close {
    color: #515151;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    font-size: 2rem;
    cursor: pointer;
    transition: 200ms ease;
}

.close:hover {
    color: #00a09b;
    transform: rotate(90deg);
}

/* Estilo para los links */

.link {
    color: #00a09b;
    text-decoration: none;
    transition: 200ms ease;
    font-weight: bold;
}

.link:hover {
    color: #00b6b0;
}

/* Navbar */

nav {
    width: 100%;
    min-width: 280px;
    height: 74px;
    position: fixed;
    transition: background-color 400ms ease;
    z-index: 994;
}

.nav_scrolled {
    background-color: #ffffffe3;
    backdrop-filter: blur(5px);
    box-shadow: 1px 0px 5px #00000033;
}

.navbar_elements {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 16em;
}

.navbar_elements a {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 2em;
}

nav ul li{
    list-style-type: none;
    padding: 1em 0;
}

nav ul li a {
    text-decoration: none;
    color: #ffffffe0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 400ms ease;
}

nav div ul li a:hover {
    color: #00bab4;
}

.nav_link_scrolled {
    color: #515151;
}

.nav_link_scrolled:hover {
    color: #00bab4;
}

.navbar_biomocap {
    width: 160px;
}

nav div ul li .navbar_active {
    color: #00a09b;
}

/* ------------------------- Main page ------------------------- */

/* Landing Section */


.landing {
    height: 100vh;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5em;
}

/* Bg video and background effects */

#bg_video, #bg_vid
{
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 280px;
    object-fit: cover;
    /* opacity: 0.8; */
    z-index: -1;
}

#bg_video_c, #bg_vid_c
{
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 30rem;
    object-fit: cover;
    /* opacity: 0.8; */
    z-index: -1;
}

.gradient_background {
    height: 100%;
    background-image: linear-gradient(to bottom, #000000f5, #000000e3, #000000af, #00000088, #0000005b);
}

.landing_img {
    width: 300px;
    animation: introBottom ease-in-out;
    animation-duration: 0.8s;
    transform: translateY(18.5px);
}

.landing_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    animation: introBottom ease-in-out;
    animation-duration: 0.8s;
    transform: translateY(18.5px);
}

.landing h1 {
    color: #fffffff8;
    font-size: 5rem;
    font-weight: 400;
    line-height: 90%;
    text-align: center;
}

.landing h2 {
    color: #fffffff8;
    font-weight: 300;
    text-align: center;
}

/* Lab */

.lab {
    background-color: #00a09b;
    height: 16vh;
    min-height: 100px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5em;
}

.lab h2 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 80%;
    text-align: center;
}

.lab h3 {
    font-weight: 500;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
}

/* News slider */
.news_slider_sec {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em 1em;
    gap: 1em;

    & a {
        align-self: flex-end;
    }

    & > .news_slider {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        gap: 0.5em;

        & .news_slider_box {
            position: relative;
            display: flex;
            justify-content: flex-end;
            flex-direction: column;
            width: 25%; 
            height: 100%;
            cursor: pointer;
            overflow: hidden;
            border-radius: 5px;
            z-index: 10;

            & span {
                font-size: 0.9rem;
                color: white;
                font-weight: 520;
                background-color: #00a09ba9;
                width: fit-content;
                padding: 0.5em;
                border-radius: 0 8px 0 0;
                transition: 350ms ease;
            }

            & h1 {
                color: white;
                font-size: 1.1rem;
                padding: 0.5em 0.5em;
                width: 100%;
                height: 35%;
                display: flex;
                flex-direction: column;
                font-weight: 550;
                background-color: #00a09ba9;
                transition: 350ms ease;
            }

            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                position: absolute;
                border-radius: inherit;
                top: 0;
                right: 0;
                z-index: -1;
                filter: brightness(50%);
            }
        }

        & .news_slider_box:hover span, .news_slider_box:hover h1 {
            background-color: #00a09bcb;
        }
    }
}

/* About us */
.about {
    display: flex;
    height: 600px;
    width: 100%;
    background-color: white;
}

.separator {
    width: 100%;
    background-color: #00a09b;
    height: 2px;
}

.about_vid {
    width: 50%;
    position: relative;
}

.about_vid video {
    position: absolute;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.about_box {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 4em;
    gap: 1.5em;
}

.about_box h2 {
    font-size: 55px;
    color: #00a09b;
    line-height: 90%;
    font-weight: bold;
}

.about_box p {
    line-height: 135%;
    color: #515151c8;
    font-size: 1.2rem;
    text-align: justify;
}

.about_cm {
    display: flex;
    height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 8em;
    gap: 1.8em;
    position: relative;
}

.about_cm h1 {
    font-size: 3.5rem;
    color: #fffffff8;
    line-height: 90%;
    font-weight: bold;
    line-height: 110%;
}

.about_cm p {
    line-height: 135%;
    color: #fffffff8;
    font-size: 1.3rem;
    text-align: justify;
}

.cm_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about_cm.webp') no-repeat center center/cover;
    filter: blur(6px);
    z-index: -10;
}

.cm_bg_gd {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #004746dc, #004746c2, #004746af, #004746a4, #0047467c);
    z-index: -9;
}

.nw_bg_gd {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30rem;
    background-image: linear-gradient(to bottom, #004746dc, #004746c2, #004746af, #004746a4, #0047467c);
    z-index: -9;
}

/* Noticias */
.news_table {
    height: 450px;
    width: 100%;
    background-color: white;
    display: flex;
}

.news_rev {
    flex-direction: row-reverse;
}

.news_table .news_img img {
    width: 100%;
}

.news_table .news_box {
    width: 50%;
    padding: 4em;
}

.separator {
    width: 100%;
    background-color: #00a09b;
    height: 2px;
}

.news_img {
    width: 50%;
}

.news_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_box {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 0 4em;
    gap: 2em;
    animation: introBottom ease-in-out;
    animation-duration: 0.8s;
}

.news_box_text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.news_box h1 {
    font-size: 55px;
    color: #00a09b;
    line-height: 90%;
    font-weight: bold;
}

.news_box p {
    line-height: 135%;
    color: #515151c8;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: justify;
}

.news_link {
    color: #515151ef;
    background-color: transparent;
    padding: 1em 2em;
    border-radius: 50px;
    border: 1px solid #00000018;
    cursor: pointer;
    transition: 250ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 1rem;
    font-weight: 500;
}

.news_link i {
    color: #515151ef;
    transition: 250ms ease;
}

.news_link:hover {
    background-color: #00a09bec;
    color: white;
}

.news_link:hover i {
    color: white;
    transform: translateX(5px);
}

.new_window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffffe3;
    width: 95%;
    max-height: 95vh; 
    border-radius: 8px;
    z-index: 999;
    backdrop-filter: blur(10px);
    padding: 3em;
    flex-direction: column;
    gap: 1em;
}

.new_window.active {
    display: flex;
}

.no_news {
    height: calc(100vh - 30rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4em;
}

.no_news h1 {
    font-size: 55px;
    color: #515151;
    line-height: 90%;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.new_window h1 {
    font-size: 55px;
    color: #00a09b;
    font-weight: bold;
    line-height: 90%;
}

.content {
    width: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.content img {
    float: right;
    width: 400px;
    margin: 0 0 1em 1em;
    border-radius: 5px;
}

.content p, .content p b, .content p i, .content p u {
    line-height: 135%;
    color: #424242c8;
    font-size: 1rem;
    text-align: justify;
}

.content p a{
    line-height: 135%;
    color: #00a09b;
    font-size: 1rem;
    text-decoration: none;
    transition: 200ms ease;
    font-weight: 600;
    text-align: justify;
}

.content p a:hover {
    color: #00bab4;
}

.content p {
    width: 100%;
    text-align: justify;
}

.new_date {
    color: #424242c8;
    display: flex;
    align-items: center;
    gap: 0.5em;
    line-height: 90%;
}

/* Footer */

footer {
    width: 100%;
    height: 10%;
    background-color: #242424;
    display: flex;
    height: 5rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 4em;
}

footer p {
    color: #fffffff8;
    font-weight: 400;
    font-size: 1rem;
    text-align: justify;
}

.footer_social {
    display: flex;
    align-items: center;
    gap: 2em;
}

footer a i {
    font-size: 2rem;
    color: #fffffff8;
    transition: all 250ms ease;
}

footer a i:hover {
    color: #00bab4;
}
    
/* Burguer para versión móvil */
.nav_burguer {
    display: none;
    flex-direction: column;
    width: 30px;
    border: 0;
    background: transparent;
    gap: .5rem;
    cursor: pointer;
    
}

.nav_burguer > span {
    background: #00bab4;
    height: 2px;
    width: 100%;
    border-radius: 5px;
    transition: all .5s;
    transform-origin: center;
}

.nav_burguer.active span:first-child {
    transform: translateY(12px) rotate(-135deg);
}

.nav_burguer.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(100px);
}

.nav_burguer.active span:last-child {
    transform: translateY(-9px) rotate(135deg);
}

/* ------------------------- Foro ------------------------- */

.news_title {
    width: 100%;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news_title h1 {
    color: #ffffffe3;
    font-weight: 500;
    font-size: 7rem;
    animation: introBottom ease-in-out;
    animation-duration: 0.8s;
    line-height: 95%;
    transform: translateY(37px);
}

.news_pag {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(60px + 1.6em);
    padding: 1.2em;
}

.news_pag ul {
    display: flex;
    justify-content: center;
    background-color: #00a09b;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #00a09b;
    overflow: hidden;
}

.news_pag li {
    list-style-type: none;
    display: flex;
}

.news_pag li a, .news_pag a {
    font-size: 0.9rem;
    text-decoration: none;
    color: white;
    padding: 0 1.2em;
    font-weight: 600;
    transition: 250ms ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.news_pag li a span i, .news_pag a span i {
    transition: 250ms ease;
}

.news_pag li a:hover, .news_pag a:hover, .news_pag li .news_pag_active {
    background-color: #00afa9;
}

/* Contacto */

main.main_contact ~ #bg_video {
    min-height: 700px;
}

.contact {
    width: 100%;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    border-radius: 10px;
    background-color: #fffffff2;
    padding: 3em;
    animation: introBottom ease-in-out;
    animation-duration: 0.8s;
    transform: translateY(37px);
}

.contact form div h1 {
    color: #515151;
    font-weight: 600;
    font-size: 2.5rem;
    text-align: center;
}

.contact form div p {
    color: #515151;
    font-weight: 200;
    font-size: 0.9rem;
    text-align: center;
    width: 22rem;
}

.contact form > input {
    border: 0;
    font-size: 0.9rem;
    width: 100%;
    font-weight: 200;
    padding: 0.5em 0;
    background-color: transparent;
    outline: none;
    border-bottom: 1.5px solid #51515158;
    color: #515151;
    transition: 500ms ease;
}
.contact form textarea {
    border: 0;
    font-size: 0.9rem;
    width: 100%;
    resize:vertical;
    max-height: 80px;
    font-weight: 200;
    padding: 0.5em 0;
    background-color: transparent;
    outline: none;
    border-bottom: 1.5px solid #51515158;
    color: #515151;
    transition: border-bottom-color 500ms ease;
}

.contact form > input:hover {
    border-bottom-color: #00a09bec;
}

.contact form > textarea:hover {
    border-bottom-color: #00a09bec;
}

.contact form > input:focus {
    border-bottom-color: #00a09bec;
}

.contact form > textarea:focus {
    border-bottom-color: #00a09bec;
}

.contact_submit {
    color: #515151ef;
    background-color: transparent;
    padding: 1em 2em;
    border-radius: 50px;
    border: 1px solid #00000018;
    cursor: pointer;
    transition: 250ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 1rem;
    font-weight: 500;
}

.contact_submit i {
    color: #515151ef;
    transition: 250ms ease;
}

.contact_submit:hover {
    background-color: #00a09bec;
    color: white;
}

.contact_submit:hover i {
    color: white;
    transform: translateX(5px);
}

/* Sección de recibir información */

.recibir_info {
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em 15em;
}

.recibir_info h1 {
    text-align: center;
    color: #515151;
    font-size: 2rem;
    padding: 1em;
}

.recibir_info .contact_submit {
    width: 250px;
    margin: 1.3em;
}

.recibir_info p {
    text-align: center;
}

.recibir_info a {
    text-decoration: none;
}

.ocultar, .contact .ocultar {
    display: none;
}

/* Notificación */
.notification {
    position: fixed;
    width: 250px;
    height: fit-content;
    display: flex;
    gap: 1em;
    align-items: center;
    top: 84px;
    right: 20px;
    background-color: #00a09baf;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    color: white;
    padding: 0.8em;
    transform: translateX(1000px);
    transition: transform 1s ease;

    & div h3 {
        font-size: 1rem;
        font-weight: 600;
    }

    & div p {
        font-size:0.9rem;
        text-align: justify;
    }
}

.notification.success {
    background-color: #00a09bec;
}

.notification.active {
    transform: translateX(0);
}

.notification.error {
    background-color: #a00000c1;
}

/* ---------------------------------------------- */
/* ----------------- Keyframes ----------------- */
/* ---------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes introBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
}

/* ---------------------------------------------- */
/* ----------------- Responsive ----------------- */
/* ---------------------------------------------- */
@media screen and (max-width: 1650px) {
    .about_box h2 {
        font-size: 50px;
    }

    .news_box_text h1 {
        font-size: 50px;
    }

    .new_window h1 {
        font-size: 50px;
    }
}

@media screen and (max-width: 1500px) {
    .about_box h2 {
        font-size: 45px;
    }

    .news_box_text h1 {
        font-size: 45px;
    }

    .about_box {
        gap: 1em;
    }

    .new_window h1 {
        font-size: 45px;
    }
}

@media screen and (max-width: 1400px) {
    .about_box h2 {
        font-size: 40px;
    }

    .news_box_text h1 {
        font-size: 40px;
    }

    .about_box p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1300px) {
    .new_window h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 1250px) {
    .about_box {
        gap: 0.5em;
        padding: 0 3em;
    }

    .about_box h2 {
        font-size: 35px;
        line-height: 110%;
    }

    .news_box_text h1 {
        font-size: 35px;
    }
    
    .about_box p {
        font-size: 0.9rem;
    }

    .about_cm {
        padding: 2em 4em;
    }

    .about_cm h1 {
        font-size: 3.2rem;
    }
    
    .about_cm p {
        font-size: 1.1rem;
    }

    .news_table .news_box {
        padding: 2em;
    }

    .new_window h1 {
        font-size: 35px;
    }

    .no_news h1 {
        font-size: 50px;
    }
}

@media screen and (max-width: 1100px) {
    .about_box {
        padding: 0 2em;
    }

    .new_window h1 {
        font-size: 30px;
    }

    .news_slider_sec {
        height: fit-content;

        & .news_slider {
            flex-wrap: wrap;
            height: fit-content;
            justify-content: flex-start;
        
            & .news_slider_box {
                width: calc(50% - 0.25em);
                height: 250px;
            }
        }
    }

    .recibir_info {
        padding: 1em 10em;
    }
}

@media screen and (max-width: 1000px) {
    .navbar_elements {
        gap: 8em;
    }

    .landing_text h1 {
        font-size: 4rem;
    }
    
    .landing_text h2 {
        font-size: 1.3rem;
    }

    /* Footer */
    footer p {
        font-size: 0.9rem;
    }

    footer a > i {
        font-size: 1.8rem;
    }

    .about {
        flex-direction: column;
        height: fit-content;
    }

    .news_table {
        flex-direction: column;
        height: fit-content;
    }

    .news_table .news_img {
        width: 100%;
    }

    .news_table .news_box {
        width: 100%;
    }

    .about_box {
        width: 100%;
        height: fit-content;
        padding: 3em 4em;
        gap: 0.8em;
    }

    .about_vid {
        width: 100%;
        height: 600px;
    }

    .about_box h2 {
        font-size: 52px;
        line-height: 100%;
    }
    
    .about_box p {
        font-size: 1.2rem;
    }

    .flip {
        flex-direction: column-reverse;
    }

    .about_cm h1 {
        font-size: 3rem;
    }
    
    .about_cm p {
        font-size: 1rem;
    }

    .news_table .news_img {
        height: 400px;
    }

    .news_box_text {
        gap: 0.8em;
    }

    .new_window .content p img {
        float: none;
        display: block;
        width: 90%;
        margin: 0;
        margin: 0 auto;
        margin-bottom: 2em;
    }

    .new_window .content p {
        clear: both;
    }

    .no_news h1 {
        font-size: 45px;
    }

    .about_vid video {
        border-radius: 0;
    }
}

@media screen and (max-width: 900px) {
    .landing_text h1 {
        font-size: 3.2rem;
    }
    
    .landing_text h2 {
        font-size: 0.9rem;
    }

    .navbar_elements {
        gap: 4em;
    }

    .about_box {
        padding: 3em 3em;
    }

    .about_box h2 {
        font-size: 50px;
        line-height: 100%;
    }
    
    .about_box p {
        font-size: 1.1rem;
    }
    
    .news_box_text h1 {
        font-size: 30px;
    }

    .news_box_text {
        gap: 0.5em;
    }

    .new_window h1 {
        font-size: 25px;
    }

    .new_window .new_date p, .new_window .new_date i {
        font-size: 0.8rem;
    }

    .new_window {
        gap: 0.8em;
    }

    .no_news h1 {
        font-size: 40px;
    }

    .recibir_info {
        padding: 1em 8em;
    }
}

@media screen and (max-width: 800px) {
    .navbar_biomocap {
        width: 130px;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    /* About */
    .about_box h2 {
        font-size: 45px;
        line-height: 100%;
    }
    
    .about_box p {
        font-size: 1rem;
    }

    .about_cm {
        height: fit-content;
        padding: 4em 2em;
        gap: 1em;
    }

    .about_cm h1 {
        font-size: 2rem;
    }
    
    .about_cm p {
        font-size: 0.95rem;
    }

    .no_news h1 {
        font-size: 35px;
    }
}

@media screen and (max-width: 750px) {

    .landing, .contact {
        height: 100svh;
    }

    nav {
        background-color: #ffffffe3;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 1px 0px 5px #00000033;
        width: 100vw;
        transition: height 1s ease;
        overflow: hidden;
    }

    nav.dropDown {
        height: calc(372.95px + 74px);
    }

    .navbar_elements {
        justify-content: space-between;
        gap: 0;
        padding: 0 1em;
        position: relative;
        height: 74px;
    }
    
    /* Navbar */
    .navbar {
        display: none;
        position: absolute;
        width: 100%;
        top: 74px;
        left: 0;
        flex-direction: column;
        height: fit-content;
        align-items: flex-start;
        justify-content: flex-start;  
        animation: fadeIn ease-in-out forwards;
        animation-duration: 1s;
        gap: 0;
    }

    nav .navbar li {
        transition: .2s ease;
        padding: 0;
        width: 100%;
    }

    nav .navbar li a {
        color: #515151;
        width: 100%;
        display: flex;
        padding: 2em 0;
        justify-content: center;
        transition: 0.3s ease;
    }

    .navbar.active {
        display: flex;
    }

    nav .navbar li a:hover {
        background-color: #00a09b;
    }

    nav .navbar li a:hover {
        color: white;
    }

    .nav_burguer {
        display: flex;
    }

    .navbar_biomocap {
        width: 120px;
    }

    /* Landing */
    .landing {
        gap: 1em;
    }

    .landing_img {
        width: 250px;
    }

    .landing_text h1 {
        font-size: 2.5rem;
    }

    .landing_text h2 {
        font-size: 0.8rem;
    }

    /* Lab */
    .lab h2 {
        font-size: 1.8rem;
    }

    .lab h3 {
        font-size: 0.9rem;
    }

    /* About */
    .about_box h2 {
        font-size: 35px;
        line-height: 100%;
    }
    
    .about_box p {
        font-size: 0.9rem;
    }

    .about_vid {
        height: 400px;
    }

    .news_table .news_img {
        height: 400px;
    }

    .news_table .news_box h1 {
        font-size: 35px;
    }
    .news_box p, .news_box i {
        font-size: 0.9rem;
        line-height: 100%;
    }

    /* Footer */
    footer {
        gap: 1em;
        padding: 0 2em;
    }

    .footer_social {
        gap: 1em;
    }

    footer div a > i {
        font-size: 1.5rem;
    }

    /* Captura de movimiento */
    

    /* Notification */
    .notification {
        top: 94px;
        right: 0;
        left: 0;
        margin: 0 auto;
        transform: translateY(-1000px) translateX(0);
    }

    .notification.active {
        transform: translateY(0) translateX(0);
    }

    .new_window h1 {
        font-size: 20px;
    }

    .new_window .content p img {
        width: 100%;
    }

    .news_title h1{
        transform: translateY(37px);
    }

    .no_news h1 {
        font-size: 30px;
    }

    .news_slider_sec {
        height: fit-content;

        & .news_slider {
        
            & .news_slider_box {
                & h1 {
                    height: 40%;
                }
            }
        }
    }

    .recibir_info {
        padding: 1em 5em;
    }
}

@media screen and (max-width:600px) {
    .news_table .news_box {
        padding: 3em;
    }

    .news_slider_sec {
        & .news_slider {
            flex-direction: column;

            & .news_slider_box {
                width: 100%;
            }
        }

        & a {
            align-self: center;
        }
    } 

    .news_table .news_box h1 {
        font-size: 25px;
        line-height: 100%;
    }

    .news_table .news_img {
        height: 350px;
    }

    .new_window {
        gap: 0.5em;
    }

    .new_window h1 {
        font-size: 18px;
    }

    .new_window .new_date p, .new_window .new_date i {
        font-size: 0.7rem;
    }

    .new_window .content p, .new_window .content p > *{
        font-size: 0.8rem;
    }

    .news_title h1 {
        font-size: 6rem;
    } 

    .no_news h1 {
        font-size: 25px;
    }

    .recibir_info {
        padding: 1em 3em;
    }
}

@media screen and (max-width:550px) {
    .landing_text {
        gap: 0.2em;
    }

    .landing_text h1 {
        font-size: 2.2rem;
    }

    .landing_text h2 {
        width: 80%;
        font-size: 0.8rem;
    }

    .notification {
        top: 100px;
        right: 0;
        left: 0;
        margin: 0 auto;
        transform: translateY(-194px) translateX(0);
    }

    .about_box {
        padding: 2em 2em;
    }

    .about_box h2 {
        font-size: 30px;
        line-height: 100%;
    }
    
    .about_box p {
        font-size: 0.85rem;
    }

    .know_more {
        padding: 1em 1.8em;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 545px) {
    footer p {
        font-size: 0.7rem;
    }

    footer div a > i {
        font-size: 1.2rem;
    }

    /* Contact form */
    .contact form {
        width: 80%;
    }

    .contact form div h1 {
        font-size: 2.2rem;
    }

    .contact form div p {
        font-size: 0.7rem;
        width: 100%;
    }
}

@media screen and (max-width:500px) {
    .landing_text {
        gap: 0.5em;
    }

    .landing_text h1 {
        font-size: 2rem;
    }

    .about_cm h1 {
        font-size: 1.8rem;
    }
    
    .about_cm p {
        font-size: 0.9rem;
    }

    .about_box {
        gap: 1em;
    }

    .news_table .news_box {
        padding: 2em;
    }

    .news_table .news_img {
        height: 250px;
    }

    .news_title h1 {
        font-size: 5rem;
    } 

    .contact form {
        width: 90%;
    }

    .news_slider_sec {
        & .news_slider {
            & .news_slider_mainBox {
                h1 {
                    font-size: 1.2rem;
                    & span {
                        font-size: 0.6rem;
                    }
                }
            }
            & div {
                & .news_slider_box {
                    & h1 {
                        font-size: 0.8rem;
                    }
                }
            }
        }
    }

    .no_news h1 {
        font-size: 20px;
    }
}

@media screen and (max-width: 450px) {
    .about_box h2 {
        font-size: 24px;
        line-height: 100%;
    }
    
    .about_box p {
        font-size: 0.85rem;
    }

    .about_cm h1 {
        font-size: 1.5rem;
    }
    
    .about_cm p {
        font-size: 0.8rem;
    }

    .about_box {
        gap: 0.8em;
    }

    .news_slider_sec {
        & .news_slider {
            & .news_slider_mainBox {
                h1 {
                    font-size: 1.1rem;
                }
                & span {
                    font-size: 0.6rem;
                }
            }
            & div {
                & .news_slider_box {
                    & h1 {
                        font-size: 0.7rem;
                        font-weight: 550;
                    }
                }
            }
        }
    }
    
    .new_window {
        padding: 3em 2em;
    }

    .no_news h1 {
        font-size: 18px;
    }
}

@media screen and (max-width: 400px) {

    .landing_text h1 {
        font-size: 1.7rem;
    }

    .landing_text h2 {
        font-size: 0.65rem;
    }

    .lab {
        height: 12vh;
    }

    .lab h2 {
        font-size: 1.4rem;
    }
    
    .lab h3 {
        font-size: 0.75rem;
    }

    footer {
        gap: 1em;
    }

    .about_box p {
        font-size: 0.8rem;
    }

    .about_cm h1 {
        font-size: 1.2rem;
    }
    
    .about_cm p {
        font-size: 0.75rem;
    }

    .news_table .news_box h1 {
        font-size: 20px;
    }

    .contact form {
        padding: 2em 3em;
    }

    .new_window h1 {
        font-size: 15px;
    }

    .new_window .content p, .new_window .content p > *{
        font-size: 0.8rem;
    }

    .news_title h1 {
        font-size: 4.2rem;
    } 

    .no_news h1 {
        font-size: 15px;
    }
}

@media screen and (max-width: 340px) {
    .landing_text h1 {
        font-size: 1.5rem;
    }
}