body {
    background-color:#244A56 ;
    color:#FFFFFF ;

      font-family: "Instrument Serif", serif;
font-size:2em ;
padding: 2em;
margin: 1em;
}

h1, h2, p{
    margin-top: .7em;
    margin-bottom: .7em;
}

img{
    border: 1em inset #EDDCFE ;
    padding: 1em;
    margin: 1em
    transition:1s ;
}
/*LINKS*/
a {
    color:#EDDCFE;
    text-decoration:none ;
    padding: 1em;
    transition: .5s;
}

/*HOVER AFFECT FOR LINKS AND IMAGES*/
a:hover{
    text-decoration:underline ;
    background-color:#EDDCFE ;
    color:#244A56;
    border-radius:5px ;
}
img:hover{
    border: 1em inset purple;
    
}/*END FOR HOVER AFFECT FOR LINKS AND IMAGES*/
    
 .logo {
     border:1px solid purple;
     border-radius:50% ;
 }   
 .logo:hover{
     border: 2px inset purple;
     border-radius:20%;
 }   
 /*END OF HOVER AFFECT FOR LINKS AND IMAGES*/
 
 /*IMAGE CENTERING WITH BOXES*/
.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: 30%;
  display: block;
  margin: auto;
}

* {
  border-sizing: border-box;
  margin: 0;
  padding: 0;
}/*END OF IMAGE CENTERING WITH BOXES*/

/*SIDE MENU BAR*/
nav {
  height: 100%; /* Full-height */
  width: 15%; /* Desired width */
  position: fixed; /* Sticks menu to the screen */
  z-index: 1; /* Keeps menu in front of other elements */
  top: 0;
  left: 0;
  background-color:#163977; 
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px; /* Add some space at the top of the links */
}

nav a {
  padding: .5em .75em .5em 1em;
  text-decoration: none; /* Remove the underlines */
  font-size: 1.3em;
  color: #FFFFFF;
  display: block; /* Makes each menu link occupy its own line */
  transition: 0.3s; /* Animates the hover effect */
}

nav a:hover {
  color: #16397E;
  text-shadow: 2px 2px 2px #000000;
}

main {
  margin-left: 15%; /* Same as the width of the sidebar */
  padding: 1em 1em;
  padding-top: 20px; /* Same number as the top of the menu */
  border: 1.5em double #EDDCFE;

}
/*END OF SIDE MENU BAR*/

/*STARS*/
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.star-rating input {
  display: none;
}
.star-rating label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #ffca08;
  
  
  .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%;
  }
}






