body {
    margin: 0;
    font-family: sans-serif;
}

header {
    margin: 50px 0 25px 0;

    a#banner {
        display: block;
        text-align: center;
    }

    img {
        width: 33%;
    }

    @media (width <= 800) {
        img {
            width: 90%;
        }
    }

    /* TODO at width <= 800px switch to menu */
    nav {
        display: flex;
        justify-content: center;
        white-space: nowrap;

        a {
            padding: 1em 0.5em;
            margin: 0 0.5em;
            font-weight: 500;
            text-decoration: none;
            color: black;
        }
    }
}

div#banner {
    position: relative;

    img {
        display: block;
        width: 100%;
        object-fit: cover;
    }

    h1 {
        position: absolute;
        top: 40%;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        font-size: calc(3 * 1vw + 1rem);
        font-weight: 500;
        color: white;
    }

    @media (orientation: portrait) {
        h1 {
            top: 38%;
            font-size: calc(2 * 1vw + 1rem);
        }
    }
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-around;

    /*
    img, nav, div#etc {
        display: inline-block;
    }
    */
}
