h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}

p {
  margin: .5rem 0;
  /*font-size: 1.25rem;*/
  line-height: 1.5;
  font-size: 18px;
  font-weight: lighter;
}

/* First the Grid */

.gallery-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  /*grid-gap: 0.5 rem;*/
  justify-items: center;
  margin: 0;
  padding: 0;
}

/* The Picture Frame */

.gallery-frame {
  /*padding: .5rem;*/
  font-size: 1.2rem;
  text-align: center;
  background-color: rgb(255, 255, 255);
  color: #d9d9d9;
  margin: 5px;
}

/* The Images */

.gallery-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.25s ease-in-out;
  -webkit-transition: opacity 0.25s ease-in-out;
  /*border: solid 1px;*/
  /*filter: grayscale(100%);*/
  /*-webkit-filter: grayscale(100%);*/
  /*border-radius: 1%;*/
  /*-webkit-border-radius: 1%;*/
}

.gallery-img:hover, .gallery-img:active {
  /*opacity: .7;*/
  filter: none;
  -webkit-filter: none;
  outline: solid 2px var(--image-border-color);
  -webkit-outline: solid 2px var(--image-border-color);
}

.gallery-img:focus {
  /*opacity: .7;*/
  filter: none;
  -webkit-filter: none;
  outline: solid 2px var(--image-border-color);
  -webkit-outline: solid 2px var(--image-border-color);
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}

/* When you mouse over the container, fade in the overlay icon */

.image-container:hover .image-overlay {
  opacity: 1;
}

.image-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .3s ease;
  background-color: #fd5964;
}

/* Next & previous buttons */

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  user-select: none;
}

/* Position the "next button" to the right */

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
  padding-left: 4px;
  padding-bottom: 4px;
  padding-right: 40px;
  padding-top: 27px;
  background: url(/assets/img/next_arrow_30.svg) no-repeat;
  -moz-background: url(/assets/img/next_arrow_30.svg) no-repeat;
  -webkit-background: url(/assets/img/next_arrow_30.svg) no-repeat;
}

.next:hover {
  background: url(/assets/img/next_arrow_30_fill.svg) no-repeat;
  -moz-background: url(/assets/img/next_arrow_30_fill.svg) no-repeat;
  -webkit-background: url(/assets/img/next_arrow_30_fill.svg) no-repeat;
}

.prev {
  /*margin-left: 20px;*/
  margin-left: 15px;
  padding-right: 4px;
  padding-bottom: 4px;
  padding-left: 27px;
  padding-top: 27px;
  background: url(/assets/img/prev_arrow_30.svg) no-repeat;
  -moz-background: url(/assets/img/prev_arrow_30.svg) no-repeat;
  -webkit-background: url(/assets/img/prev_arrow_30.svg) no-repeat;
}

.prev:hover {
  background: url(/assets/img/prev_arrow_30_fill.svg) no-repeat;
  -moz-background: url(/assets/img/prev_arrow_30_fill.svg) no-repeat;
  -webkit-background: url(/assets/img/prev_arrow_30_fill.svg) no-repeat;
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

