@media (max-width: 1780px) {
    
}
@media (max-width: 1680px) {
    
}
@media (max-width: 1590px) {
    
}
@media (max-width: 1440px) {
    header .header-container div {
        width: 700px;
    }
}
@media (max-width: 1200px) {
    /* :root {
        --lg: 50px;
        --nrm: 20px;
        --sm: 16px;
        --md: 32px;
        --xs: 12px;
    } */
    #diplomas .contentDiplomas {
        grid-template: auto / repeat(3, calc(96% / 3));
    }
    header .header-container div h1 {
        font-size: var(--lg);
    }
    header .header-container div {
        width: 600px;
    }
    header .header-container, section main > article,
    nav > article {
        width: 90%;
    }
}
@media (max-width: 1100px) {
    header .header-container{
        flex-direction: column-reverse;
        padding: 2em 0;
    }
    header .header-container div {
        width: 90vw;
        margin: 0;
        text-align: center;
        margin-top: 2em;
    }
}
@media (max-width: 992px) {
    article#proyectosDestacables .ProjectContainer,
    #diplomas .contentDiplomas {
        grid-template: auto / repeat(2, calc(98% / 2));
    }
}
@media (max-width: 768px) {
    :root {
        --xl: 50px;
        --lg: 34px;
        --md: 24px;
        --nrm: 14px;
        --sm: 12px;
        --xs: 10px;
    }
    nav { 
        position: relative;
        padding-top: 1em;
    }
    nav > article:first-of-type {
        display: none;
    }
    nav > article:last-of-type ul {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 80vw;
        background-color: var(--black_1);
        flex-direction: column;
        padding: 2em;
        transition: all .2s;
        z-index: 5;
        right: -100%;
    }
    nav > article:last-of-type ul.open {
        right: 0;
    }
    nav > article:last-of-type ul li a {
        padding: 1em;
        display: block;
        /* border-bottom: 1px solid var(--white); */
        font-size: 1.2rem;
    }
    nav > article:last-of-type .onlyMob { display: block; }
    nav > article:last-of-type ul li a::after { content: unset; }
    nav > article:last-of-type ul li a span i { margin-right: 10px; }
    header .header-container {
        padding: 1em 0;
    }
    header .header-container img {
        height: 35vw;
        width: 35vw;
    }
    article#proyectosDestacables .ProjectContainer,
    #diplomas .contentDiplomas {
        grid-template: auto / 100%;
    }
    section main > article {
        margin-bottom: 40px;
    }
    nav svg {
        width: 4rem!important;
    }
    nav > article:last-of-type button#openNav {
        font-size: 2rem;
    }
    .modal {
        top: calc((100dvh - 50dvh) / 2);
        left: calc((100vw - 95vw) / 2);
        width: 95vw;
        height: 50dvh;
    }
    .modal .header {
        height: 10%;
    }
    .modal .content {
        height: 90%;
    }
}
@media (max-width: 560px) {
    
}
@media (max-width: 530px) {
    :root {
        --lg: 30px;
        --md: 20px;
        --nrm: 12px;
        --sm: 10px;
        --xs: 9px;
    }
    header .header-container img {
        height: 45vw;
        width: 45vw;
    }
}
@media (max-width: 425px) {
    
}
@media (max-width: 406px) {
    
}