* {
    margin: 0; 
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

/* ======= Mobile/Portrait Tablet Styles and Bigger ======= */

body {
    background-color: white;
    color: #345;
    font-family: verdana;
}

.container {
    margin: 4px 8px;
}

.header-primary {
    background-color: rgb(37, 37, 178);
    color: white;
    min-height: 80px;
    text-align: center;
    
}

.page-body {
    display: flex;
    flex-flow: row wrap;
}

.nav-primary {
    background-color: rgb(20, 164, 200);
    min-height: 70px;
    flex-grow: 1;
    flex-basis: 260px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px 0px;
}

.nav-primary a {
    padding: 8px 12px;
    background-color: rgb(70, 204, 237);
    color: #234;
    text-decoration: none;
}

.nav-primary .desktop {
    border: 2px solid darkblue;
    display: none;
}

.nav-primary .phone {
    border: 4px solid darkblue;
    display: inline;
}

main {
    background-color: rgba(255, 255, 255, 0.7);
    flex-basis: 340px;
    flex-grow: 1;
}

main > header {
    background-color: rgb(189, 136, 210);
    min-height: 60px;
    margin: 8px;
    color: white;
}

header + figure.hero {
    background: rgb(152, 238, 255);
    min-height: 200px;
    margin: 8px;
    background-image: url(../cis195-images/dark_blue_galaxy.jpg);
    background-size: cover;
    background-position: center;
}

main p {
    font-size: 1.2em;
    line-height: 1.4;
    margin: .2em 8px 1em 8px;
}

main footer {
    background-color: rgb(80, 76, 102);
    color: white;
    min-height: 60px;
}

/* ======= Landscape Tablet and Bigger ======= */

@media screen and (min-width: 1020px) {

    .header-primary {
        text-align: left;
    }
    
    .nav-primary {
        flex-grow: 0;

    }

    .nav-primary .desktop {
        display: inline;
    }

    main > header {
        margin: 0px;
    }

    header + figure.hero {
        margin: 16px;
        width: 260px;
        aspect-ratio: 1;
        float: left;
    }

    main > p:nth-of-type(1) {
        margin-top: 16px;
    }

    main > p:nth-of-type(1)::first-letter {
        display: block;
        color: darkblue;
        font-size: 3em;
        float: left;
        padding-right: 8px;
    }

}
/* ======= End of Wide-Screen Styles ======= */