:root {
    --white: #ffffff;
    --black: #000000;
    --gris: #474747;
    --blue: #0070EC;
    --dark-blue: #1500ff;
    --background-menu: #f0f0f0;
    --background-article: #D7E8FA;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #f1f1f1;
}

h1, h2, h3 {
    margin: 2rem 1.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 1.5rem;
}

a {
    text-decoration: none;
}

/* Cover **/

.cover {
    position: relative;
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.cover-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.cover-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: left;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 2rem;
}

.cover-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: linear-gradient(to bottom, rgba(0, 0, 0, 0)), rgba(0, 0, 0, 1);
    z-index: 2;
}

.cover-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    font-size: 5rem;
    z-index: 3;
    width: 100%;
    line-height: 2;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-shadow: 0.2rem 0.2rem 2rem rgba(0, 0, 0, 1);
}

.main-cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem;    
}

.main-cover .main-div-cover {
    position: relative;
    width: 100%;
    height: 20rem;
    margin: 1rem;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-cover .main-div-cover .main-div-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    opacity: 0.8;
}

.main-cover .main-div-cover .main-div-h2 {
    position: absolute;
    margin: 0;
    color: var(--white);
    font-size: 2.5rem;
    text-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 1);
    text-align: center;
}

.main-cover .main-div-cover:hover::after {
    opacity: 1;
}

/* article **/

.article-box {
    background-color: var(--background-article);
    padding: 1.5rem;
    border-radius: 2rem;
    margin: 3rem 0;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.4);
}

.article-title {
    color: var(--blue);
    font-size: 2.4rem;
    margin: 1rem;
}

.article-text {
    color: var(--black);
    font-size: 1.5rem;
    line-height: 1.6;
}

/*button **/

.button-div {
    display: flex;
    justify-content: space-around;
}

.button {
    padding: 1rem 2rem;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: var(--white);
    background-color: var(--blue);
    border-radius: 5rem;
    transition: all 0.5s;
    margin: 3rem 0;
    border-color: var(--dark-blue);
}

.button:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.button:active {
    box-sizing: 0 0.5rem var(--blue);
    background-color: var(--dark-blue);
    transform: translateY(0.5rem);
}

/* Desktop **/

@media (min-width: 769px) {
        /* header **/

        header {
            box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1); 
            border-radius: 2rem;
            background-color: var(--gris);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            justify-content: center;
            align-items: center;
        }

        .header-logo {
            display: flex;
            column-gap: 0.5rem;
            align-items: center;
            justify-content: center;
            height: 10rem;
        }
        
        .header-image img {
            width: 10rem;
            padding: 1rem;
        }
        
        .header-text p {
            font-size: 4.5rem;
            color: var(--blue);
            text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.9);
            font-weight: bold;
        }
    
        /* menu **/
        .menu1-icon {
            display: none;
        }
    
        #toggle-menu {
            display: none;
        }
    
        .menu1-content, .footer-a {
            border-radius: 0.8rem;
            text-align: center;
        }
    
        .menu1-content a, .footer-a a {
            display: inline-block;
            padding: 1.2rem 2rem;
            font-size: 1.5rem;
            color: var(--white);
            border-bottom: 0.1rem solid var(--blue);
        }

        .menu2 {
            margin: 3rem 0;
            max-height: 80vh;
            overflow-y: auto;
        }

        .menu2-content {
            background-color: var(--background-menu);
            border-radius: 0.8rem;
            box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.5);
        }

        .menu2-content a {
            display: block;
            padding: 1.2rem 2rem;
            color: var(--black);
            text-align: none;
            border-bottom: 0.1rem solid var(--blue);
            font-size: 1.3rem;
        }

        .menu2-content a.active {
            background-color: var(--blue); /* Color de fondo para el enlace activo */
            color: var(--white);
            border-radius: 1rem;
        }        

        .menu2-content a:last-child {
            border-bottom: none;
        }

        .main-div {
            display: grid;
            grid-template-columns: 1fr 3fr;
            gap: 3rem;
        }

        .main-cover {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2rem;
        }

        footer {
            background-color: var(--gris);
            border-radius: 2rem;
            padding: 2rem;
        }

        .footer {
            display: flex;
            justify-content: space-around;
            align-items: center;
        }

        .footer a {
            white-space: nowrap;
        }
    
        .footer-image img {
            width: 1rem;
            
        }
        
        .footer-text p {
            font-size: 4rem;
            color: var(--blue);
            text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.9);
            max-width: 100%;
            font-weight: bold;
        }
    
        .footer-copy {
            color: var(--white);
            text-align: center;
        }

        .footer-logo {
            display: flex; 
            flex-wrap: wrap;
            align-items: center;
        }
    
}

/* tablet **/

@media (max-width: 768px) {
    /* header **/

    .header-logo {
        display: flex;
        column-gap: 1rem;
        align-items: center;
        justify-content: center;
        height: 10rem;
        box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1); 
        border-radius: 0 0 2rem 2rem;
        background-color: var(--gris);
    }
    
    .header-image img {
        width: 10rem;
        padding: 1rem;
    }
    
    .header-text p {
        font-size: 4.5rem;
        color: var(--blue);
        text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.9);
        font-weight: bold;
    }

    /* menu **/

    .menu1 {
        display: flex;
        justify-content: space-evenly;
    }

    #toggle-menu, .menu1-icon {
        display: none;
    }

    .menu1-content {
        background-color: var(--background-menu);
        border-radius: 0.8rem;
        box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
        width: 100%;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .menu1-content a {
        display: inline-block;
        padding: 1.2rem 2rem;
        color: var(--black);
        border-bottom: 0.1rem solid var(--blue);
    }

    footer {
        background-color: var(--gris);
        border-radius: 2rem 2rem 0 0;
        padding: 2rem;
    }

    
    .footer {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .footer-a {
        border-radius: 0.8rem;
        text-align: center;
    }

    .footer-a a {
        display: inline-block;
        padding: 1.2rem 2rem;
        font-size: 1.5rem;
        color: var(--white);
        border-bottom: 0.1rem solid var(--blue);
    }

    .footer a {
        white-space: nowrap;
    }

    .footer-image img {
        width: 1rem;
        max-width: 100%;
    }
    
    .footer-text p {
        font-size: 3rem;
        color: var(--blue);
        text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.9);
        max-width: 100%;
        font-weight: bold;
    }

    .footer-text {
        color: var(--white);
    }

    .footer-logo {
        display: flex; 
        flex-wrap: wrap;
        align-items: center;
        gap: 0.1rem;
    }

    .footer-copy {
        text-align: center;
        color: var(--white);
    }

    .menu2 {
        margin: 2rem 0;
        max-height: 80vh;
        overflow-y: auto;
    }


    .menu2-content {
        background-color: var(--background-menu);
        border-radius: 0.8rem;
        box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.5);
    }

    .menu2-content a {
        display: block;
        padding: 1.2rem 2rem;
        color: var(--gris);
        text-align: none;
        border-bottom: 0.1rem solid var(--blue);
        font-size: 1.3rem;
    }

    .menu2-content a.active {
        background-color: var(--blue); /* Color de fondo para el enlace activo */
        color: var(--white);
        border-radius: 1rem;
    }

    .menu2-content a:last-child {
        border-bottom: none;
    }

    .main-div {
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 3rem;
    }

    .main-cover .main-div-cover .main-div-h2 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    /* header **/

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-logo {
        display: flex;
        column-gap: 1rem;
        align-items: center;
        justify-content: center;
        height: 10rem;
        box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1); 
        border-radius: 0 0 2rem 2rem;
        background-color: var(--gris);
    }
    
    .header-image img {
        width: 8rem;
        max-width: 100%;
    }
    
    .header-text p {
        font-size: 3.5rem;
        color: var(--blue);
        text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.9);
        max-width: 100%;
        font-weight: bold;
    }

    /* menu **/

    .menu1 {
        position: fixed;
        bottom: 2.5rem;
        right: 2.5rem;
        z-index: 1000;
    }

    .menu1-icon {
        display: initial;
        font-size: 3rem;
        background-color: var(--background-menu);
        padding: 1rem;
        border-radius: 5rem;
        box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
        cursor: pointer;
        text-align: center;
        position: fixed;
        right: 3rem;
        bottom: 3rem;
    }

    #toggle-menu {
        display: none;
    }

    .menu1-content {
        display: none;
        position: fixed;
        right: 2rem;
        bottom: 10rem;
        background-color: var(--background-menu);
        border-radius: 0.8rem;
        box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
        width: 20rem;
        font-size: 1.3rem;
        top: auto;
    }

    .menu1-content a {
        display: block;
        padding: 1.2rem 2rem;
        color: var(--black);
        border-bottom: 0.1rem solid var(--blue);
    }

    .menu2-content a.active {
        background-color: var(--blue); /* Color de fondo para el enlace activo */
        color: var(--white);
        border-radius: 1rem;
    }

    .menu1-content a:last-child {
        border-bottom: none;
    }

    #toggle-menu:checked + .menu1-icon + .menu1-content {
        display: block;
    }

    .menu2-content {
        background-color: var(--background-menu);
        border-radius: 0.8rem;
        box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
        max-width: 100%;
        margin: 2rem 0;
    }

    .menu2-content a {
        display: block;
        padding: 1.2rem 2rem;
        color: var(--black);
        border-bottom: 0.1rem solid var(--blue);
        font-size: 1.3rem;
    }

    .menu2-content a:last-child {
        border-bottom: none;
    }

    .main-div {
        display: flex;
        flex-direction: column;
    }

    .menu2 {
        order: 2;
        margin-top: 0;
    }

    .main-content {
        order: 1;
    }

    footer {
        background-color: var(--gris);
        border-radius: 2rem 2rem 0 0;
        padding: 2rem;
    }

    .footer {
        display: block;
        justify-content: space-around;
        align-items: center;
    }

    .footer-a {
        border-radius: 0.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-a a {
        display: inline-block;
        padding: 1.2rem 2rem;
        font-size: 1.5rem;
        color: var(--white);
        border-bottom: 0.1rem solid var(--blue);
    }

    .footer-logo {
        display: flex;
        column-gap: 0.1rem;
        align-items: center;
        justify-content: center;
    }

    .footer-image img {
        width: 2rem;
        max-width: 100%;
    }
    
    .footer-text p {
        font-size: 3rem;
        color: var(--blue);
        text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.9);
        max-width: 100%;
        font-weight: bold;
    }

    .footer-text {
        color: var(--white);
    }
}

@media (min-width: 1024px) {
    .main-cover .main-div-cover .main-div-h2 {
        font-size: 3.5rem;
    }   
}

.cookie {
    margin: 2rem 8rem;
    font-size: 1.3rem;
    line-height: 2;
}

.equation-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    border-radius: 2rem;
    text-align: left;
    background-color: var(--background-article);
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
}

.equation-container p {
    display: inline-block;
    margin: 0;
    padding: 0 2rem;
    justify-content: center;
    text-align: center;
    font-size: 1.3rem;
}

.equation-container li {
    font-size: 1.3rem;
    line-height: 2;
    margin-top: 0.5rem;

}

#graph, #graph1, #graph2, #graph3, #graph4 {
    text-align: left;
    margin-top: 3rem;
    background-color: var(--background-menu);
    border-radius: 2rem;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.2);
}
/*
     FILE ARCHIVED ON 15:30:13 Nov 22, 2024 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 14:21:37 Apr 13, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  capture_cache.get: 0.812
  captures_list: 0.546
  exclusion.robots: 0.021
  exclusion.robots.policy: 0.008
  esindex: 0.012
  cdx.remote: 14.786
  LoadShardBlock: 207.274 (3)
  PetaboxLoader3.datanode: 216.975 (5)
  PetaboxLoader3.resolve: 111.242 (2)
  load_resource: 235.83
  loaddict: 42.424
*/