* {
    margin: 0;
    padding: 0;
    --headerAlto:120px;
    box-sizing: border-box;
    --fondo_articulo: #f7f6f6;
    --bezier: cubic-bezier(.21,.98,.6,.99);
}
body, div, ul, nav, header, footer, main, a, li, label{
    margin: 0;
    padding: 0;
    position: relative;
}
body {
    color: #333;
    display: flex;
    line-height: 1.6;
    min-height: 100dvh;
    container-name: body;
    flex-direction: column;
    font-family: sans-serif;
    background-color: #dfdddd;
    container-type: inline-size;
} 
/* ----------------------------Header----------------------------------- */
.header {
    display: flex;
    color: #1b1b1b;
    font-size: 0.7rem;
    line-height:normal;
    text-align: center;
    align-items: center;
    filter: invert(100%);
    background-size:cover;
    --size:max(8dvw,80px);
    --size2:max(6dvw,60px);
    justify-content: center;
    height: var(--headerAlto);
    background-image: linear-gradient(#fff,#ffffff54), url(Imagenes/Simulacion.png);
}
header > h1{
    width: 50%;
    --lugar:-100%;
    animation: aparecer 2s cubic-bezier(0.075, 0.82, 0.165, 1);
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
@keyframes aparecer {
    from{
        opacity: 0;
        transform: translateX(var(--lugar));
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }  
}
.header__logo{
    left: 4%;
    width: 17dvw;
    height: 17dvw;
    --lugar:-200px;
    position:absolute;
    animation: aparecer 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.regreso{
    right: 2%;
    opacity: 1;
    width: 13dvw;
    --lugar:100%;
    display: flex;
    height: 13dvw;
    position: absolute;
    align-items: center;
    border-radius: 10px;
    justify-content: center;
    background-color: #363636;
    animation: aparecer 2s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: width 0.3s linear, background-color 0.5s linear, border-radius 0.3s linear;
}
.regreso:hover{
    width: 12dvw;
    border-radius: 50px;
    filter: invert(100%);
    background-color: rgba(55, 51, 94);
}
#regreso-icono{
    margin: 0;
    transform: scale(1);
    color: rgb(248, 248, 248);
}
/* ----------------------------Header ends----------------------------------- */
/* ----------------------------Main----------------------------------- */
main {
    flex-grow: 1;  
    display: flex;
    position: relative;
    flex-direction: column;  
}
article{
    width: 100%;  
    height: 80dvh;
}
article > .article_encabezado{
    height: 10%;
    display: flex;
    padding: 10px;
    display: flex;
    font-size: 0.8rem;
    line-height: normal;
    align-items: center;
    justify-content:space-between;
    background-image: linear-gradient(to top right, rgb(160, 160, 160), rgb(202, 202, 202));
}
.article_enlace{
    width: 140px;
    padding: 5px 0px;
    border-radius: 4px;
    transition: background-color 0.1s linear;
    background-color: rgba(34, 34, 34, 0.863);
    border: 1px rgba(255, 255, 255, 0.301) solid;
}
.article_enlace:hover{
    border: #8b8b8b 1px solid;
    background-color: rgb(124, 124, 124,1);
}
#article_enlace{
    display: flex;
    font-size: 0.63rem;
    align-items: center;
    text-decoration: none;
    color: rgb(228, 228, 228);
    justify-content: space-evenly;
}
.resumen{
    height: 90%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border-top: 20px white solid;
    border-bottom: 20px white solid;
}
.animacion{
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(60deg);
}
.anillo{
    color: wheat;
    display: block;
    border-radius: 50%;
    position: absolute;
    border: 5px solid #ffffff;
    animation: ondita 3s ease-in-out infinite;
    box-shadow: 0 5px 0px #e0e0e0; inset: 0 5px 0 #cfcece;
}
@keyframes ondita {
    0%, 100%{
        transform: translateZ(-100px);
    }
    50%{
        transform: translateZ(100px);
    }
}
aside{
    display: flex;
    flex-direction: column;
    width: 100%;  
    background-color: var(--fondo_articulo);
}
.aside_titulo{
    height: 50px;
    color:#414141;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bolder;
    align-content: center;
    background-image: linear-gradient(to top right, rgb(160, 160, 160), rgb(202, 202, 202));

    }
.aside_catalogo{
    display: flex;
    height: 250px;
    padding: 1rem;
    overflow: auto;
    justify-content:start;
    flex-direction: column;
    background-color: #fff;
    border-top:  10px solid rgb(236, 236, 236);
    border-bottom:  10px solid rgb(236, 236, 236);
}
.cortina_visuales:hover{
    opacity: 1;
    cursor: pointer;
}
.cortina_visuales{
    opacity: 0;
    width: 100%;
    height: 100%;
    display: flex;
    color: white;
    margin: 0px auto;
    font-size: 15px;
    position: absolute;
    align-items: center;
    font-weight: bolder;
    justify-content: center;
    transition: opacity 0.3s linear;
    background-image: radial-gradient(rgba(0, 0, 0, 0.623),rgba(0, 0, 0, 0.863));
}
.palabras_clave{
    height: auto;
    display: flex;
    font-size: 12px;
    min-height: 25%;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    border-radius: 0px 0px 5px 5px;
    background-image:  linear-gradient(to top right, rgb(160, 160, 160), rgb(202, 202, 202));
}
.palabras_clave > h4{
    margin: 0;
    width: 100%;
    height: 40px;
    text-align: center;
    border-radius: 3px;
    color: rebeccapurple;
    justify-content: center;
}
input{
    display: none;
}
.proyecto {
    padding: 0.5rem;
    text-align: justify;
    color: rgb(0, 0, 0);
    border-top: 1px var(--fondo_articulo) solid;
}
.proyecto > label> h2{
    font-size: 1.1rem;
    text-decoration: underline;  
}
.proyecto > label{
    transition: color 0.2s linear;
}
.proyecto > label:hover{
    cursor: pointer;
    color: rgb(124, 124, 124);
}
.proyecto > p{
    font-size: 0.8rem;
    line-height: 15px;
}
.radio_proyecto + section{
    transition: background-image 0.2s linear;
}
.radio_proyecto:checked + section{
    background-image: linear-gradient(to right top, rgba(55, 51, 94, 0.582), transparent);
}
.extra{
    padding:10px;
    display: flex;
    position:relative;
    min-height: 20dvh;
    align-items: center;
    background-size:cover;
    align-content: center;
    justify-content: center;
    background-image: url(Imagenes/fisica2.jfif);
}
.sismos{
    width: 100% !important;
    height: 100% !important;
    overflow-x: scroll !important;
    animation: opacidad 0.2s linear !important;
}
.suicidio{
    height: 400px;
    width: 100% !important;
}
.herramientas{
    width: 30dvh;
    height: 30dvh;
    padding: 20px;
    overflow: hidden;
    color: #020202;
    font-size: 1.3rem; 
    border-radius: 50%;
    text-align: center;
    align-content: center;
    backdrop-filter: invert(100%);
    background-color:rgba(255, 255, 255, 0.527);
}
.herramientas > p{
    font-size: 1rem ;
    line-height: normal;
}
@keyframes aparecer-vert {
    from{
        transform: translateY(200%);
        opacity: 0;
    }
    to{
        transform: translateY(0%);
        opacity: 1;
    }
}
@keyframes opacidad {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
.ventana_viasuales{
    top: 0%;
    left: 0%;
    z-index: 10 ;
    width: 100dvw;
    display: flex;
    height: 100dvh;
    position: fixed;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    background-color: #000000a4;
    animation: aparecer 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.visuales_contenido{
    width: 93%;
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 20px rgb(199, 199, 199);
}
.visuales_imagenes{
    width: 100%;
    height: auto;
    display: flex;
    max-height: 40dvh;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: #020202;
}
.visuales_descripcion{
    flex-grow: 1;
    display: flex;
    align-items: end;
    flex-direction: column;
    background-color:transparent;
}
.boton_cerrar_ventana_emergente{
    font-size: 0.8rem;
    padding: 0px 10px;
    border-radius: 5px;
    color:rgb(51, 51, 51);
    background-color: #cacaca;
    transition: background-color 0.2s linear;
}
.boton_cerrar_ventana_emergente:hover{
    cursor: pointer;
    color: #f3f3f3;
    background-color: rgb(230, 90, 90);
    box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.719);
}
.visuales_descripcion_titulo{
    width: 100%;
    padding: 7px;
    display: flex;
    color: #c9c9c9;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
    text-align: center;
    padding-right: 10px;
    justify-content: space-between;
    background-image:linear-gradient(to top right,rgb(0, 0, 0), rgba(15, 15, 15, 0.541));
}
.visuales_descripcion_titulo > h4{
    flex-grow: 1;
    text-align: center;
}
.visuales_descripcion_texto{
    width: 100%;
    flex-grow: 1;
    hyphens: auto;
    overflow: auto;
    text-wrap: wrap;
    max-height: 40dvh;
    font-size: 0.8rem;
    padding: 10px 20px;
    text-align: justify;
    background-color: #c7c7c7;
    border-radius: 0px 0px 5px 0px;
}
/* ----------------------------Body queries----------------------------------- */
@container body (min-width:600px){
    .header > h1{
        width: auto;
        font-size:calc(1.5rem + 1.5dvw);
    }
    .header__logo{
        left: 2%;
        display: flex;
        width: var(--size);
        height: var(--size);
        flex-direction: column;
    }
    .regreso{
        width: var(--size2);
        height: var(--size2);
    }
    main{
        gap: 10px;
        flex-direction: row;
        padding: 0.6rem 1.5rem 1.2rem 1.2rem;
    }
    aside{
        padding: 5px;
        border-radius: 5px;
        width: min(20%, 1000px);
        box-shadow: 0px 0px 5px rgb(207, 207, 207);
    }
    aside, article, .extra{
        max-height: 90vh;
        min-height: calc(96vh - var(--headerAlto));
    }
    .aside_titulo{
        height: 7%;
        color: #d8d7d7;
        border-radius: 5px 5px 0px 0px; 
        font-size: calc(0.5rem + 0.5dvw);
        background-image: linear-gradient(to top right, #1b1b1b,#333333,#535353);
    }
    .aside_catalogo{
        flex-grow: 1;
        padding: 0.5rem;
    }
    .proyecto > label> h2{
        hyphens: auto;
        font-size: calc(0.3rem + 0.9dvw); 
    }   
    .proyecto > p{
        hyphens: auto;
        font-size: min(0.7rem,calc(0.5rem + 1dvw)); 
    }
    article{
        padding: 5px;
        border-radius: 5px;  
        width: min(65%, 1500px); 
        background-color: var(--fondo_articulo);
        box-shadow: 0px 0px 5px rgb(207, 207, 207);
    }
    article > .article_encabezado{
        padding: 15px;
        border-radius: 5px 5px 0px 0px;
        font-size: calc(0.5rem + 0.7dvw);
    }
    #article_enlace{
        padding: 0;
        font-size: calc(0.3rem + 0.6dvw);
        transition: transform 0.3s;
    }
    #article_enlace_contenedor{
        transition: transform 0.3s, background-color, 0.3s;
        animation: git-appear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    #article_enlace_contenedor:active{
        transform: scale(0.9);
    }
    @keyframes git-appear {
        from{
            transform: scale(0);
        }to{
            transform: scale(1);
        }
    }
    .resumen{
        padding:5px;
        flex-grow: 1;
        border: none;
    }
    .extra{
        padding: 0;    
        border-radius: 5px;   
        width: min(15%, 1000px);
    }
    .herramientas{
        width: 100%;
        height: 100%;
        padding: 10px;
        overflow: hidden;
        color: #e4e4e4;
        border-radius: 0%;
        text-align: center;
        border-radius: 5px;
        align-content: center;
        background-color: #080808a4;
        font-size: calc(0.4rem + 0.8dvw);
        animation: aparecer-vert 3s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .herramientas > p{
        padding: 10px;
        line-height: normal;
        font-size: calc(0.4rem + 0.5dvw);
    }
    .visuales_contenido{
        gap: 5px;
        width: 80%;
        height: 80%;
        flex-direction: row;
    }
    .visuales_imagenes{
        width: 70%;
        overflow: hidden;
        max-height: none;
       }
    .visuales_descripcion{
        width: 30%;
        padding: 7px;
        border-radius: 0px 7px  7px 0px;
        background-color: rgb(219, 219, 219);
    }
    .visuales_descripcion_texto{
        padding: 2dvw;
        line-height:20px;
        max-height: none;
        font-size: calc(0.4rem + 0.6dvw);
    }
    .visuales_descripcion_titulo{
        padding: 10px 0px;
        align-items: center;
        line-height: normal;
        justify-content: space-between;
        border-radius: 0px 5px 0px 0px;
    }
    .visuales_descripcion_titulo, .boton_cerrar_ventana_emergente{
        font-size: calc(0.5rem + 0.6dvw);
    }
    .boton_cerrar_ventana_emergente{
        padding: 7px;
        margin-right: 5px;
    }
    #regreso-icono{
        transform: scale(1.3);
    }
    button{
        transition: transform 0.1s cubic-bezier(0.23, 1, 0.320, 1), filter, 0.1s linear;
    }
    button:hover{
        cursor: pointer;
        filter: hue-rotate(20deg);
        transform: scale(0.8) rotate(45deg);
    }
    .suicidio{
        height: 400px;
    }
}
/* ----------------------------Body queries end----------------------------------- */
footer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, sans-serif;
}
footer ul{
    list-style: none;
}
footer{
    color: rgb(46, 46, 46);
}
footer p{
    color: rgb(63, 63, 63);
    max-width: 25em;
    font-size: 0.9em;
    line-height: 23px;
}
footer a{
    color: rgb(46, 46, 46);
    text-decoration: none;
}
footer h4{
    margin-bottom: 1em;
    text-transform: uppercase;
}
footer .container{
    padding: 1.1em;
    margin: 0 auto;
    max-width: 1200px;
}
.footer{
    filter: invert(100%);
    background-color: rgb(202, 202, 202);
}
.footer::before{
    top: 0;
    left: 0;
    z-index: 0;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
} 
.footer .container{
    position: relative;
}
.footer .footerTop .container, .footer .secondCol, .footer .footerBottom .container{
    gap: 2em;
    display: flex;
    justify-content: space-between;
}
.footerBottom .container{
    padding: 1em 2em;
    align-items: center;
}
.footer .menu li{
    margin-bottom: 0.6em;
}
.footer .menu a:hover{
    color: rgb(129, 129, 129);
}
.redes_footer{
    color: rgb(51, 51, 51);
    display: block;
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1em;
}
.icons li{
    display: inline-block;
    margin: 0.5em 0.5em 0.5em 0;
}
.icons a{
    width: 1.9em;
    height: 1.9em;
    display: flex;
    font-size: 1.1em;
    transition: 0.3s;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 1px #4b4b4b solid;
}
.icons a:hover{
    color: #c9c9c9;
    background-color: rgb(36, 36, 36);
}
@media screen and (max-width: 900px){
    .footer .footerTop .container, .footer .footerBottom .container{
        flex-direction: column;
    }
    .footer .secondCol{
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}