@font-face {
    font-display: swap;
    font-family: 'Montserrat-Regular';
    font-style: normal;
    font-weight: 100 900;
    src:    url("/assets/fonts/montserrat-regular.woff2") format("woff2"),
            url("/assets/fonts/montserrat-regular.ttf") format("ttf"),
            local("Montserrat-Regular");
    unicode-range:  U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
                    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
                    U+A720-A7FF;
}

:root {
    --PRIMARY: #DF9800;
    --SECONDARY: #002FC0;
}

body {
    font-family: Montserrat-Regular, sans-serif;
    font-size: 1rem;
}


/** NAVBAR **/
nav {
    background-color: #FFFFFF;
    border-bottom: 5px solid var(--SECONDARY);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
}

nav * {
    color: var(--PRIMARY);
}

/* NAVBAR - LOGO */
nav > a {
    align-items: center; 
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

nav > a > h1 {
    font-size: 1.5rem;
}

nav > a > img {
    margin: 0 0.5rem;
    width: 2.5rem;
}

/* NAVBAR - MENU */
nav > div {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 1.5rem;
}


nav > div > label > span {
    color: var(--SECONDARY);
    display: flex;
    margin: 1rem;
    font-size: 2rem;
}


#navbar-menu-is-display {
    display: none;
    visibility: hidden;
}


#navbar-menu-is-display:checked ~ #navbar-links {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    visibility: visible;
}

/* NAVBAR - MENU - ITEMS */
#navbar-links {
    display: none;
    text-align: right;
}

#navbar-links > a {
    color: var(--SECONDARY);
    line-height: 2.5rem;
    margin: 0 1rem;
}

#navbar-links > a:hover {
    border-bottom: 2px solid var(--PRIMARY);
}

/* SECTIONS */
hr {
    background-color: var(--PRIMARY);
    color: var(--PRIMARY);
}

.brochure {
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 0 2rem;
    padding: 2rem 0;
    line-height: 1.5rem;
}

.brochure > h2 {
    font-size: 1.75rem;
    margin: 1rem 0;
}

.brochure > div > img {
    max-width: 100%;
}

.brochure > div > div > p {
    font-size: 1rem;
    line-height: 1.75rem;
    padding: 1rem 0 0 0;
}

/* TULES */
#tules-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    line-height: 1.5rem;
    margin: 1rem auto;
    padding: 1rem 1rem 3rem 1rem;
}

.tule {
    color: #333;
    border: 3px solid var(--SECONDARY);
    border-radius: 1rem;
    box-shadow: 1px 0 2px #aaa, -1px 0 2px #aaa, 0 1px 2px #aaa, 0 -1px 2px #aaa;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin: 1rem 0.5rem;
    text-decoration: none;
}

.tule:hover {
    border-color: var(--PRIMARY);
}

.tule > div {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    margin: 0.5rem;
}

.tule > div > h3 {
    margin: 0.5rem 0 0 0.5rem;
    font-size: 1.5em;
}

.tule > div > p {
    font-size: 0.9em;
    margin: 1rem 0.5rem;
}

.tule > img {
    margin: 1rem;
    height: 6rem;
    width: 6rem;
}


/* LEGAL */
#legal {
    background-color: #111111;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    padding: 3rem;
}

#legal > section {
    margin: 0 0 3rem 0;
}

#legal > section > h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

#legal > section > p {
    font-size: 1rem;
    margin-top: 0.5rem;
}

#legal > section > p > img {
    max-height: 1.5rem;
}


@media screen and (min-width: 768px) {
    /** NAVBAR - MENU - BUTTONS */
    nav * {
        line-height: 3rem;
    }

    nav > div > label > span {
        display: none;
    }

    /* NAVBAR - MENU - ITEMS */
    #navbar-links {
        display: flex;
        flex-direction: row;
        font-size: 1rem;
        visibility: visible;
    }

    #navbar-links > a {
        line-height: 3rem;
        padding: 0 1rem;
    }

    /* SECTIONS */
    .brochure {
        flex-direction: column;
        justify-content: space-around;
        margin: auto;
        margin-top: 1rem;
        width: 75vw;
    }

    .brochure > h2 {
        font-size: 2rem;
        margin: 1rem 0;
    }

    .brochure > div {
        display: flex;
    }

    .brochure > div > img {
        margin: 2rem;
        max-width: 25vw;
    }

    .brochure > div > div > p {
        padding: 2rem 0 0 0;
    }

    #tules-panel {
        flex-direction: row;
    }

    .tule {
        flex-direction: column;
        max-width: 225px;
    }

    .tule > * {
        text-align: center;
    }
    .tule > img {
        margin: auto;
        height: 10rem;
        width: 10rem;
    }

    #legal {
        display: flex;
        flex-direction: row;
        padding : auto ;
    }
    #legal > section {
        margin: 0 auto;
    }

}
