body {
  font-family: Arial;
  margin: 0;
  background-color: #000000;
  background-repeat: no-repeat;
  background-position.top-left;
  padding-left: 100px;
}

h1 {
  text-align:center;
  font-family: "Lucida Handwriting";
  color:#FF00FF;
  font-size:48px;
  font-style:normal;
}

h2 {
  text-align:center;
  font-family: "Arial";
  color:#FF00FF;
  font-size:16px;
}

div {
  background-color:#000000;
}

/* the sidebar menu */
.leftmenu {
  height: 100%;
  width: 100px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #000000;
  overflow-x: hidden;
  padding-top: 20px;
}

/* the sidebar links */
.leftmenu a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 12px;
  font-family: "Arial";
  color: #FF00FF;
  display: block;
}

/* change link color when hovering */
.leftmenu a:hover {
  color: #800080;
}

/* the basebar menu */
ul.footer {
  height: 5%;
  width: 100%;
  position: fixed;
  z-index: auto;
  bottom: 0;
  text-align: center;
  background-color: #000000;
  padding-top: 10px;
}

/* display the footer elements horizonally */
ul.footer li {
  display: inline-block;
  padding: 0 0.5rem;
  min-width: 12rem;
  text-align: center;
}

/* put lines between the footer elements */
ul.footer li:not(:last-child) {
  border-right: 1px solid #FF00FF;
}

/* the basebar links */
ul.footer a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 16px;
  font-family: "Arial";
  color: #FF00FF;
  display: block;
}

/* change link color when hovering */
ul.footer a:hover {
  color: #800080;
}


* {
  box-sizing: border-box;
}

.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  color: #ffffff;
  max-height: 80vh;
  max-width: auto;
  height: 55vh;
  width: auto;

}

#top {
  border: 5px solid #000000;
  height: 500px;
  width: auto;
}

#close {
  position: fixed;
  top: 102%;
  left:50%;
  transform: translate(-102%, -50%);
  color: #FF00FF;
  border-style: solid;
  border-color: #FF00FF;
  border-width: 1px;
}

#gallery {
   line-height:0;
   -webkit-column-count:5; /* split it into 5 columns */
   -webkit-column-gap:5px; /* give it a 5px gap between columns */
   -moz-column-count:5;
   -moz-column-gap:5px;
   column-count:5;
   column-gap:5px;
}

#gallery img {
   width: 80% !important;
   height: auto !important;
   margin-bottom:5px; /* to match column gap */
}

@media (max-width: 1200px) {
   #gallery {
    -moz-column-count:    4;
    -webkit-column-count: 4;
    column-count:         4;
   }
}

@media (max-width: 1000px) {
   #gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
   }
}

@media (max-width: 800px) {
   #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
   }
}

@media (max-width: 400px) {
   #gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
   }
}
