body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 3rem auto;
  background-color: #8dd7f3;
  color: #fff;
  padding: 0px 20px;
}

* {
  box-sizing: border-box
}

button:hover {
  cursor: pointer;
}

.centered {
  text-align: center;
}

.banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-items: center;
  margin-bottom: 1em;
}

.title {
  font-size: 46pt;
  margin: 5px 0px;
  font-family: Montserrat;
  color: #ed175f;
  flex-grow: 1;
}

.images {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-gap: 7.5px;
  grid-template-columns: 50% 50%;
}

@media (min-width: 768px) {
  body {
    padding: 0px 100px;
  }

  .images {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

img {
  height: auto;
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
}

video {
  height: auto;
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
}

.template {
  transition: all 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  opacity: 0;
  position: relative;
  background: #707070;
}

.template p {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  padding: 25px 10px 10px 10px;
}

.template.animate {
  transform: scale(1);
  opacity: 1;
}

#gallery-pagination {
  margin: 30px 0;
}

#gallery-pagination #page {
  margin-left: 15px;
  margin-right: 15px;
  color: #707070;
  font-style: italic;
  font-size: 13px
}

.sr-only {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

#gallery-pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10em;
  justify-content: center;
}


.image-view {
  max-width: 720px;
}

body.viewer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

button {
  border: none;
  font-size: 8em !important;
  background-color: #ed175f;
  border-radius: 50%;
  color: #fff;
}

body.viewer .buttons {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  gap: 40px;
}