/*CSS reset start*/



    html{
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        background:#f5f5f1;
        height: 100%;
        width: 100%;
        text-rendering:geometricPrecision;
    }

    body {
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Arial', sans-serif;

        background-color: var(--background);

    }

    *{
      box-sizing: border-box;
      padding: 0;
      margin: 0;
    }

    
    h2, h3 {
        font-family: 'helv-regular';
        color: var(--text);
        font-size: calc(4em);
        margin: 0;
    }

    p {
        font-family: 'helv-thin';
        font-size: calc(1rem + 2vw);
        color: black;
    }

    p a, h3 a {
        color: var(--text);
        margin: 0;
    }

    a {
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
        text-decoration-color: #de0000;
        cursor: pointer;
    }

    ul, ol {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    li {
        padding: 0;
    }

    ic {
        font-family: 'icons';
        font-size: calc(0.7em);
    }


    @font-face {
        font-family: 'sligoil';
        src: url(../Assets/Typeface/sligoil.woff2) format('woff2');
    }

    @font-face {
        font-family: 'Helv-regular';
        src: url(../Assets/Typeface/helveticaneue.woff2) format('woff2');
    }

    @font-face {
        font-family: 'Helv-thin';
        src: url(../Assets/Typeface/helveticaneue-thin.woff2) format('woff2');
    }

    @font-face {
        font-family: 'Helv-bold';
        src: url(../Assets/Typeface/helveticaneue-bold.woff2) format('woff2');
    }

    @font-face {
      font-family: 'Material Icons';
      font-style: normal;
      font-weight: 400;
      src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
    }

    @font-face {
        font-family: 'icons';
        font-style: normal;
        src: url('../Assets/Typeface/icomoon.woff') format('woff');
    }














div#allsite {
    display: grid;
    grid-template-columns: 5% 90% 5%;
    /*height: 100vh;
    width: 100vw;*/

}




div.element {
    height: max-content;
}

div.element.center {
    display: flex;
    align-items: center;
    
}









h1 {
    display: flex;
    align-items: center;
    font-family: 'Helvetica', 'helv-bold', 'Arial', 'sans-serif';
    font-weight: 900;
/*    font-weight: bold;*/
    font-size: max(5vw, 5rem);
    margin: 5vh 0 0;
    color: #3a3a3a;
}







div.ascii.desktop {
    position: relative;
    bottom: 8px;
}

pre.bio {
    color: black;
    font-family: monospace;
    font-weight: normal;
    font-size: .25rem;
    font-weight: 700;
    margin: 0;
    text-rendering: geometricPrecision;
}



        span.intro.desktop {
            display: inline-block;
            align-items: baseline;
            margin: 1vh 0 3vh;
        }


        p.desc {
            font-family: sligoil;
            margin: 0;
            font-size: max(2rem, 2vw);
        }











/*MIDDLE*/


div.element.middle {
    padding: 0;
}
div.middle {
    display: flex;
    background-color: hotpink;
    height: 100%;
    width: 100%;
    padding: 1vw 0;
}

ul {
    font-family: 'helv-regular';
    font-weight: normal;

    font-size: max(4vw, 4rem);
}


li {
    display: flex;
    align-items: center;
}

li a {
    color: black;
}

li ic {
    opacity: 0%;
    transition: transform .2s, opacity .2s;
    text-decoration: none;
    color: white;
    transform: translateX(-100%);
    z-index: 0;
    
}

li:hover  ic {
    opacity: 100%;
    text-decoration: none;
    transform: translateX(0%);
}

li:hover a {
    text-decoration: underline;
    text-decoration-color: #de0000;
    text-decoration-thickness: .3rem;
    cursor: pointer;
}












/* FOOTER */



div.element.footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 2rem;
}

div.footeritem {
    font-size: 3rem;
    display: flex;
    align-items: center;
    align-content: center;
/*    margin-left: 3rem;*/
}

div.footeritem ic {
    font-size: 1em;
    padding: 10px 0 0;
}

h3 {
    font-family: 'Helvetica', 'helv-thin', 'Arial', 'sans-serif';
    font-weight: 200;
    font-size: 1em;
    display: flex;
    align-items: center;
    padding: 0 1rem 0 1rem;
    width: max-content;
}


/*CONTACT*/

div#contact a, a:link, a:visited, a:focus, a:hover, a:active {
    display: flex;
    color: var(--text);
    text-decoration: none;
}

div#contact:hover a h3 {
    text-decoration: underline;
    text-decoration-thickness: .25rem;
    cursor: pointer;
}

div#contact a ic {
    font-size: 1em;
    padding: 10px 0 0;
    text-decoration: none;
}

ic.open {
    display: none;
}

div#contact:hover ic.closed{
    display: none;
}

div#contact:hover ic.open{
    display: flex;
    padding: 0 .5px;
}


/*LANGUAGE*/

div#en-pt ic {
    text-decoration: none;
}

div#en-pt h3:hover {
    text-decoration: underline;
    text-decoration-thickness: .25rem;
    cursor: pointer;
}

div#en-pt h3#langactive {
    color: #de0000;
}












legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

legal p {
    font-size: 1rem;
    margin-top: .5rem;
}









/*MOBILE*/



@media (max-width: 800px) {


    #allsite {
        padding-top: 40px;
    }



    div.loadinglogo::after {
      bottom: 0;
      font-size: 1.3em;
    }

    div.loadinglogo {
        font-size: .7em;
    }










/*TITLE*/


    div.element.center {
        justify-content: center;
        align-items: center;
    }


    h1 {
        font-family: 'Helvetica', 'helv-bold', 'Arial', sans-serif;
        font-weight: 900;
        font-size: max(3vw, 3rem);
        margin: 6vh 0 0;
    }








/*    INTRO*/


    span.intro p.desc {
        font-family: sligoil, 'Source Code Pro', monospace;
        margin: 0;
        font-size: 1.2rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    div.ascii {
        position: relative;
        right: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    pre.bio {
        color: black;
        font-family: monospace;
/*        font-size: .3rem;*/
        font-size: .15rem;
        font-weight: 700;
        margin: 0;

    }










/*MIDDLE*/


    div.middle {
        display: flex;
        background-color: hotpink;
        height: 100%;
        width: 100%;
        padding: 4vw 0;
        justify-content: center;
    }




    ul {
        font-family: 'Helvetica', 'helv-regular', 'Arial', sans-serif;
        font-weight: 400;
        font-size: 3rem;
        margin: 0;
    }

/*    li ic {
        opacity: 1;
        transform: translateX(0);
    }

    li:hover  ic {
        opacity: 100%;
        text-decoration: none;
        transform: translateX(0%);
    }

    li a {
        text-decoration: underline;
        text-decoration-color: #de0000;
        cursor: pointer;
    }*/











/*FOOTER*/


    div.element.footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 2rem;
    }
    div.footeritem {
        font-size: 2rem;
    }





    legal {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    legal p {
        font-size: .8rem;
        margin-top: 1.5rem;
    }


}





/*TINY PHONE SCREEN SPEC*/


@media (max-width: 390px) {

    h1{
        font-size: 11.5vw;
    }
    pre.bio {
        font-size: .14rem;
    }

}










