body {
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(40, 38, 38);
  font-size: medium;
}

h1 {
  margin-left: 10%;
  color:rgb(91, 84, 84);
  font-size: medium;
}

h4 {
  color:rgb(91, 84, 84);
  font-size: medium;
}

img {
  max-width: 100%;
}

main {
  margin-top: 2em;
  margin-left: 10%;
  margin-right: 10%;
}
  
#flex-container, #flex-container1, #flex-container2 {
  display:block;
  margin-top: 3%;
  margin-bottom: 3%;
  margin-left: 10%;
  margin-right: 10%;
  justify-content: center;
}

.box1a {
  width: 100%;
  /*this contains author photo */
  /* to put a limit on how big the images get */
  max-width: 450px;
  margin-right: 2em;
}

.box1 {
  width: 100%;
  /* to put a limit on how big the images get */
  max-width: 300px;
  margin-right: 2em;
}

.box2 {
  width: 100%;
  flex: 0 0 40em;
  line-height: 2em;
  /* to put a limit on how big the images get */
}

.box2 img {
    border-radius: 5%;

}

.box3a {
	width: 100%;
    line-height: 2em;
margin-left: 10%; 
max-width: 60%;
}
.box3 {
  /*this box contains videos */
  width: 100%;
  margin-right: 2em;
  max-width: 400px;
}

.box4 {
  width: 100%;
  line-height: 2em;
  max-width: 500px;
}
.box5 {
  /*this box contains videos */
    flex: 0 0 20em;
  margin-right: 2em;
  max-width: 400px;
}
.box1 img:hover {
  filter: brightness(1.2) contrast(1.1);
}
.column {
  float: left;
  width: 15%;
  margin-bottom: 16px;
	margin-left: 5%;
  padding: 0 8px;
}
.flex-container {
  display: flex;
  margin-top: 1rem;
}

.box1 img {
  max-width: 100%;
  border-radius: 10px;
}
* { font-family: sans-serif; }

.centered {
align-content: center;}

.people img {
  border-radius: 8px;
}
    .slideshow-container {
      max-width: 100%;
      position: relative;
      margin: auto;
    }

    img {
      width: 100%;
      height: auto;
    }

    .prev, .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      padding: 16px;
      color: white;
      font-weight: bold;
      font-size: 18px;
      background-color: rgba(0, 0, 0, 0.5);
      border: none;
      cursor: pointer;
    }

    .prev {
      left: 0;
    }

    .next {
      right: 0;
    }

/* unvisited link */
a:link {
  color: black;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: black;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color:   black;
  text-decoration: none;
}

intro {
  color: black;
  border-top: 1px solid #d4cad2;
  text-indent: 10%;
  padding-top: 2em;
  padding-bottom: 2em;
  margin-bottom: 5%;
  line-height: 1em;
  font-size: medium;
}
footer {
  color: black;
  border-top: 1px solid #d4cad2;
  padding-top: 2em;
  padding-bottom: 2em;
  margin-bottom: 5%;
	margin-left: 10%;
  line-height: 1em;
  font-size: medium;
}
/* ====================================
   Styles Common to Small and Wide Widths 
   ==================================== */
   body {
    margin: 0;
  }
  
  /* navigation */
  nav.sitenav {
    width: 100%;
    background-color:#DFDFDF;
    line-height: 4em;
    border-bottom: 1px solid #d4cad2;
  }

  nav.sitenav ul {
    list-style:none;
    }

  nav.sitenav a {
    display:inline-block;
    font-weight: normal;
    padding: 0px 4em;
  }
  nav.sitenav a:link {
    text-decoration: none;
    }

  nav.sitenav .current {
    background-color: #E6F8B4;
  }
  
  /* ====================================
     Styles specific to wide widths - 
     i.e. these styles will be overriden in the 
     small width section below 
     ==================================== */
  nav #menu {
    display: none;
  }
  nav.sitenav ul {
    display: flex;
    padding: 0;
    margin: 0 auto;
	font-size: medium;
  }
  nav.sitenav li {
    flex: auto;
  }
  nav.sitenav a {
    text-align: center;
  }
  
  /* ====================================
     Styles for small width screens
     ==================================== */
  @media screen and (max-width: 50em) {
    nav #menu {
      display:flex;
      text-align:left;
      background-image: url(../images/pancake-menu.svg);
      background-repeat: no-repeat;
      background-position-x:left;
      padding-left: 40px;
      background-color: rgb(181, 188, 187);
    }
    nav.sitenav {
      height: auto;
      width: 40%;
    }
    nav.sitenav li {
      display: flex;
    }
    nav.sitenav ul {
      display: flex;
      margin-left: -98em;
      text-align: left;
      width: 0%;
    }
    nav.sitenav a {
      text-align: left;
      padding-left: 40px; /* to align with Menu */
    }	 
    /* ======================
       Styles for when use clicks
       to reveal menu
       ====================== */
    nav.sitenav.presentonpage ul {
      /* block display */
      display: block;
      /* set left margin so it is on page */
      margin-left: 0;
    }
    /* change background image to an "x" from "pancake" */
    nav.sitenav.presentonpage #menu {
        background-image: url('../images/x-menu.svg');
    }
  }
  @media screen and (min-width: 450px) {
    #flex-container, #flex-container1, #flex-container2 {
        display: flex;
    }
  }