/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 6000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #242424;
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding-top: calc(5vh + 2px);
  height: calc(100% - 5vh - 2px);
  width: 100%;  
}

/* The Close Button */
.close {
  color: #FD59B7;
  position: absolute;
  right: 0;
  font-size: 20px;
  font-weight: bold;
  z-index: 5002;
  padding: 9px 5px 0 5px;
  height: calc(5vh - 9px);
  background: #242424;
  cursor: pointer;
  border: 1px solid #FD59B7;
}

.close:hover,
.close:focus {
  color: #242424;
  background: #FD59B7;
  text-decoration: none;
}

/* Hide the slides by default */
.mySlides {
  display: none;
  font-size: 0;
  text-align: center;
}

.mySlides img {
  width: 100%;
  max-width: 1400px;
  max-height:calc(100vh - 6vh);
  object-fit: contain;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  bottom: 100px;
  width: 5vh;
  padding: 16px;
  margin-top: -50px;
  color: #FD59B7;
  font-weight: bold;
  font-size: 20px;
  border: 1px solid #FD59B7;
  background: #242424;
  text-align: center;
}

/* Position the "next button" to the right */
.prev {
  left: 5vw;
}

.next {
  right: 5vw;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: #242424;
  background: #FD59B7;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #242424;
  font-size: 2vh;
  padding-left: 1%;
  top: 0;
  z-index: 5001;
  text-align: left;
  background: #FD59B7;
  position: absolute;
  padding-bottom: 2px;
  width: 99%;
  height: 5vh;
}