/*Global styles*/
* {
    box-sizing: border-box;
}
html {
    font-size: 100%;
}
body {
    max-width: 1600px;
    margin: 0 auto;
}
.item {
    /*center the contents of the grid items. Make each grid item a Flex container*/
    display: flex;
    /*horizontal and vertical centering*/
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    font-family: sans-serif;
}
.container {
    display: grid;
    grid-template-areas: 1fr;
    grid-template-areas: 
        "header"
        "topNav"
        "narrative"
        "photos"
        "bottomNav"
        "footer";
}

.header {
    background-color: beige;
    grid-area: header;
}
.header h1 {
    font-size: .7rem;
}
.topNav {
    background-color: aquamarine;
    grid-area: topNav;
}
.topNav h3 {
    font-size: .8rem;
}
.narrative {
    background-color: bisque;
    grid-area: narrative;
}
.narrative h3 {
    font-size: .8rem;
    text-align: center;
    padding: 15px;
}
.photos {
    background-color: bisque;
    display: block; /*allows photos bo display in vertical stack*/
    grid-area: photos;
}
.photos img {
    object-fit: cover;
    margin-left: 5%;
    padding: 5%;
    width: 90%;
}
.bottomNav {
    background-color: aquamarine;
    grid-area: bottomNav;
}
.bottomNav h3 {
    font-size: .8rem;
}
.footer {
    background-color: lightgray;
    grid-area: footer;
}
.footer h6 {
    font-size: .5rem;
    text-align: center;
}

/*start CSS for the slideshow page*/


/* media queries to hide the slideshow on small screens and hide the container grid on the large screens and then display the larger slideshow page*/

@media (min-width: 755px) { /*hide the smalll  screen*/
    .smallScreen {
        display: none;
    }
    /*Show these on the larger screens*/
    .logo {
        text-align: center;
    }
    .largeScreen h3 {
        text-align: center;
    }
    .narrative {
        width: 75%;
        margin: 0 auto;
    }
    .footer {
        width: 75%;
        margin: 0 auto;
    }
}

@media (max-width : 750px) { /*hide the large screen*/
    .largeScreen {
        display: none; /*Shows the grid display on smaller screens */
    }
}
