@font-face {
    font-family: 'dela_gothic_one';
    font-display: swap;
    src: url(../font/DelaGothicOne/DelaGothicOne-Regular.woff2);
}

@font-face {
    font-family: 'red_hat';
    font-display: swap;
    src: url(../font/RedHatDisplay/RedHatDisplay-Variable.ttf);
}

@font-face {
    font-family: 'red_hat_it';
    font-display: swap;
    src: url(../font/RedHatDisplay/RedHatDisplay-VariableItalic.ttf);
}



/* GENERAL --------------------------------------------------------------------------------------------------------*/
*{
    padding: 0%;
    margin: 0%;
}

:root{
    --border: 2px solid black;
    --text_decoration: 2px solid underline black;
    --background_white: white;
    --transition: 150ms background-color;
}

::selection{
    background-color: black;
    color: white;
}

a{
    color: unset;
    text-decoration: unset;
}

em{
    font-style: normal;
    font-family: "red_hat_it";
}

strong{
    font-weight: normal;
    font-family: "red_hat";
    font-variation-settings: 'wght' 700;
}

h1, h2, h3{
    font-weight: unset;
}

h1 p{
    transform-origin: center;
    width: fit-content !important;
    transition: 150ms all;
}

h1:hover p{
    text-decoration: var(--text_decoration);
    rotate: -5deg;
}

#empty{
    display: none;
    cursor: default;
}

#empty p{
    text-decoration: none !important;
    rotate: 0deg !important;
}

/* CONTAINER --------------------------------------------------------------------------------------------------------*/
body{
    width: 100vw;
    height: 100vh;
    padding: 3%;
    box-sizing: border-box;
    background-color: var(--background_white);
    transition: var(--transition);
}

#general_container{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background-color: transparent;
    border: var(--border);
    font-family: 'dela_gothic_one';  
}



/* HEADER -----------------------------------------------------------------------------------------------------------------------*/
.nav_header{
    position: sticky;
    z-index: 10000000;
    top: 0%;
    left: 0%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-bottom: var(--border);
    box-sizing: border-box;
    height: 10.5vh;
    width: 101%;
    background-color: var(--background_white);
}

.nav_header h1{
    font-variation-settings: 'wght' 700;
    font-size: clamp(1.5rem, 1.5vw, 3rem);
    line-height: 1.2;
    min-width: fit-content;
    white-space: nowrap;
}

.nav_header h1 strong{
    font-family: "dela_gothic_one" !important;
}

.nav_header h1 em{
    font-size: clamp(1.3rem, 1.4vw, 3rem);
    font-family: 'red_hat';
    font-variation-settings: 'wght' 450;
}

.nav_header h1 p, .nav_header h2 p, .nav_header h2 a{
    width: 100%;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box;
}

.nav_header h1 p{
    align-items: flex-start;
    padding: 25px 60px;
}

.nav_header h1, .nav_header h2{
    background-color: var(--background_white);
}

.active{
    text-decoration: var(--text_decoration);
    rotate: -12deg;
}

@media screen and (max-width: 1500px) {
    /* .nav_header h2{
        width: 100%;
    } */

    .nav_header h2:last-of-type{
        border-right: none;
    }

    .nav_header h2 p, .nav_header h2 a{
        padding: 20px 30px;
    }

    .active{
        text-decoration: var(--text_decoration);
        rotate: -7deg;
    }
}

/* MOBILE -----------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1290px) {
    body{
        height: 100svh;
    }

    .nav_header{
        height: fit-content;
        flex-wrap: wrap;
    }

    .nav_header h1{
        font-size: clamp(1.55rem, 1.4vw, 3rem);
        width: 100%;
    }

    h1:hover p{
        text-decoration: none !important;
        rotate: 0deg !important;
    }

    .nav_header h1 p{        
        padding: 20px 30px;
    }

    .nav_header h1 p em{        
        font-size: clamp(1.35rem, 1.4vw, 3rem);
    }

    .nav_header h1 p, .nav_header h2 p, .nav_header h2 a{        
        box-sizing: border-box;
    }

    .nav_header h1, .nav_header h2{        
        border: none !important;
        height: fit-content !important;
        outline: var(--border);
        background-color: white;
    }

    .nav_header h1 em{   
        font-size: clamp(1.3rem, 1.4vw, 3rem);     
    }

    .nav_header h2{   
        font-size: clamp(1.2rem, 1.3vw, 3rem);
        width: 33.33%;
    }

    .nav_header h2 p, .nav_header h2 a{        
        width: 100%;
        height: 100%;
        padding: 12px 0px 15px 0px;
    }

    #empty{
        display: block;
    }
}

@media screen and (max-width: 700px) {
    .nav_header h1{
        font-size: clamp(1.2rem, 1.5vw, 3rem) !important;
    }

    .nav_header h1 em{
        font-size: clamp(1.2rem, 1.4vw, 3rem) !important;
    }

    .nav_header h1 p{
        padding: 11px 15px 15px 18px !important;
    }

    .nav_header h2{   
        width: 50%;
    }

    .nav_header h2 p{
        font-size: clamp(.9rem, 1.3vw, 3rem);
        padding: 9px 0px 12px 0px;
    }
}