body {
  background-color:white;
  font-family:Garamond;
  font-size: small;
	color: #5E5656
}

h1 {
  margin-left: 10%;
  color:#A19999;
  font-size:"medium";
	font-family:Garamond}

h4 {
  color:rgb(91, 84, 84);
  font-size: small;
}
h6 {
color:#918E8E;
font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
font-size: small;
font-style: normal;
text-align: center;}



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%;
  justify-content: center;
}

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

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

.box2 {
  width: 140%;
  flex: 0 0 50em;
  font: normal;
	color:#454040;
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
	line-height: 2em;

  /* to put a limit on how big the images get */
}

.box3 {
  /*this box contains videos */
  width: 100%;
  margin-right: 2em;
  max-width: 400px;
}

.box4 {
  width: 100%;
  line-height: 2em;
  max-width: 500px;
}

.box1 img:hover {
  filter: brightness(1.2) contrast(1.1);
}

.flex-container {
  display: flex;
  margin-top: 1rem;
}

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

video {
  padding-top: 1.5em;
  width: 720px;
  max-width: 100%;
}

/* unvisited link */
a:link {
  color: #918E8E;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: #918E8E;
}

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

/* selected link */
a:active {
    color: #918E8E;
    text-decoration: bold;
}

footer {
background-color:whitesmoke;
  color:#5E5656;
  text-indent: 10%;
  padding-top: 2em;
  padding-bottom: 2em;
  margin-bottom: 5%;
  line-height: 1em;
  font-size: small;
}

/* ====================================
   Styles Common to Small and Wide Widths 
   ==================================== */
   body {
    margin: 0;
  }
  
  /* navigation */
  nav.sitenav {
    width: 100%;
    background-color:whitesmoke;
    line-height: 4em;
  }

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

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

  nav.sitenav .current {
    background-color: rgb(228, 255, 187);
  }
  
  /* ====================================
     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:inherit;
    margin: 0 auto;
  }
  nav.sitenav li {
    flex: auto;
	  text-align: center;
  }
  nav.sitenav a {
    text-align: right;
  }
  
  /* ====================================
     Styles for small width screens
     ==================================== */
  @media screen and (max-width: 50em) {
    nav #menu {
      display:flex;
      text-align:right;
      background-image: url(../images/pancake-menu.svg);
      background-repeat: no-repeat;
      background-position-x:left;
      padding-left: 200px;
    }
    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;
    }
  }
