:root {
  --bg: #171f27;
  --card: #fff;
  --accent: #0a74da;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  perspective: 1000px;
  overflow-y: hidden;
  overflow-x: hidden;
}
.site {
  max-width: 900px;
  margin: 32px auto;
  padding: 24px;
}
header {
  color: #e4d2d2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header h1 {
  margin: 0;
  font-size: 1.25rem;
}
main {
    color: #000000;
}
nav a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 12px;
  font-weight: 600;
}
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}
footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
@media (max-width: 600px) {
  .site {
    margin: 16px;
    padding: 16px;
  }
}
.blossom-container {
    position: fixed;
    top: -10%;
    user-select: none;
    pointer-events: none;
    z-index: -1;
    
    animation: falling_blossom var(--fall-duration) linear var(--fall-delay) infinite;
}

.blossom-container img {
    width: 40px; /* Randomize this later */
    height: auto;
    animation: wobble 3s ease-in-out infinite alternate;
}

.blossom {
    width: 100%;
    height: auto;
}

@keyframes falling_blossom {
    0% {
        top: -10%;
        transform: translateX(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    10% {
        transform: translateX(calc(var(--direction) * 15px)) rotateX(calc(var(--direction) * 45deg)) rotateY(45deg) rotateZ(10deg);
    }
    50% {
        transform: translateX(calc(var(--direction) * -30px)) rotateX(calc(var(--direction) * 180deg)) rotateY(180deg) rotateZ(20deg);
    }
    75% {
        transform: translateX(calc(var(--direction) * 15px)) rotate(calc(var(--direction) * 270deg)) rotateY(45deg) rotateZ(10deg);
    }
    100% {
        top: 110%;
        transform: translateX(0) rotateX(calc(var(--direction) * 360deg)) rotateY(360deg) rotateZ(0deg);
    }
}

@keyframes wobble {
    0% {
        transform: translateX(-15px) rotateZ(-10deg);
    }
    100% {
        transform: translateX(15px) rotateZ(10deg);
    }
}