/*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"
        "nav1"
        "narrative"
        "photos"
        "nav2"
        "footer"
        ;
}
.header {
    background-color: beige;
    grid-area: header;
}
.header h1 {
    font-size: .7rem;
}
.nav1 {
    background-color: aquamarine;
    grid-area: nav1;
}
.nav1 h3 {
    font-size: .8rem;
}
.narrative {
    background-color: bisque;
    display: block;
    grid-area: narrative;
}
.narrative h3 {
    font-size: .7rem;
    text-align: center;
    padding: 15px;
}
.links {
    margin-left: 10%;
}
.links a {
   padding: 10px;
   font-size: .7rem;
}
.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%;
}
.photos p {
    text-align: center;
    font-size: 1.5rem;
}
.photos a {
    font-size: 1.2rem;
    margin-left: 10%;/
}

.nav2 {
    background-color: aquamarine;
    grid-area: nav2;
}
.nav2 h3 {
    font-size: .8rem;
}
.footer {
    background-color: lightgray;
    grid-area: footer;
}
.footer h6 {
    font-size: 1rem;
    text-align: center;
}



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

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