nav {
    width: 100%;
    margin: 0;
    background-color: #B00707;

  /* makes the menu "sticky" */
    position: fixed;
  
  /* makes sure the menu sticks to the very top of the page */
    top: 0;
}

.menu {
  /* takes away the bullet points from the list items */
    list-style-type: none;
  
    margin: 0 auto;
    padding: 0;
  
  /* adjust this to control the placement of the menuitems in the navbar */
    padding-left: 3em;
  }

.menuitem {
    float: left;
}
/*links*/
a {
color:#22497C;
    text-decoration:none;

    
}
a:hover{
    text-decoration:underline;
    background-color:#70C1FF;
    transition: 0.5s;
    border-radius:5px; 
}

.menuitem a {
    display: inline-block;
    color: #FFFFFF;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1em;
}

.menuitem a:hover {
    background-color: #455d7a;
    font-size: 1em;
    color: #e3e3e3;
}

.logo {
  /* play with the width and margin-top numbers until your logo looks the way you want it to */
  width: 3em;
  margin-top: .3em;
  
  /* you probably only need border: none if you have a border set for images in general */
  transition: 0.5s;

}

.logo:hover{
width: 3.5em;  
}


/* BASIC DOCUMENT SETUP */

* {
  border-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
     font-family: "Roboto Slab", serif;
  background-color: #233142;
  border: none; 
  color: #000000
  padding 3em
}
h1, h2, h3, p{
    margin-top .5em
    margin-bottom .5em
}
main {
  background-color: #e3e3e3;
  width: 90%;
  margin: auto;
  padding: 1em;
  padding-top: 3em;
}

li {
    margin-left: 1em;
}
/*imeg*/
.container {
  display: flex;
  
/*   HOW BOXES ARE ALIGNED HORIZONTALLY: options include center, flex-start (aligns to the top), flex-end, and stretch  */
  align-items: center;
  
/*   HOW BOXES ARE POSITIONED HORIZONTALLY: options include center, space-around, or space-between */
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES - DON'T GO OVER 45% */
  flex-basis: 25%;
  
/*   PLAY WITH THESE UNTIL YOU LIKE HOW YOUR BOXES LOOK  */
  margin: .5em;
  border: 1px solid black;
  border-radius: 10px;
  padding: 1em;
}

/* SETTING THE IMAGE WIDTH HERE INSTEAD OF IN HTML. REMOVE WIDTH="XXX%" FROM ANY HTML IMAGE TAGS INSIDE BOX DIVS */
.box img {
  max-width: 100%;
  display: block;
  margin: auto;
}


/* FORMATTING THE CITATIONS - DON'T COPY THIS IF YOU DON'T HAVE A "citation" CLASS */
.citation {
  text-align: center;
  
  
}

.tiny {
   font-size: 20%;
}

.box2 {
  /* PLAY WITH THE FLEX-BASIS TO SET THE SIZE OF THE BOXES - DON'T GO OVER 45% */
  flex-basis: 25%;
  
/*   PLAY WITH THESE UNTIL YOU LIKE HOW YOUR BOXES LOOK  */
  margin: .5em;
  border: 1px solid black;
  border-radius: 10px;
  padding: 1em;
}
.img:hover{
width: 20.5em; 
}

.img {
  /* play with the width and margin-top numbers until your logo looks the way you want it to */
  width: 15em;
  margin-top: .1em;
  
  /* you probably only need border: none if you have a border set for images in general */
  transition: 0.5s;

}

