/* RESET */

* {
  margin:0;
  padding:0;
}


/* SITEWIDE STYLES */

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  color: #222;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size:18px;
}
  
p {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size:18px;
  color: #222;
  line-height: 2em;
}

ul, ol {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size:18px;
  color: #222;
  line-height: 2em; 
}

a {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  text-decoration:none;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}


/* CONTAINERS */

.headerwrapper {
  margin-right: auto;
  margin-left:  auto;
  padding: 50px 10%;
  /*background-color:#fcfcfc;
  border-bottom: 2px solid #cddddd;*/ 
}

.contentwrapper {
  margin-right: auto;
  margin-left:  auto;
  padding: 50px 10%;
  max-width:1200px;
}

main {
  margin: 50px auto;
}


/* HEADER */

header {
  max-width:1200px; 
  margin: 0 auto; 
  display: grid;
  grid-template-areas: "name nav";
  grid-template-columns: 4fr 3fr;
  align-items: center;
}

.name {
  grid-area: name;
  display: grid;
  grid-template-areas: "logo letters";
  grid-template-columns: 1fr 3fr; 
  justify-self: left;
  align-items: center;
  grid-column-gap: 20px; 
}

.logo {
  grid-area: logo;
  justify-self: left;
}

.logo img {
  width: 120px;
}

.letters { 
  grid-area: letters;
}

.letters h1 {
  font-family: 'Merriweather Sans', sans-serif;
  font-size:42px;
  font-weight: 400;
  letter-spacing:1.4px;
}

.letters p {
  font-family: 'Merriweather Sans', sans-serif;
  font-size:18px;
  font-weight:400;
  text-transform: uppercase;
  letter-spacing:1px;
}

nav {
  grid-area: nav;
  justify-self: right;
}

nav a {
  font-family: 'Merriweather Sans', sans-serif;
  font-size:18px;
  color:#444;
  font-weight:400;
  margin:0 0 0 50px;
  text-transform: uppercase;
}

nav .topselected {
  color: #222;
  font-weight:500;
  pointer-events: none; 
}

nav a:hover {
  color: #030356;
}


/* FOOTER */

footer {
  margin: 100px auto 0 auto;
  padding: 50px 10%;
  text-align:center;
  border-top: 2px solid #cddddd;
}

footer a {
  display: inline-block;
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 18px;
  font-weight: 300; 
  color:#444;
  margin:0 10px;
}

footer a:hover {
  color: #030356;
}

footer p {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 16px; 
  font-weight: 300; 
  color: #444;
  margin: 30px 0 0 0; 
}


/* HOME PAGE */

.projectgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "project1 project2"
                       "project3 project4"
                       "project5 .";
  grid-gap: 120px; 
}

.project {
  display: grid;
  grid-template-areas: "img"
                       "text";
}

.project img {
  grid-area: img;
}

.gridtext {
  grid-area: text;
}

.gridtitle {
  font-family: 'Merriweather', Georgia, serif;
  color:#222;
  font-size: 20px; 
  font-weight:600;
  margin-top:20px;
  line-height: 1.5em;
}

.projectcaption {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-weight:400;
  color:#222;
  font-size: 18px; 
  line-height: 1.5em;
}

.readmore {
  font-size:14px;
  font-weight:400;
  color: #444;
  margin-top: 5px;
}

.readmore:hover {
  color: #030356;
}


/* PROJECT PAGE */

.content {
  width:80%;
  margin: 0 auto;
}

.content h2 {
  margin-top: 75px;
}

.part {
  border-bottom: 2px solid #CDDDDD;
  padding-bottom:15px; 
}

.content h3 {
  margin-top: 50px;
}

.projecttitle h2 {
  margin-top: 10px; 
  margin-bottom: 20px; 
}

.gsi {
  border-bottom: 2px solid #CDDDDD;
}

.content p {
  margin-top:20px;
}

.content a {
  font-weight:600;
  color: #030356;
  text-decoration: underline; 
}

.content table {
  margin: 75px auto; 
  border-collapse: collapse; 
}

.content th, td {
  font-size:18px;
  color: #222;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  line-height: 1.5em;
  text-align: left;
  padding: 15px;
  vertical-align: center; 
  border: 2px solid #d7d7d7;
}

.content th {
  background-color: #034556;
  color: white; 
}

.content tr:nth-child(even) {
	background-color: #fcfcfc;
}

.content ul, ol {
  padding-left: 40px;
}

.content li {
  margin-top: 20px;
}

.contentimage {
  text-align: center;
  margin: 75px auto;
  display: block;
}

figure {
  display: block;
  text-align: center;
  margin: 75px auto;
}

.contentimage img {
  display: block;
  margin: 0 auto;
  max-width:100%;
}

.contentimage.zoom img {
  cursor: zoom-in;
}

figure.zoom img {
  cursor: zoom-in;
}

figcaption {
  display: inline-block;
  font-style:italic;
  margin-top:20px;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #222;
  line-height: 2em; 
}

.quotes {
   margin: 75px auto;
   border:2px solid #CDDDDD;
   border-radius:10px; 
   background-color: #fcfcfc;
   padding: 20px 40px; 
}

.quotes h3 {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight:800;
  margin-top:10px; 
  color: #222;
}

.quotes ul {
  padding-left: 0px; 
}

.quotes li {
  padding: 10px 0; 
  list-style:none;
}

.quotesingle {
   margin: 40px auto;
   border:2px solid #CDDDDD;
   border-radius:10px; 
   background-color: #fcfcfc;
   padding: 20px 40px; 
}

.quotesingle li {
  margin-top: 0;
  padding: 10px 0; 
}

.gslides {
    position: relative;
    margin: 75px auto;
    padding-top: 61%;
    width: 100%;
    overflow: hidden;
}

.gslides iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.persona {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-areas: "student professional"
    				   "enthusiast casual"
    				   "loyalist loyalist";
  grid-gap: 20px; 
  cursor: zoom-in;
}

.student {
  grid-area: student;
}

.professional {
  grid-area: professional;
}

.enthusiast {
  grid-area: enthusiast;
}

.casual {
  grid-area: casual;
}

.loyalist {
  grid-area: loyalist;
  width: 50%;
}



/* PROJECT PAGE - SUMMARY */


.projectsummarybox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "summarytext summarytext summarytext"
                       "methods tools team"
                       "process process process";
  grid-gap: 30px;
  border-top: 2px solid #CDDDDD;
  border-bottom: 2px solid #CDDDDD;
  padding-top: 25px;
}

.projectsummarybox h3 {
  margin: 0;
}

.projectsummarybox h4 {
  font-weight: 600; 
  margin: 0;
}

.projectsummarybox ul {
  padding: 10px 0px;
  list-style: none;
}

.projectsummarybox ol {
  padding: 20px 0 20px 20px;
}

#partsummary {
  padding: 0px 0 20px 20px;
}

.projectsummarybox ol li {
  margin-top: 12px;
  line-height:1.5em;
}

.projectsummarybox ul li {
  margin-top:12px;
  line-height:1.5em;
  }

.summarytext {
  grid-area: summarytext;
}

.summarytext p {
	margin-top:0px;
}

.teaching p {
   margin-top:20px;
}

.tools {
  grid-area: tools; 
  justify-self:center; 
}

.methods {
  grid-area: methods;
}

.team {
  grid-area: team;
  justify-self:end; 
}

.team p {
  color: #222;
  font-weight:600;
}

.process {
  grid-area: process;
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-areas: "steps outcomes";
  grid-column-gap: 30px;
}

.steps {
  grid-area: steps;
} 

.steps a {
  text-decoration: none;
}

.outcomes {
  grid-area: outcomes;
}

.outcomes ul {
  margin-left: 20px;
  padding: 10px 0px 10px 0;
}

.outcomes ul li {
  list-style-type: disc; 
  margin-bottom: 20px;
  line-height:1.8em;
  text-indent: 0px; 
  }

/* ABOUT PAGE */

.about {
  display: grid;
  grid-template-areas: "summary"
                       "text";
  grid-row-gap:40px; 
  width:100%;
  margin: 0 auto;
}

.summary {
  grid-area: summary;
  display: grid;
  grid-template-areas:"byline profile";
  grid-template-columns: 1fr 1fr; 
  grid-gap:25px;
  width: 75%; 
  margin: 0 auto;
  align-items: center; 
  justify-items:center;
}

.byline {
  grid-area: byline;
}

.byline p {
  font-size:24px;
  font-weight:600; 
}

.profile {
  grid-area: profile; 
}

.intro {
  grid-area: intro;
  font-size: 20px;
}

.intro p {
  grid-area: intro;
  font-size: 20px;
}

.text {
  grid-area: text;
}

.text p {
  width: 75%;
  margin:20px auto;
  font-size: 18px;
}

.about a {
  font-weight:600;
}

.tripcollage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  grid-template-rows: 1fr 1fr;
  grid-gap: 10px; 
  margin: 50px 0;
}


/* RESUME*/

.resume {
  width:75%;
  margin: 0 auto;
}

.resume h1 {
  font-size: 26px;
  text-align:center;
  margin: 0 0 20px 0;
}

.resumetitle {
  text-align:center;
}

.resume h2 {
  margin:50px 0 20px;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size:20px;
}




/* RESPONSIVE */
 
 
@media screen and (max-width:1080px) { 
  
  .name h1 {
    font-size:36px;
  }
  
  .name p {
    font-size: 16px; 
  }
 
  nav a {
    font-size:16px;
    margin: 0 0 0 40px; 
  }
  
  .logo img {
    width: 100px;
  } 
  
  footer a {
    font-size: 16px;
  }
  
  .tripcollage {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 10px; 
  margin: 50px 0;
}
  
}
 
  
@media screen and (max-width:935px) {

   header {
     grid-template-areas: "name"
                         "nav";
     grid-template-columns: 1fr;
   }
  
   .name {
       justify-self: center;
   }
  
   nav {
     margin-top: 20px; 
     justify-self: center; 
    }
    
   nav a {
    margin: 0 20px; 
   }    

   .projectgrid {
    grid-template-columns: 1fr;
    grid-template-areas: "project1"
                         "project2"
                         "project3"
                         "project4"
                         "project5";
    justify-items: center;
    grid-gap: 100px;
   }
  
  .project {
    grid-template-areas: "img text";
    grid-template-columns: 3fr 2fr;
    grid-column-gap: 20px; 
    align-items: center;
   }
  
  .content {
    width:100%;
  }
  
  .persona {
  grid-template-columns: 1fr; 
  grid-template-areas: "student" 
  					   "professional"
    				   "enthusiast" 
    				   "casual"
    				   "loyalist";
  grid-gap: 20px; 
  }
  
  .loyalist {
  width: 100%;
  }

  .text p {
  width: 100%;
  margin:20px auto;
  font-size: 18px;
  }

  .summary {
    grid-template-areas:"byline" 
                        "profile";
    grid-template-columns: 1fr; 
    width: 80%;
  }
  
  .byline {
    text-align:center; 
  }
  
  .profile {
    justify-self: center; 
  }

}


@media screen and (max-width:720px) {

  header {
    grid-template-areas: "name"
                         "nav";
    justify-content: center;   
  }
  
  .name {
    justify-self: center;
  }

}

@media screen and (max-width:600px) {

  main {
    margin: 0px auto;
  }
  
  .name h1 {
    font-size: 32px;
  }
  
  .projectgrid {
    grid-gap: 80px;
  }
  
  .project {
    grid-template-areas: "img"
                         "text";
    grid-template-columns: 1fr;
  }
  
  .gridtitle {
    margin-top: 10px;
  }
  
  .methods {
    display: none; 
  }
  
  .tools {
    display: none;
  }
  
  .team {
    display: none; 
  }

  .projectsummarybox {
    grid-template-columns: 1fr;
    grid-template-areas: "summarytext" 
                         "process";
    grid-gap: 30px;
  }

  .process {
    grid-template-columns: 1fr;
    grid-template-areas: "steps"
                         "outcomes";
    grid-gap: 30px;
  }
  
  .projectsummarybox h3 {
    font-size:18px; 
  }
  
  .projectsummarybox ul {
    padding: 15px 0px;
  }
  
  .projectsummarybox ol {
    padding: 15px 0 0px 25px;
  }

  .content ul, ol {
    padding-left: 20px;
  }
  
  .outcomes ul {
    padding-left: 0;
  }

  .outcomes li {
    margin-bottom: 10px;
  }

  h1 {
    font-size: 26px;
  }
  
  h2 {
    font-size: 22px;
  }

  .quotes ul {
    padding-left: 0;
  }
  
  table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
  th {
    display: none;
  }
	
  .summary {
    width: 100%
  }	
	
  .text p {
    width: 100%
  }
  
  footer a {
    font-size: 14px;
  }
  
  footer p {
    font-size: 14px;
  }
  
  .tripcollage {
  display: grid;
  grid-template-columns: 1fr; 
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 10px; 
  margin: 50px 0;
}
  
}


@media screen and (max-width:415px) {

  .name h1 {
    font-size: 23px;
  }
  
  .name p {
    font-size: 14px;
  }
  
  nav a {
    font-size: 14px;
  }
  
  .logo img {
    width: 75px;
  }
  
  
