* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

/* ============ phone/portrait tablet styles and bigger ========== */

body {
    background-color: rgb(37, 61, 61);
    font-family: verdana;
    color: #EEE;
}

.container {
    margin: 4px 8px;
}

.nav-primary>a {
    text-decoration: none;
    color: white;
    border: 2px solid black;
    padding: 8px 12px;
    background-color: teal;
}
.nav-primary .desktop {
    border: 8px solid pink;
    display:none;
}
.nav-primary .phone {
    border: 4px solid orangered;
    display: inline-flex;
}



.page-header {
    background-color: rgb(163, 65, 8);
    min-height: 80px;
    line-height: 80px;
    text-align: center;
}

.page-body {
    display: flex;
    flex-flow: row wrap;
}

.nav-primary {
    background-color: rgb(92, 150, 34);
    color: black;
    min-height: 70px;
    flex-basis: 260px;
    flex-grow: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px 8px;

}

article {
    background-color: rgba(255, 255, 255, .7);
    color: blue;
    flex-grow: 1;
    flex-basis: auto;
}

article>header {
    background-color: rgb(192, 45, 0);
    min-height: 60px;
    margin: 8px;
    color:#EEE;
    padding:8px;
}

header+figure.art-hero {
    background-color: yellow;
    min-height: 200px;
    margin: 8px;
    background-image: url(../images/c3p0.jpg);
    background-size: cover;
    background-position: center;
    aspect-ratio: 1;
    color:yellow;
    text-shadow:1px 2px black;
}

article p {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.4;
    margin: .2em 8px 1em 8px;
}


/* ============ landscape tablet and bigger ============= */
@media screen and (min-width: 1020px) {
    body {
        background-color: rgb(0, 94, 31);
    }

    .nav-primary {
        flex-grow: 0;
    }
    .nav-primary .desktop {
        display: inline;
    }

    article {
        flex-basis: 340px;
    }

    article>header {
        margin: 0px;
    }

    .page-header {
        text-align: left;
    }

    header+figure.art-hero {
        margin: 16px;
        width: 260px;
        aspect-ratio: 1;
        float: left;
    }

    article>p:nth-of-type(1) {
        color: red;
    }

    article>p:nth-of-type(1)::first-letter {
        display: block;
        color: red;
        font-size: 3em;
        float: left;
        padding-right: 10px;
        line-height: 0.65;
        margin: 0.3em 0.1em 0.2em 0;


    }

}

/* end of wide-screen styles */