body {
    background: #eee !important;
    font-family: "Century Schoolbook", Georgia, Times, "Times New Roman";
    margin: 0 auto;
    font-size: 24px;
    padding-top: 0;
}

#animation_container {
   border: 10px solid #ddd;
	position:absolute;
	margin:auto;
	left:0;right:0;
	top:0;bottom:0;
  }


/* The side navigation menu */
.sidenav {

  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 45px; /* Place content from the top */
  transition: 0.7s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 5px 10px 5px 5px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
  transition: 0.5s;
  opacity: 0.3;
}


/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 0px;
  font-size: 40px;
  margin-left: 10px;
}

img {
    
    max-width: 100%;
    border-width: 0;
    vertical-align: top;
    padding: 5px; 
    -ms-interpolation-mode: bicubic;
    
}

.container {
  display: flex;  
}

.leftbox {
    flex: 0.4;
    display: flex;
    align-items: left;
    justify-content: left;
    flex-flow: wrap;
      border-bottom: 1px solid #ccc;
    
    
}
.rightbox {
    flex: 0.4;
    display: flex;
    align-items: right;
    justify-content: right;
    flex-flow: wrap;
    text-align: right; 
    border-bottom: 1px solid #ccc;
    justify-content: flex-end;
    
}

.midbox {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;
    border-bottom: 1px solid #ccc;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}
