.lightbox[data-astro-cid-pmdqqxik] {
  border: none;
  border-radius: .5rem;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  background: none;
  opacity: 0;
  scale: .92;
  transition: opacity .25s ease,
            scale .25s ease,
            display .25s allow-discrete,
            overlay .25s allow-discrete;
  position: fixed;

  & .loading {
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-family: var(--font-main);
    pointer-events: none;
    background: #00000080;
    color: #fffc;
    border-radius: .5rem;
    padding: .5rem;

    & span {
      display: inline-block;
      animation: 1s ease-in-out infinite bounce;
      margin-left: .25em;

      &:nth-child(2) {
        animation-delay: .15s;
      }

      &:nth-child(3) {
        animation-delay: .3s;
      }
    }
  }
}

.lightbox[data-astro-cid-pmdqqxik]:has(img[data-loaded="false"]) .loading[data-astro-cid-pmdqqxik] {
  opacity: 1;
}

.lightbox[data-astro-cid-pmdqqxik][open] {
  opacity: 1;
  scale: 1;
}

@starting-style {
  .lightbox[data-astro-cid-pmdqqxik][open] {
    opacity: 0;
    scale: .92;
  }
}

.lightbox[data-astro-cid-pmdqqxik]::backdrop {
  background: none;
  transition: background .25s ease,
            display .25s allow-discrete,
            overlay .25s allow-discrete;
}

.lightbox[data-astro-cid-pmdqqxik][open]::backdrop {
  background: #000000b3;
}

@starting-style {
  .lightbox[data-astro-cid-pmdqqxik][open]::backdrop {
    background: none;
  }
}

.lightbox-img[data-astro-cid-pmdqqxik] {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.close[data-astro-cid-pmdqqxik] {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: none;
  border: none;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;

  &:hover {
    color: #fffc;
  }
}
.container[data-astro-cid-5y7hia5d] {
  width: 80%;
  text-align: center;
}

h2[data-astro-cid-5y7hia5d] {
  font-family: var(--font-main);
}

@keyframes in-view {
  from {
    --in-view: false;
  }

  to {
    --in-view: true;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.images[data-astro-cid-5y7hia5d] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--width), 1fr));
  grid-auto-rows: var(--rowHeight);
  gap: var(--gap);
  container: images-grid;
}

@container images-grid (width > calc(var(--width) * 2 + var(--gap))) {
  .image[data-astro-cid-5y7hia5d]:nth-child(2n) {
    --stagger: 1;
  }
}

@container images-grid (width > calc(var(--width) * 3 + var(--gap)* 2)) {
  .image[data-astro-cid-5y7hia5d]:nth-child(3n+1) {
    --stagger: 0;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(3n+2) {
    --stagger: 1;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(3n+3) {
    --stagger: 2;
  }
}

@container images-grid (width > calc(var(--width) * 4 + var(--gap)* 3)) {
  .image[data-astro-cid-5y7hia5d]:nth-child(4n+1) {
    --stagger: 0;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(4n+2) {
    --stagger: 1;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(4n+3) {
    --stagger: 2;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(4n+4) {
    --stagger: 3;
  }
}

@container images-grid (width > calc(var(--width) * 5 + var(--gap)* 4)) {
  .image[data-astro-cid-5y7hia5d]:nth-child(5n+1) {
    --stagger: 0;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(5n+2) {
    --stagger: 1;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(5n+3) {
    --stagger: 2;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(5n+4) {
    --stagger: 3;
  }

  .image[data-astro-cid-5y7hia5d]:nth-child(5n+5) {
    --stagger: 4;
  }
}

ul[data-astro-cid-5y7hia5d] {
  padding: 0;
}

.image[data-astro-cid-5y7hia5d] {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  --in-view: false;
  animation: both in-view;
  animation-timeline: view();

  & > .image-container[data-astro-cid-5y7hia5d] {
    display: block;
    border-radius: 1rem;
    box-shadow: 0 0 .5rem #0003;
    overflow: hidden;
    width: 100%;
    height: 100%;
    animation: 1s both paused fade-in;
    animation-delay: calc(var(--stagger, 0s) * 1s);

    @container style(--in-view: true) {
      animation-play-state: running;
    }

    &:has(img[data-loaded="false"]) {
      animation-play-state: paused;
    }

    & > img[data-astro-cid-5y7hia5d] {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .3s ease-in-out;

      &:hover {
        transform: scale(1.05);
      }
    }
  }
}

@keyframes bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-.5em);
  }
}

@supports not (animation-timeline: view()) {
  .image[data-astro-cid-5y7hia5d] > .image-container[data-astro-cid-5y7hia5d] {
    animation: none;
    opacity: 1;
  }
}
:root {
  width: 100%;
  height: 100%;
}

body {
  background-color: #d5dee4;
  margin: 0;
  position: relative;
  color: #101027;
}

h1[data-astro-cid-lcdefpme] {
  font-family: var(--font-main);
  font-size: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;

  & a {
    margin-top: 10px;
    transition: scale .2s ease-in-out;

    &:hover {
      scale: 1.1;
    }
  }
}

flowy-svg[data-astro-cid-lcdefpme] {
  z-index: -1;
}

main[data-astro-cid-lcdefpme] {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding: 1rem;

  @media (width <= 500px) {
    padding: 2rem;

    & h1 {
      flex-direction: column;
      align-items: center;
      gap: 1rem;

      & a {
        margin-top: 0;
      }
    }
  }
}

flowy-svg[data-astro-cid-lcdefpme] {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
