.gallery .gallery-wrapper {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1/13;
}
.gallery .gallery-wrapper h3 {
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.gallery .gallery-wrapper h3 .slash {
  color: var(--yellow);
  margin-right: 0.4375rem;
}
.gallery .gallery-wrapper .img-wrapper {
  position: relative;
  overflow: hidden;
}
.gallery .gallery-wrapper .img-wrapper img {
  height: auto;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 300/198;
  display: block;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  overflow: hidden;
  height: 80vh;
}
.modal-content img {
  max-width: 75rem;
  display: block;
  margin: 0 auto;
}
@media (max-width: 47.9375rem) {
  .modal-content img {
    width: 100%;
  }
}
.modal-content .mySlides {
  height: 80vh;
  display: -ms-grid;
  display: grid;
  -ms-flex-line-pack: center;
      align-content: center;
  text-align: center;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.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: 50%;
  width: auto;
  padding: 16px;
  margin-top: -25px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -moz-user-select: none;
   -ms-user-select: none;
       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.9);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}