* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  position: relative;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.myslides img {
  display: block;
  max-height: 75vh;
  object-fit: contain;
  padding: 1em;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
  background-color: rgba(0,0,0,0.8);
}

.prev {
  left: -4em;
}

/* Position the "next button" to the right */
.next {
  right: -4em;
}

/* Caption text */
.text {
  color: #0e0e0e;
  font-size: 1.5em;
  padding: 8px 12px;
  position: absolute;
  bottom: 2em;
  width: 100%;
  text-align: center;
  background: linear-gradient(90deg, rgba(0,0,0,0) 10%, rgba(255,255,255,0.85) 50%, rgba(0,0,0,0) 90%);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dots {
  padding: 2em 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Custom CSS */

.site-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.title {
  padding-top: .5em;
  text-align: center;
}

html {
  font-family: Verdana, Tahoma, Arial;
}

body {
  background: #f8f8ff;
  max-width: 1440px;
  margin: 0px auto;
}

.modal {
  display: none;
}

.gallery {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
}

.row img {
  display: block;
  max-width: 33.3333%;
  object-fit: contain;
  cursor: hand;
}

/* Modal */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding: 25px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh;
  overflow-y: hidden;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  position: absolute;
  right: .5em;
  top: .5em;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.contact {
  width: 100%;
}

.contact img {
  display: block;
  width: 2em;
}

a:visited {
  color: #191970;
  font-weight: bold;
}
