@charset "utf-8";
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/latin_ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    margin: 0;
	box-sizing: border-box;
    font-family: "Nunito";
}

html {
	-webkit-text-size-adjust: 100% !important;
}

h1, h2, h3, h6, ul {
    margin-block: 0;
    margin-inline: 0;
    padding-inline: 0;
    font-weight: inherit;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.5rem 0;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,.15);
    background-color: white;
    z-index: 1;
}

header > ul {
    display: none;
    margin-top: 0.5rem;
    height: 0;
    overflow: hidden;
    font-size: 1.2rem;
    text-align: center;
    list-style-type: none;
    transition: 200ms;
}

header > ul > li{
    padding: 0.7rem;
}

header > ul > li > a {
    margin: auto;
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    transition: 200ms;
}

header > ul > li > a:hover {
    color: #0f9015;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 1rem;
    cursor: pointer;
}

nav > img {
    height: 4rem;
}

nav > img:last-of-type {
    display: none;
}

nav > h6 {
    width: 0%;
    margin-left: 0.5rem;
    font-size: 1.1rem;
    white-space: nowrap;
}

header > div {
    display: flex;
    justify-content: space-between;
}

header > div > div {
    padding: 0 1rem;
    transform: rotate(90deg);
    font-size: 2rem;
    text-align: center;
    line-height: 2;
    cursor: pointer;
}

section {
    margin-top: -3rem;
    padding: 7.5rem 2.5% 3rem;
}


footer {
    width: 90%;
    margin: auto;
    padding: 1rem;
    border-top: solid thin black;
    font-size: 1rem;
    text-align: center;
}

footer p, footer a {
    margin-bottom: 0.5rem;
    font-size: inherit;
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    header {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
    }
    
    header > ul {
        display: flex!important;
        margin: 0;
        flex-direction: row;
        align-items: center;
        height: auto!important;
        width: 50%;
        font-weight: 400;
        transition: none!important;
    }
    
    header > ul > li {
        flex: 25%;
        padding: 0;
    }
    
    header > div {
        display: block;
    }

    header > div > div {
        display: none;
    }

    section {
        padding-left: 6.25%;
        padding-right: 6.25%;
    }

    footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 95%;
        padding: 1.5rem;
    }
    
    footer p {
        margin: 0;
    }
}

@MEDIA screen and (min-width: 1280px) {
    header > ul {
        width: 40%;
        font-size: 1.3rem;
    }

    nav > img {
        height: 4.5rem;
    }

    section {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@MEDIA screen and (min-width: 1500px) {
    section {
        padding-left: 15%;
        padding-right: 15%;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: #E8EAED;
    }

    header {
        box-shadow: 0 5px 8px 0 rgba(255, 255, 255, 0.15);
        background-color: black;
    }

    footer {
        border-top: solid thin #E8EAED;
    }

    nav > img:first-of-type {
        display: none;
    }

    nav > img:last-of-type {
        display: block;
    }
}