* {
    margin: 0; padding: 0; border: 0;
    box-sizing: border-box;
}

/* ========== MOBILE STYLES AND BIGGER ======== */

body {
    background-color: lightgreen;
    color: #345;
    font-family: verdana;
}

.container {
    margin: 4px 8px;
}

.header-primary {
    background-color: grey;
    min-height: 80px;
    color: dark blue;
    text-align: center;
}

.page-body {
    display: flex;
    flex-flow: row wrap;
}

.nav-primary {
    background-color: rgb(165, 68, 84);
    min-height: 70px;
    flex-grow: 1;
    flex-basis: 260px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px 8px;
}

.nav-primary a {
    padding: 8px 12px;
    background-color: lightcyan;
    color: darkblue;
    text-decoration: none;
}

.nav-primary .desktop {
    border: 2px solid #234;
    display: none;
}

.nav-primary .phone {
    border: 4px solid darkgrey;
    display: inline;
}

article {
    background-color: lightpink;
    flex-grow: 1;
    flex-basis: auto;
}

article h2 {
    background-color: #EEE;
    min-height: 60px;
    margin: 8px;
}

header + figure.hero {
    background-color: purple;
    aspect-ratio: 2/1;
    min-height: 200px;
    margin: 8px;
    background-image: url(../images/3-people.jpg);
    background-size: cover;
    background-position: center;
}

article p{
    font-size: 1.2em;
    line-height: 1.4;
    margin: .2em 8px 1em 8px;
}

article footer {
    background-color: lightblue;
    color: #EEE;
    min-height: 60px;
}

/* ========== LANDSCAPE TABLET AND BIGGER ======== */

@media screen and (min-width: 1020px) {

    .header-primary {
         text-align: left;
    }

    .nav-primary {
        flex-grow: 0;
    }

    article {
        flex-basis: 400px;
    }

    article h2 {
        margin: 0px;
    }

    header + figure.hero {
        margin: 16px;
        width: 260px;
        aspect-ratio: 1;
        float: left;
    }

    article > p:nth-of-type(1) {
        margin-top: 16px;
    }

    article > p:nth-of-type(1)::first-letter {
        display: block;
        color: lightsteelblue;
        font-size: 3em;
    }

    .nav-primary .desktop {
        display: inline;
    }

}

