/*Global Styles*/
* {
    box-sizing: border-box;
}
body {
    max-width: 1920px;
    margin: 0 auto;
    background-color: antiquewhite;
}

/*Each item in the grid contains words */
.item {
    /*Center the contents of the grid items. Making each grid item a Flex Container. */
    display: flex;
    /*Horizontal and veritcal centering */
    justify-content: center;
    align-items: center;
    /*border: 5px solid #87b5ff;*/
    border-radius: 3px;
    font-family: sans-serif;
    
}

/*CSS Grid Styles */

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        "top top top"
        "item1 item1 item1"
        "left center center"
        "... center center"
        "bottom bottom bottom";
}
.header {
     background-color: aqua;
     width: 98%;
    margin: 0 auto;    
    height:auto;
    padding: 10px;
    box-shadow: 10px 10px 5px #888888;
    grid-area: top;
   
}
.smallNav {
	display:none;
}
.nav {
    max-height: 500px;
    border-right: 1px solid black;
    grid-area: left;
    
}
.nav ul li {
    padding: 5px;
}
.nav ul li:first-child {
    text-align: center;
    font-size: 20px;
    border-bottom: 1px solid black;
}

.comment {
   /* background-color:bisque;*/
    grid-area: item1;
}
.intro h2 {
    text-align: center;
}
.intro p {
    padding: 20px;
}
.content {
    padding-right: 20px;
    grid-area: center;
    
}
.photoList  h4 {
    text-align: center;
}
.footer {
    background-color: darkgrey;
    grid-area: bottom;
}

.nav ul {
    list-style: none;
}

@media (max-width: 750px) {
    .container {
        display: grid;
        grid-template-areas: 
            "top top top"
            "left left left"
            "item1 item1 item1"
            "center center center"
            "bottom bottom bottom";
    }
    .header {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
   
   
    .footer h6 {
        padding-left: 40px;
        padding-right: 40px;
        text-align: center;
    }
}

@media screen and (max-width:750px) {
    .header h1 {
        font-size: 10pt;
    }
    .nav {
    display: none;
  }
     .smallNav {
		 display: flex;
		 width:300px;
		justify-content: center;
	   
	}

  }

@media screen and (max-width: 500px) {
    .header h1 {
        font-size: 8px;
    }
    .nav {
        margin-top: 40px;
    }
}

@media only screen and (max-width : 320px) and (orientation: portrait)   {
    body {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        
    } 
    .header h1 {
        font-size: 6pt;
    }
    .footer h6 {
        padding-left: 40px;
        padding-right: 40px;
        text-align: center;
    }
 
}
