:root {
  --gap: 0.5rem;
  --border-color: #cccccc;
  --bi-highlight: #fcf5a7;
  --bi-highlight-alt: #fff9b3;
  --bi-bg: #f1f1ef;
}

/* Breakpoints */
::-moz-selection {
  background-color: yellow;
  color: black;
}
::selection {
  background-color: yellow;
  color: black;
}

/* Base */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: whitesmoke;
}

::-webkit-scrollbar-thumb {
  background-color: var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--bi-highlight);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) whitesmoke;
}

body {
  background-color: var(--bi-bg);
  font-family: "Inter", sans-serif;
  overflow: hidden;
}
body.modal-active {
  overflow: hidden;
}

.site {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-main {
  flex: 1;
  min-height: 0;
  display: flex;
}

.main-grid {
  display: grid;
  flex: 1;
  min-height: 0;
  transition: transform 0.3s ease, filter 0.5s ease;
  height: auto;
  overflow: auto;
}
.main-grid.move {
  filter: blur(10px);
  pointer-events: none;
}

h1,
h2,
h3 {
  font-family: "Courier Prime", monospace;
  font-weight: normal;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.5;
}

/* Filters */
.year-filter {
  height: -moz-fit-content;
  height: fit-content;
  grid-column: 1/-1;
  display: flex;
  position: sticky;
  flex-wrap: wrap;
  top: 0;
  z-index: 200;
  gap: 3px;
  padding: 3px;
}
.year-filter button {
  font-family: "Courier Prime", monospace;
  background-color: whitesmoke;
  border: 0;
  border-radius: 0;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.year-filter button.active {
  background-color: var(--bi-highlight) !important;
  color: black;
}
.year-filter button:hover:not(.active) {
  background-color: var(--border-color);
  color: var(--bi-highlight);
}

.month-filter {
  grid-column: 1/-1;
  position: sticky;
  top: 2rem;
  z-index: 200;
  padding: 3px;
  background-color: transparent;
}
@media (max-width: 840px) {
  .month-filter {
    flex-direction: column !important;
    position: fixed;
    top: unset;
    bottom: 1rem;
  }
}
.month-filter .month-filter-inner {
  gap: 3px !important;
}
.month-filter .month-filter-toggle {
  display: none;
  font-family: "Courier Prime", monospace;
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
}
@media (max-width: 840px) {
  .month-filter .month-filter-toggle {
    display: block;
  }
}
.month-filter .month-filter-inner {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 840px) {
  .month-filter .month-filter-inner {
    display: none;
  }
}
@media (max-width: 840px) {
  .month-filter.month-filter--open .month-filter-inner {
    display: flex;
  }
}
.month-filter button.month-filter-btn {
  font-family: "Courier Prime", monospace;
  border: 0;
  color: black;
  border-radius: 0;
  background-color: var(--bi-bg);
  padding: 0.4rem 0.8rem;
}
@media (min-width: 900px) {
  .month-filter button.month-filter-btn {
    flex-grow: unset;
  }
}
.month-filter button.month-filter-btn {
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.month-filter button.month-filter-btn.active {
  background-color: var(--bi-highlight);
  color: black;
}
.month-filter button.month-filter-btn:hover {
  color: black;
  background-color: var(--bi-highlight-alt);
}

/* Content grid */
.month-groups {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  flex-direction: column;
}
.month-groups .loading-indicator {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 60px 0;
}
.month-groups .loading-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: black;
  animation: loading-bounce 0.6s infinite alternate;
}
.month-groups .loading-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.month-groups .loading-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes loading-bounce {
  from {
    opacity: 0.2;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-8px);
  }
}
.month-groups .month-group {
  grid-column: 1/-1;
  display: grid;
  padding: 0;
  grid-template-columns: 0.8rem 1fr;
  grid-template-rows: auto 1fr;
  padding-left: 1.4rem;
  background-color: rgb(229, 229, 229);
}
@media (max-width: 840px) {
  .month-groups .month-group {
    padding-left: 0;
    grid-template-columns: 1fr;
  }
}
.month-groups .month-group:nth-child(odd) {
  background-color: rgb(245, 245, 245);
}
.month-groups .month-group:last-child {
  padding-bottom: 2rem;
}
.month-groups .month-group h2 {
  font-size: 1rem;
  padding: 0;
  grid-column: 1;
  height: 0;
  grid-row: 2;
  transform: rotate(-90deg) translateY(-1rem) translateX(1rem);
  transform-origin: left bottom;
  position: sticky;
  top: 2.5rem;
}
@media (max-width: 840px) {
  .month-groups .month-group h2 {
    transform: rotate(0deg) translateY(0) translateX(0);
    grid-column: 1;
    grid-row: 1;
    position: relative;
    height: auto;
    top: unset;
    padding: 3px;
  }
}
.month-groups .month-group h3 {
  font-size: 0.8rem;
}
.month-groups .month-group .month-images {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 840px) {
  .month-groups .month-group .month-images {
    grid-column: 1;
    grid-row: 2;
  }
}
.month-groups .month-group .month-images .attachment-card {
  max-width: 33.33%;
  width: 100%;
}
@media (min-width: 1200px) {
  .month-groups .month-group .month-images .attachment-card {
    max-width: 10%;
  }
}

.scattered-canvas {
  position: relative;
  display: block;
}
.scattered-canvas .attachment-card {
  max-width: none;
  width: auto;
}
.scattered-canvas .attachment-card:hover {
  z-index: 10;
}

/* Card animations */
@keyframes card-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.attachment-card {
  display: flex;
  flex-direction: column;
  color: black;
  padding: 0.4rem;
  animation: card-in 0.4s ease both;
  cursor: zoom-in;
  transition: background-color 0.4s ease;
}
.attachment-card .card-body {
  margin-top: auto;
  font-size: 0.8rem;
}
.attachment-card:hover {
  background-color: var(--bi-highlight-alt);
}
.attachment-card p {
  margin: 0;
}
.attachment-card img {
  display: block;
}

/* Site chrome */
.site-header {
  padding: 1rem;
  background-color: var(--bi-highlight);
  color: black;
  margin: 3px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  top: 3px;
}
.site-header a {
  text-decoration: none;
  color: black;
}
.site-header .site-title {
  font-weight: normal;
  font-size: 1rem;
  margin: 0;
}
.site-header .main-navigation {
  display: flex;
  width: 100%;
  gap: 1rem;
  justify-content: flex-end;
}
.site-header .main-navigation ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-self: flex-end;
}
.site-header .main-navigation ul li {
  width: 100%;
  text-align: end;
}
.site-header .main-navigation ul li a {
  transition: color 0.3s ease;
}
.site-header .main-navigation ul li a:hover {
  color: var(--bi-pink);
}

.about {
  width: calc(100dvw - 6px);
  background-color: var(--bi-highlight-alt);
  color: black;
  margin: 0;
  height: 0;
  padding: 0;
  transition: 0.3s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 10;
  position: relative;
  overflow: hidden;
}
@media (max-width: 840px) {
  .about {
    grid-template-columns: 1fr;
    overflow: auto;
  }
}
.about a {
  color: black;
  text-decoration: underline;
}
.about::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  background: linear-gradient(to top, var(--bi-highlight-alt), transparent);
  z-index: 1;
  display: none;
}
.about figure {
  grid-column: 1;
  margin: 0;
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translateY(100px);
  transition-delay: 0.6s;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.about figure img {
  max-width: 100%;
  display: block;
  margin-bottom: 1rem;
}
.about figure figcaption {
  font-size: 0.8rem;
  width: 100%;
  text-align: left !important;
}
.about .inner {
  overflow: auto;
  padding: 4rem 1rem 8rem;
  pointer-events: none;
  opacity: 0;
  grid-column: 2;
  transform: translateY(100px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}
@media (max-width: 840px) {
  .about .inner {
    grid-column: 1;
    overflow: visible;
  }
}
.about .inner::-webkit-scrollbar {
  width: 8px;
}
.about .inner::-webkit-scrollbar-track {
  background: transparent;
}
.about .inner::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: 2px;
}
.about .inner blockquote {
  margin: 1rem 0 2rem 2rem;
  padding: 0;
}
.about .inner blockquote cite {
  font-size: 0.8rem;
  font-style: normal;
}
.about .inner hr {
  margin: 1rem 0;
  width: 4rem;
  background-color: black;
}
@media (max-width: 840px) {
  .about {
    width: 100dvw;
  }
}
.about .close {
  background-color: transparent;
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.5rem;
  cursor: pointer;
}
.about .close:hover {
  background-color: black;
  color: white;
}
.about.active {
  height: 80dvh;
  margin: 3px;
}
@media (max-width: 840px) {
  .about.active {
    height: 100dvh;
  }
}
.about.active .inner {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.about.active::after {
  display: block;
}
.about.active figure {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0s;
}
.about h2 {
  margin-bottom: 2rem;
}
.about p {
  margin: 0;
  max-width: 65ch;
}
.about p + p {
  text-indent: 2rem;
}

/* Modal */
@keyframes modal-slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes modal-slide-down {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes modal-content-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-image-in {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  display: grid;
  place-content: center;
}
.image-modal .image-modal-content {
  width: 100dvw;
  height: 100dvh;
  display: grid;
  position: relative;
  grid-template-columns: 4fr 1fr;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  animation: modal-slide-up 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.image-modal .image-modal-content.is-closing {
  animation: modal-slide-down 0.25s ease both;
}
@media (max-width: 840px) {
  .image-modal .image-modal-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
}
.image-modal .image-modal-content header {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  font-size: 2rem;
  padding: 1rem;
  color: black;
  background-color: var(--bi-highlight);
  animation: header-in 0.3s ease both;
  animation-delay: 0.2s;
}
.image-modal .image-modal-content header .modal-caption {
  font-size: 1rem;
  font-weight: normal;
}
.image-modal .image-modal-content header .close-modal {
  font-family: "Inter", sans-serif;
  border-radius: 0;
  color: black;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  text-transform: capitalize;
  cursor: pointer;
}
.image-modal .modal-main-image {
  display: flex;
  place-content: center;
  align-items: center;
  position: relative;
  padding: 1rem;
  opacity: 0;
  background-color: rgba(245, 245, 245, 0.763);
  backdrop-filter: blur(10px);
}
.image-modal .modal-main-image .modal-image-nav {
  position: absolute;
  bottom: 1rem;
  z-index: 12;
  font-family: "Inter", sans-serif;
  background-color: transparent;
  border: 0;
  color: black;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.image-modal .modal-main-image .modal-image-nav.modal-nav-prev {
  left: 1rem;
}
.image-modal .modal-main-image .modal-image-nav.modal-nav-next {
  right: 1rem;
}
.image-modal .modal-main-image .modal-image-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 840px) {
  .image-modal .modal-main-image .modal-image-nav {
    padding: 0.25rem 0.5rem;
  }
}
.image-modal .modal-main-image img {
  max-width: min(100%, 720px);
  display: block;
  max-height: min(90dvh, 560px);
  -o-object-fit: contain;
     object-fit: contain;
}
.image-modal .image-modal-content.main-visible .modal-main-image {
  animation: modal-content-in 0.35s ease both;
}
.image-modal .image-modal-content.main-visible .modal-main-image img {
  animation: modal-image-in 0.35s ease both;
  animation-delay: 0.1s;
}
.image-modal .modal-main-image img {
  transition: opacity 0.15s ease;
}
.image-modal .modal-main-image img.is-switching {
  opacity: 0;
}
.image-modal .modal-thumb {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.image-modal .modal-thumb img {
  transition: scale 0.3s ease;
  display: block;
}
.image-modal .modal-thumb.active {
  background-color: var(--border-color);
  box-sizing: border-box;
}
.image-modal .modal-thumb.active img {
  opacity: 0.2;
  mix-blend-mode: multiply;
}
.image-modal .modal-other-images {
  padding-top: 2rem;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  background-color: white;
  overflow-y: auto;
  width: 100%;
  position: relative;
}
@media (min-width: 900px) {
  .image-modal .modal-other-images {
    gap: 0.5rem;
  }
}
.image-modal .modal-other-images:before {
  content: "More from this date";
  background-color: var(--bi-highlight-alt);
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem;
  right: 0;
  z-index: 5;
}
@media (max-width: 840px) {
  .image-modal .modal-other-images:before {
    background-color: white;
    z-index: 100;
    display: block;
    overflow: visible;
    border-bottom: 0;
    top: -100%;
    padding-top: 0;
  }
}
@media (max-width: 840px) {
  .image-modal .modal-other-images {
    border-left: 0;
    flex-direction: row !important;
    overflow-x: auto;
    width: 100%;
    flex-wrap: wrap;
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 1px;
  }
}
.image-modal .modal-other-images .modal-year-group {
  padding: 0.5rem;
  animation: modal-content-in 0.35s ease both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}
.image-modal .modal-other-images .modal-year-group h3 {
  font-size: 0.8rem;
  margin: 0 0 0.5rem 0;
}
.image-modal .modal-other-images .modal-year-group .modal-year-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (max-width: 840px) {
  .image-modal .modal-other-images .modal-year-group .modal-year-images {
    gap: 0.25rem;
  }
}
@media (max-width: 840px) {
  .image-modal .modal-other-images .modal-year-group {
    border-bottom: 0;
    padding: 0.25rem;
    flex-grow: 1;
    background-color: var(--bi-gray);
  }
}
.image-modal .modal-other-images p {
  margin: 0;
  font-size: 0.8rem;
  display: none;
}
.image-modal .modal-other-images img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}/*# sourceMappingURL=styles.css.map */