:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fdf6e9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.page-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.site-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #9a8f78;
  padding: 0.75rem;
}

/* Hello World hero */

.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  width: 100%;
  max-width: 60rem;
}

.hero__heading {
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #c0392b;
  text-shadow: 0.05em 0.05em 0 #f6c453;
  text-align: center;
}

.hero__image {
  width: clamp(6rem, 20vw, 14rem);
  height: auto;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .hero__heading {
    max-width: 100%;
  }

  .hero__image {
    align-self: center;
  }
}

/* Login page */

.login-card {
  background: #ffffff;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 22rem;
  width: 100%;
  text-align: center;
}

.login-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  color: #c0392b;
}

.login-card input[type="password"] {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  margin-bottom: 0.75rem;
}

.login-card button {
  width: 100%;
  background: #c0392b;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  cursor: pointer;
}

.login-card button:hover {
  background: #a8321f;
}

.login-error {
  color: #c0392b;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* Bingo page */

.bingo-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.bingo-stage__image {
  width: clamp(16rem, 70vw, 30rem);
  max-width: 100%;
  height: auto;
  display: block;
}

.bingo-stage__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  margin: 0;
  font-size: clamp(2.5rem, 12vw, 6rem);
  font-weight: 900;
  color: #c0392b;
  white-space: nowrap;
  text-shadow:
    -3px -3px 0 #fff,
    3px -3px 0 #fff,
    -3px 3px 0 #fff,
    3px 3px 0 #fff,
    0.08em 0.08em 0 #f6c453;
}
