* {
    margin: 0;
    padding: 0;
    bottom: 0;
    box-sizing: border-box;
}

/* ======Mobile/portrait tablet Styles and bigger====== */

body {
    background-color: #dfd;
    color: #345;
    font-family: verdana;
}

.container {
    /* border: 2px solid red; */
    margin: 4px 8px;
}

.page_header {
    background-color: rgb(20,20,200);
    color: rgb(240,240,240);
    min-height: 80px;
    text-align: center;
}

.page_body {
    display: flex;
    flex-flow: row wrap;
}

.navigation {
    background-color: rgb(255,165,0);
    min-height: 70px;
    flex-basis: 260px;
    flex-grow: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px 0px;
}

.navigation a {
    border: 2px solid green;
    padding: 8px 12px;
    background-color: rgb(255,195,40);
    color: #234;
    text-decoration: none;
}

.navigation .desktop {
    border: 2px solid hotpink;
    display: none;
}

.navigation .phone {
    border: 4px solid red;
    display: inline;
}

article.body {
    background-color: rgba(255,255,255.7);
    flex-grow: 1;
    flex-basis: auto;
}

.body_header {
    background-color: rgb(20,200,20);
    min-height: 60px;
    margin: 8px;
}

header + figure.hero_image {
    background-color: rgb(220,220,20);
    min-height: 200px;
    margin: 8px;
    background-image: url(/cis195/images/ai_pnw.png);
    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: rgb(100,100,100);
    color: #eee;
    min-height: 60px;
}

/* =====landscape tablet and bigger===== */

@media screen and (min-width: 1020px) {

    .page_header {
        text-align: left;
    }

    .navigation {
        flex-grow: 0;
    }

    .navigation .desktop {
        display: inline;
    }

    article.body {
        flex-basis: 400px;
    }

    .body_header {
        margin: 0;
    }

    header + figure.hero_image {
        margin: 16px;
        width: 260px; aspect-ratio: 1;
        float: left;
    }

    .body > p:nth-of-type(1) {
        margin: 16px;
    }

    .body > p:nth-of-type(1)::first-letter { 
        display: block;
        color: darkred;
        font-size: 3em;
        float: left;
        padding-right: 8px;
        
    }

} /* end of wide-screen styles */