@charset "UTF-8";

@font-face {
  font-family: "alaska";
  src: url(../fonts/Alaska\ VAR-VF.woff2);
}

@font-face {
  font-family: "abc-maxi-round-mono";
  src: url(../fonts/ABCMaxiRoundMono-Regular-Trial.otf);
}

a[x-apple-data-detectors],
a {
  color: inherit !important;
  text-decoration: none !important;
}

html {
  /* scroll-behavior: smooth; */
  animation: fadeIn 1.5s;
  transition: opacity 0.6s ease;
  background-color: rgba(220, 220, 220, 1);
  scroll-snap-type: y mandatory;
}

.no-scroll {
  overflow: hidden;
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  cursor: pointer;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0px, black var(--hole-radius));
  mask-image: radial-gradient(circle at 50% 50%, transparent 0px, black var(--hole-radius));
  animation: holeReveal 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 1s;
}

@property --hole-radius {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

#splash-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: yellow;
  z-index: -1;
}

@keyframes holeReveal {
  0% {
    --hole-radius: 0px;
    opacity: 1;
  }

  20% {
    --hole-radius: 300px;
    opacity: 1;
  }

  60% {
    --hole-radius: 300px;
    opacity: 1;
  }

  85% {
    --hole-radius: 180vmax;
    opacity: 0.2;
  }

  100% {
    --hole-radius: 300vmax;
    opacity: 0;
  }
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

.splash-name {
  position: absolute;
  top: 50%;
  right: 1vw;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
  color: black;
  opacity: 0;
  animation: signatureFade 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes signatureFade {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 20px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}



#main-content {
  transition: filter 0.6s ease;
}

#main-content.blurred {
  filter: blur(10px);
  pointer-events: none;
}

h1 {
  font-size: 1.5em;
  font-family: alaska;
}

.tab {
  display: inline-block;
  margin-left: 1.5em;
}

h2 {
  font-size: 1em;
  font-family: alaska;
  color: rgb(210, 210, 210);
}

h3 {
  font-size: 1em;
  font-family: alaska;
  color: rgb(0, 0, 0);
}

h4 {
  font-size: 1em;
  font-family: alaska;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: max-content auto;
}

li {
  display: grid;
  grid-column: span 2;
  grid-template-columns: subgrid;
  gap: .4rem;
}


@media (max-width: 768px) {
  h1 {
    font-size: 1.2em;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


#button {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 75px;
  height: 75px;
  background: radial-gradient(circle, rgba(255, 255, 0, 1) 0%, rgba(255, 255, 0, 1) 40%, rgba(255, 255, 0, 0) 70%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "abc-maxi-round-mono", sans-serif;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease;
}

#button:hover {
  transform: scale(1.4);
}

.info-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 0, 1) 0%, rgba(255, 255, 0, 1) 60%, rgba(255, 255, 0, 0) 70%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 999;
  padding: 60px;
  text-align: center;
  pointer-events: none;
}

body.switch-on .info-overlay {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  pointer-events: auto;
}

body.switch-on .gallery-container {
  pointer-events: none;
}

.info-content {
  text-align: left;
  color: black;
  max-width: 80%;
}

.info-content p {
  margin-bottom: 20px;
}

.gallery-container {
  display: flex;
  flex-direction: row;
  width: 100vw;
  align-items: flex-start;
  padding: 10px;
  gap: 10px;
  box-sizing: border-box;
}

.gallery-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 10px;
}

.gallery-column::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.gallery-column img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.6s ease;
}

.image-container:hover img {
  opacity: 0;
}

.image-container {
  position: relative;
  background-color: transparent;
  cursor: pointer;
  line-height: 0;
  box-sizing: border-box;
  scroll-snap-align: center;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: yellow;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent),
    linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent),
    linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  mask-composite: intersect;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.image-overlay span {
  font-family: alaska, sans-serif;
  font-size: 1.5rem;
  color: black;
}

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


/* Slideshow Styles */
.slideshow-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.slideshow-content {
  flex-grow: 1;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

.slideshow-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.slideshow-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.close-slideshow {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  z-index: 2110;
  transition: color 0.6s ease;
}

h3.slideshow-counter {
  position: absolute;
  top: 22px;
  left: 40px;
  margin: 0;
  font-size: 1em;
  color: #333;
  z-index: 2110;
  pointer-events: none;
}

.slideshow-nav {
  position: absolute;
  top: 0;
  height: 100%;
  width: 25%;
  cursor: pointer;
  z-index: 2101;
  transition: background 0.3s ease;
}

.slideshow-nav-left {
  left: 0;
}

.slideshow-nav-right {
  right: 0;
}

.slideshow-nav-left:hover {
  background: linear-gradient(to right, rgba(255, 255, 0, 1) 0%, rgba(255, 255, 0, 0.5) 15%, transparent 40%);
}

.slideshow-nav-right:hover {
  background: linear-gradient(to left, rgba(255, 255, 0, 1) 0%, rgba(255, 255, 0, 0.5) 15%, transparent 40%);
}

.close-slideshow:hover,
.prev-slideshow:hover,
.next-slideshow:hover {
  color: yellow;
}

/* Captions */
.slideshow-caption-top {
  height: 15vh;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: alaska, sans-serif;
  z-index: 2100;
  text-align: center;
  pointer-events: none;
  flex-shrink: 0;
  margin: 0;
  font-weight: normal;
}



.slideshow-caption-bottom {
  height: 15vh;
  width: 80%;
  max-width: 700px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: alaska, sans-serif;
  color: black !important;
  text-align: left;
  z-index: 2100;
  pointer-events: none;
  flex-shrink: 0;
  margin: 0;
  font-weight: normal;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.2em;
  }

  h2 {
    font-size: 0.9em;
  }

  h3 {
    font-size: 0.9em;
  }

  .gallery-container {
    flex-direction: column;
    padding: 5px;
    gap: 5px;
  }

  .gallery-column {
    gap: 5px;
  }

  .info-overlay {
    width: 90vw;
    height: 90vw;
    max-width: 400px;
    max-height: 400px;
    padding: 20px;
  }

  .info-content {
    font-size: 0.85rem;
    max-width: 90%;
  }

  .slideshow-caption-top {
    height: 10vh;
    font-size: 0.8rem;
  }

  .slideshow-caption-bottom {
    height: 15vh;
    font-size: 0.75rem;
    width: 95%;
  }

  .slideshow-content {
    max-width: 95%;
  }

  .close-slideshow {
    right: 20px;
    top: 10px;
  }

  h3.slideshow-counter {
    left: 20px;
    top: 12px;
  }

  .prev-slideshow {
    left: 10px;
  }

  .next-slideshow {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .slideshow-caption-bottom {
    font-size: 0.75rem;
    width: 90%;
  }
}