* {
  border-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    background-color: #FEE567;
    color:  #000000;
     font-family: "Cause", cursive;
     padding: 3em;
}

/*LINKS*/
a {
    color: #363B9B;
    text-decoration: none;
    
    padding: .3em;
    transition: .3s;
}

a:hover {
    text-decoration: underline;
    
    background-color: #363B9B;
    color: #FEE567;
    border-radius: 5px;
}

h1 {
    font-family: "Cabin Sketch", sans-serif;
}

h1,h2, p {
    padding-bottom: .5em;
    padding-bottom: .5em;
}

img {
    border: .7em inset #363B9B;
    transition: .5s;
}

img:hover {
    border: 2em inset #9598DA;
    
}

.logo {
    border: none;
    width: 4em;
  margin-top: .3em;
}

.logo:hover {
    border: none;
}

/*START MENU BAR*/

nav {
    width: 100%;
    margin: 0;
    background-color: #000085;
    position: fixed;
    top: 0;
    margin-left: -3em;
}

.menu {
    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;
}

.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;
}

/*END MENU BAR*/

main {

  padding: 1em;
  
/*   SHIFT THE 'main' ELEMENT DOWN, AWAY FROM THE MENU BAR */
  padding-top: 3em;
  width: 90%;
  margin: auto;
}

.right{
    float: right;
    width: 35%;
    display: inline-block;
}

/*MODAL*/

.citation {
  font-size: 50%;
}

.image {
  width: 100%;
}

.imagediv {
  width: 50%;
  margin: auto;
}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 50px;
  /* Location of the box */
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  /* Full width */
  height: auto;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 85%;
  max-width: 90vw;
  /* 90% of the viewport width */
  max-height: 90vh;
  /* 90% of the viewport height */
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}