.gallery-title {
  padding-top: 8rem;
  background-color: #f1f1ef;
  color: #1d3d34;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  flex-basis: 80vw;
  align-items: center;
  border-radius: 50% 50% 0 0;
  font-weight: bold;
}

.main-gallery-container {
  display: flex;
  flex-direction: column;
}

.main-image-container {
  display: flex;
  flex-direction: column;
}

.mySlides-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f1ef;
}
/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */

footer {
  left: 0;
  bottom: 0;
  width: 100%;
}

.row {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
}

/* Six columns side by side */
.column {
  display: flex;
  align-self: flex-start;
  justify-self: flex-start;
  padding: 1rem;
}

body {
  font-family: Verdana, sans-serif;
  margin: 0;
}

* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  max-width: 30vw;
  max-height: 40vh;
  padding: 1rem;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 4;
  padding-top: 3rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-content {
  position: relative;
  /*background-color: #fefefe;*/
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 3rem;
  font-weight: bold;
  z-index: 1000;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 25vh;
  width: auto;
  padding: 0.9rem;
  background-color: rgb(241, 241, 239, 0.7);
  color: #000;
  font-weight: bold;
  font-size: 3rem;
  transition: 0.6s ease;
  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: #cad4bf;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #1d3d34;
  font-size: 1rem;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  display: none;
  background-color: rgb(217, 255, 0);
}

footer {
  left: 0;
  bottom: 0;
  width: 100%;
  position: fixed;
}

img {
  /*vertical-align: middle;*/
  background-color: none;
  max-width: 90vw;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  display: none;
  color: white;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.galname {
  font-size: 2.5rem;
  font-family: "Lobster Two", sans-serif;
  font-weight: bold;
  font-style: normal;
  line-height: 1.4rem;
  padding-bottom: 1rem;
}
