.shuffle {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.shuffle img {
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1250ms linear;
}

.light-box {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background-color);
  padding: 0.25rem;
}
.light-box-image-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.light-box-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.light-box .close-button {
  position: absolute;
  z-index: 100;
  top: 1rem;
  right: 1rem;
  height: 2rem;
  width: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23454545' class='bi bi-x' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  border: none;
  cursor: pointer;
}
.light-box .prev-button, .light-box .next-button {
  position: absolute;
  z-index: 100;
  height: 2rem;
  width: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23454545' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  border: none;
  cursor: pointer;
}
.light-box .prev-button {
  left: 0;
  transform: rotate(180deg);
  margin-left: 1.5rem;
}
.light-box .next-button {
  right: 0;
  margin-right: 1.5rem;
}

.photo-grid {
  width: 100%;
  column-count: 1;
  column-gap: 0.25rem;
  margin: 0 auto;
}
.photo-grid-image-wrapper {
  display: flex;
  margin-bottom: 0.25rem;
  cursor: pointer;
}
.photo-grid-image-wrapper picture {
  display: contents;
}
.photo-grid-image-wrapper picture img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
@media screen and (min-width: 1024px) {
  .photo-grid {
    column-count: 2;
  }
}

:root {
  --background-color: #fff;
  --text-color: #454545;
  --link-color: #007fa6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #000;
    --text-color: #EEE;
    --link-color: #69eaff;
  }
}
body {
  font-family: "Cardo", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.4;
  background-color: var(--background-color);
  margin: 0 auto;
  max-width: 1600px;
  display: grid;
  grid-template-areas: "header" "nav" "body" "footer";
}
@media screen and (min-width: 1024px) {
  body {
    grid-template-areas: "header header header" "nav body body" "footer footer footer";
  }
}

small {
  font-size: 0.4em;
}

a {
  color: var(--link-color);
}

header {
  grid-area: header;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
header > a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  color: var(--text-color);
}
header > a img {
  width: 2rem;
}
header > a h1 {
  font-size: 1.25rem;
  font-weight: 200;
  position: relative;
  line-height: 1.1rem;
  margin: 0;
}

nav {
  grid-area: nav;
  padding: 1rem;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  grid-area: 1rem;
  justify-content: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style-type: none;
}
nav ul > li a {
  color: var(--text-color);
  text-decoration: none;
}
@media screen and (min-width: 1024px) {
  nav ul {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-right: 4rem;
  }
  nav ul > li {
    font-weight: 400;
    font-size: 1rem;
  }
  nav ul > li:not(:last-child) {
    border: none;
  }
}

section {
  grid-area: body;
  padding: 1rem 0.25rem;
  margin-bottom: 3rem;
}
@media screen and (min-width: 481px) {
  section {
    padding: 0.25rem;
  }
}

footer {
  grid-area: footer;
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}

.back-to-top-button {
  cursor: pointer;
  background: none;
  color: var(--text-color);
  opacity: 0.5;
  border: 1px solid var(--text-color);
  border-radius: 100%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (prefers-color-scheme: dark) {
  header > a img {
    filter: invert(1);
  }
}

/*# sourceMappingURL=style.css.map */
