* {
    --brandDark: #133554;
    --brandLight: #3d94bf;
    --brandBright: #f3fdff;
    
    font-family: Verdana;
    scroll-behavior: smooth;
    box-sizing: border-box;
    padding:0;
    margin:0;
}

body {
    color: var(--brandDark);
    min-height: 100dvh;
    font-size: 12pt;
    width:100%;
    background-color: var(--brandBright);
}

a {
    color: var(--brandDark);
    text-decoration: none;

    &:hover {
        color: var(--brandLight);
        text-decoration: underline;
    }
}

section {
    line-height: 2em;
    color: var(--brandDark);
    background-color: var(--brandBright);
    padding-bottom:0;

    > div {
        max-width:800px;
        margin: 0 auto;
        text-align: justify;
        padding: 2em 1.5em;
    }

    a {
        color: var(--brandLight);

        &:hover {
            color: var(--brandDark);
        }
    }

    ul {
        text-align:left;
    }
}

section:nth-of-type(2n+1) {
    color: var(--brandBright);
    background-color: var(--brandDark);

    a {
        color: var(--brandBright);

        &:hover {
            color: var(--brandLight);
        }
    } 
}

section:first-of-type {
    text-align:center;
    padding:1em;
    font-size:75%;
}

img.splitter {
    display:block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

footer {
    text-align: center;
    padding: 1em 0;
    font-size: 10pt;
    background-color: var(--brandBright);
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100dvh;
    text-align: center;
    font-size: 30pt;
    color: var(--brandBright);
    background-image: url('images/hero.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    > div {
        max-width: 800px;
    }
}

header {
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    width:100%;
    top: 0;
    left:0;
    right:0;
    z-index: 1;
    padding: 0;
}

nav {
    margin: 0.5em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3.5em;
    
    img {
        width: 128px;
    }

    a {
        padding: 0em 1em;
        white-space: nowrap;
    }
}

header, #mobilenav {
    background-color: var(--brandBright);
    box-shadow: 0em 0.5em 1em rgba(0,0,0,0.3);
}

label, h1, img, nav, #hero, #mobilenav {
    user-select: none;
}

label + a, label + b {
    padding: 0.5em;
}

h1 {
    margin: 1em 0;
    padding: 0 1em;
    font-weight: bold;
    text-align: center;
}

#mobilenav {
    display: none;
    position: fixed;
    top: 0;
    left:0;
    right:0;
    width:100dvw;
    z-index: 1;

    img {
        width: 128px;
        
    }

    > summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 120%;
        padding: 0.5em 0.75em;
    }

    ul {
        list-style: none;
    }

    a {
        display: block;
        padding: 0.5em 0.5em;
        font-size: 120%;
    }
}

td:first-child{
    font-weight:bold;
    padding-right:1em;
    vertical-align: top;
}

@media only screen and (max-width: 800px) {
    #mobilenav {
        display: block;
    }
    header {
        display: none;
    }
    td {
        display:block;

        &:first-child {
            font-weight:bold;
            padding-top:1em;
        }
    }
}
