/* Custom Fonts
tou6  - Touhou 6 Font */
@font-face {
    font-family: 'tou6';
    src: url('fonts/DFPPOPCorn-W12/DFPPOPCorn-W12.eot');
    src: local('DFPPOPCornW12'),
        url('fonts/DFPPOPCorn-W12/DFPPOPCorn-W12.woff') format('woff'),
         url('fonts/DFPPOPCorn-W12/DFPPOPCorn-W12.woff2') format('woff2')
        url('fonts/DFPPOPCorn-W12/DFPPOPCorn-W12.ttf') format('ttf'),
        url('fonts/DFPPOPCorn-W12/DFPPOPCorn-W12.svg') format('svg');
}

.LeftPanel {
    border: 5px greenyellow inset;
    border-color: greenyellow;
    background-color: paleturquoise;
    height: 95%;
    width: 18%;
    float: left;
    position: fixed;
    left: 2%;
    overflow-y:scroll;
    scrollbar-width: thin;
}

.MiddlePanel {
    border: 5px greenyellow inset;
    border-color: greenyellow;
    background-color: paleturquoise;
    height: 95%;
    width: 76%;
    float: right;
    position: fixed;
    left: 22%;
    overflow-y:scroll;
    scrollbar-width: thin;
}

.BodyContainer {
    position: fixed;
    max-width: 1250px;
    min-width: 100px;
}

body {
    background-color: aliceblue;
    font-family: 'tou6';
    font-size: 86%;
    text-align: center;
}

h1 {
    font-size: 350%;
    color: fuchsia;
    text-align: center;
}

h2 {
    font-size: 100%;
    color: fuchsia;
    margin-bottom: 0px;
}

li {
    list-style-position: inside;
    font-style: italic;
    text-align: center;
}

q {
    font-style: italic;
}

p {
    margin-top: 2px;
}

img {
  max-height: 40%;
  max-width: 70%;
}

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

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* 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 (image) */
.modal-content {
  margin: auto;
  display: block;
  height: 40%;
  width: 40%;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

/* The Close Button */
.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;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}