@font-face {
  font-family: "Old Standard TT";
  src: url(../assets/Old_Standard_TT/OldStandardTT-Bold.ttf);
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Lato";
  src: url(../assets/Lato/Lato-Regular.ttf);
  font-style: normal;
  font-weight: 600;
}

body {
  background-color: #c5725c;
}

::selection {
  background-color: #000000;
  color: whitesmoke;
}

.gallery-container {
  max-width: 90%;
  margin: 0 auto;
  font-family: "Old Standard TT", sans-serif;
  font-size: 1.2rem;
}

.gallery-container h2.gallery-title {
  font-size: 40px;
  text-align: center;
  color: #000000;
  padding-bottom: 2rem;
}

.gallery-container h4.gallery-subtitle {
  font-size: 25px;
  text-align: center;
  color: #000000;
  padding-bottom: 2rem;
}

.gallery-container .grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.gallery-container .grid-container div p {
  text-indent: 30px;
  color: #000000;
  font-family: "Lato", Times, serif;
  text-align: justify;
  line-height: 1.2;
}

span {
  font-style: italic;
}

/* NAVIGATION */
.links {
  position: absolute;
  top: 0;
  right: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin: 0;
}

.links a:link,
.links a:visited {
  font-size: 1.3rem;
  text-decoration: none;
  color: #000000;
  display: inline-block;
  font-weight: 500;
  transition: all 0.2s ease-in;
  padding: 1rem;
}

.links a:hover,
.links a:active {
  color: #fff;
}

footer {
  padding-top: 5rem;
  font-size: 0.9rem;
  cursor: default;
  text-align: center;
  margin: auto 0;
}

.footer-text {
  font-style: normal;
  color: #000000;
}

@media (max-width: 700px) {
  .gallery-container .lightbox:hover .title {
    bottom: -20px;
  }

  .gallery-container .image-grid {
    justify-items: center;
    grid-template-columns: 100%;
  }

  .lightbox-container {
    display: none;
  }

  .gallery-container .image-grid img {
    cursor: default;
  }

  .gallery-container .grid-container {
    grid-template-columns: 1fr;
  }

  .links a:link,
  .links a:visited {
    font-size: 1rem;
  }
}
