/*Global styles*/
* {
    box-sizing: border-box;
}
html {
    font-size: 100%;
}
body {
    max-width: 1080px;
    margin: 0 auto;
}
.item {
    /*center the contents of the grid items. Make each griditem a Flex container */
    display: flex;
    /*horizontal andvertical 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"
        "slideshow"
        "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: .7rem;
    text-align: center;
    padding: 15px;
}
.photos {
    background-color:bisque;
    display: block;     /*allows photos to display in vertical stack */
    grid-area: photos;
}
.photos img {
  object-fit: cover;
    margin-left: 5%;
    padding: 5%;
  width: 90%;
}

.slideshow {
    background-color: cadetblue;
    grid-area: slideshow;
}
.bottomNav {
    background-color: aquamarine;
    grid-area: bottomNav;
}
.bottomNav h3 {
    font-size: .8rem;
}
.footer {
    background-color: lightgray;
    grid-area: footer;
}
.footer h6 {
    font-size: .4rem;
    text-align: center;
}

/*css for the photoshow page */



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

@media (min-width: 755px) {   /*hide the small screen*/
    .smallScreen {
        display: none;
    }
    .logo {
        text-align: center;
    }
    .photoShow h3 {
        text-align: center;
    }
}

@media (max-width: 750px) {   /*hide the large screen*/
    .photoShow {
        display: none;
    }
}