body {
  font-family: Georgia, serif;
  background-color: #242424;
}

.container {
  position: relative;
  width: 100%;
}

img {
  vertical-align: middle;
}
/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}
/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 80%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Number text (1/12 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 75;
}
/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 2px;
  color: white;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
/* Eight columns side by side */
.column {
  float: left;
  /* width: 12.5%; */
  width: 8%;
}
/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}
.active,
.demo:hover {
  opacity: 1;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.container:hover .image {
  opacity: 0.3;
}
.container:hover .middle {
  opacity: 0.9;
}
.text {
  background-color: #2f2f2f;
  color: yellow;
  font-size: 16px;
  padding: 16px 32px;
}

div {
  padding: 5px;
}

div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  height: 150px;
  border-radius: 0.5rem 0.5rem 0 0;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

div.desc {
  padding: 10px;
  color: white;
  text-align: center;
  border: 0;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

h1 {
  text-align: center;
  letter-spacing: 10px;
}

h2 {
  letter-spacing: 2px;
}

h3 {
  letter-spacing: 1px;
}

h4 {
  letter-spacing: 1px;
  text-indent: 5%;
}

h5 {
  text-align: left;
  letter-spacing: 2px;
}

p {
  text-indent: 10px;
  text-align: justify;
  letter-spacing: 4px;
  color: white;
}

a {
  text-decoration: none;
  color: yellow;
}

.header {
  color: white;
  padding: 10px;
  text-align: center;
  border: none;
}

.topnav {
  overflow: hidden;
  background-color: #494949;
  }

.topnav a {
  float: left;
  display: block;
  color: yellow;
  text-align: center;
  font-weight: bold;
  padding: 15px 15px;
  text-decoration: none;
}

.topnav a:hover {
  background-color: #242424;
  color: white;
}

.content {
  position: relative;
  color: white;
  border: none;
  text-align: left;
}

.tooltip {
  border: none;
  color: #ffffff;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 100px;
  background-color: #e2e200;
  color: #252525;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.footer {
  background-color: #494949;
  text-align: left;
  padding: 4px;
  color: white;
}