* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: monospace;
}

body {
  background-color: black;
  color: white;
  text-align: center;
}

body,
html {
  overflow-x: hidden;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
  transition: opacity 120ms ease;
}

@media (hover: none) and (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

.nav-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.25);

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.35);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.options:hover .nav-glass {
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 10px 26px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.options:active .nav-glass {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.45);
}

.nav-glass i {
  font-size: 0.95em;
  opacity: 0.9;
}

.nav-glass span {
  line-height: 1;
}

@media (hover: none) {
  .options:hover .nav-glass {
    transform: none;
  }
}

#password-screen {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;

  opacity: 0;
  transition: opacity 1.2s ease;
}

.password-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 280px;

  transform: translateY(10px);
  transition: transform 3.8s ease;
}

#password-screen.fade-in {
  opacity: 1;
}

#password-screen.fade-in .password-box {
  transform: translateY(0);
}

#site-content {
  display: none;
  opacity: 0;
}

#password-screen {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  opacity: 1;
}

#splash {
  z-index: 9999;
}

#password-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.password-label {
  font-size: 14px;
  color: #555;
  text-align: left;
}

.password-box input {
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

.password-box input:focus {
  border-color: black;
}

.password-box button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
  font-size: 14px;
}

#passwordError {
  display: none;
  font-size: 12px;
  color: red;
  text-align: center;
}

.hidden {
  visibility: hidden;
}

#splash {
  position: fixed;
  inset: 0;

  .splash-text {
    position: relative;
    font-size: clamp(28px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: 0.35em;
    color: grey;
  }

  .splash-text .copyright {
    position: absolute;
    top: -0.6em;
    right: -0.6em;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0;
  }

  .copyright {
    color: rgb(128, 128, 128, 0.5);
  }

  background-color: rgba(255, 255, 255, 1);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
  pointer-events: none;

  animation: splashBgFade 3.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-text {
  font-size: clamp(28px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0.35em;
  color: grey;

  animation: textFade 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splashBgFade {
  0% {
    background-color: rgba(255, 255, 255, 1);
  }
  60% {
    background-color: rgba(255, 255, 255, 1);
  }
  85% {
    background-color: rgba(255, 255, 255, 0.3);
  }
  100% {
    background-color: rgba(255, 255, 255, 0);
  }
}

@keyframes textFade {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  40% {
    opacity: 1;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

#kvid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  max-width: 100%;
  margin: auto;
  padding-bottom: 10px;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 30%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.header-graphics img {
  height: 150px;
  margin-top: -20px;
  margin-bottom: -35px;
  border: none;
  box-shadow: none;
}

#head2 {
  margin-left: -45px;
}
#head3 {
  margin-right: -45px;
}

.nav-options {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 22px;
  padding: 0 16px;
  white-space: normal;

  margin: 20px 0;
  transition:
    transform 0.35s ease,
    backdrop-filter 0.35s ease;
}

.nav-options.is-sticky {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.options {
  display: flex;
  align-items: center;
  font-size: clamp(12px, 1.6vw, 20px);
  gap: 10px;
  color: white;
  text-decoration: none;
}

.title {
  font-size: 30px;
  animation: h1Animation 1s ease-in-out;
}

.tail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 160px 16px 80px;
}

img {
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 10px;
  border: 4px solid whitesmoke;
  box-shadow: 0 0 15px #fff;
}

.image,
.image2 {
  width: min(100%, 420px);
  height: auto;
  transition: all 1s ease;
  animation: float 2s ease-in-out infinite alternate;
}

.image2 {
  animation-direction: alternate-reverse;
}

.image:hover,
.image2:hover {
  transform: scale(1.03);
}

.fade-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding-bottom: 14px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 30%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0) 100%
  );

  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.3px;

  z-index: 9999;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.15);
}

.fade-footer span {
  opacity: 0.7;
  margin-left: 8px;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.15);
}

@keyframes float {
  from {
    transform: rotate(-1deg);
  }
  to {
    transform: rotate(1deg);
  }
}

@keyframes h1Animation {
  from {
    font-size: 0;
  }
  to {
    font-size: 30px;
  }
}

@media (min-width: 0px) and (max-width: 600px) {
  .header-graphics img {
    height: 100px;
  }
  .image,
  .image2 {
    width: 100%;
  }
  .image:hover,
  .image2:hover {
    transform: none;
  }
  .divider {
    font-size: 8px;
  }
  .title {
    font-size: 20px;
  }
  .options {
    font-size: 12px;
  }
  .options:hover {
    font-size: 12px;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  .header-graphics img {
    height: 100px;
  }
  .image,
  .image2 {
    width: min(100%, 320px);
  }
  .image:hover,
  .image2:hover {
    transform: scale(1.02);
  }
  .divider {
    font-size: 12px;
  }
  .title {
    font-size: 20px;
  }
  .options {
    font-size: 14px;
  }
  .options:hover {
    font-size: 14px;
  }
}
