* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    font-size: 62.5%;
}

/* Mobile */

body {
    background-color: #EEE;
    color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#container {
    margin: 4px 8px;
}

#container > header {
    background-color: blue;
    min-height: 100px;
    padding: 20px;
    text-align: center;
}
#container > header h1 {
    background-color: lightblue;
    min-height: 60px;
    padding: 16px;
}

div#landscape {
    display: flex;
    flex-flow: row wrap;
}

nav.navbar {
    background-color: red;
    min-height: 50px;
    justify-content: space-evenly;
    flex-basis: 300px;
    flex-grow: 1;
    display: flex;
    flex-flow: row wrap;
}
nav.navbar a {
    background-color: rgb(226, 174, 174);
    min-width: 25%;
    min-height: 30px;
    margin: 10px;
    text-align: center;
    padding: 8px 0;
    font-size: 1.4em;
}
nav.navbar .desktop {
    border: 2px solid darkred;
    display: none;
}
nav.navbar .phone {
    border: 4px solid hotpink;
    display: inline;
}

article {
    background-color: white;
    flex-basis: auto;
    flex-grow: 1;
}

article header {
    background-color: lightgreen;
    min-height: 60px;
    margin: 10px;
    text-align: center;
    padding: 16px;
}

figure {
    background-color: yellow;
    min-height: 200px;
    margin: 10px;
    background-image: url(../images/deer-big.jpg);
    background-size: cover;
    background-position: center;
}

section {
    min-height: 100px;
    padding-bottom: 50px;
}
article section p {
    font-size: 1.6em;
    line-height: 1.4;
    margin: .2em 10px 1em 10px;
}

/* Landscape */

@media screen and (min-width: 1020px) {

    div#landscape {

    }

    #container > header {
        text-align: left;
    }

    nav.navbar {
        flex-grow: 0;
        flex-direction: column;
        gap: 4px;
        justify-content: left;
    }

    nav.navbar a {
        flex-grow: 1;
        min-width: none;
        max-height: 40px;
    }

    nav.navbar .desktop {
        display: inline;
    }
    nav.navbar .phone {
        border: 2px solid darkred;
        display: inline;
    }

    article {
        flex-basis: 400px;
    }

    article header {
        margin: 0;
        text-align: left;
    }

    article figure {
        aspect-ratio: 1;
        float: left;
        margin: 16px;
        width: 260px;
    }

    article section p:nth-of-type(1) {
        margin-top: 16px;
    }


} /*  End of Widescreen Styles */

