/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: #fafafa;           
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Layout ---------- */

.page {
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr 1fr; /* split screen */
}

.top-half {
  display: flex;
  align-items: center;
  justify-content: center;   /* horizontal centering */
  text-align: center;
  padding: 24px;
}

.bottom-half {
  display: flex;
  align-items: center;       
  justify-content: center;   /* horizontal centering */
  text-align: center;
  padding: 24px;
}

.center-block {
  max-width: 1400px;
  width: 100%;
}

/* ---------- Text ---------- */

.title {
  margin: 0 0 8px 0;
  font-size: 25px;
  letter-spacing: 0.14em;
  font-weight: 900;
  color: #b00020;
}

.date {
  font-size: 25px;
  margin-bottom: 32px;
  color: #1a1a1a;
}

/* ---------- Countdown ---------- */

.countdown {
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(28px, 6vw, 72px);
  white-space: nowrap;
}

.total-seconds {
  margin-top: 16px;
  font-size: 25px;
  color: #2a2a2a;
}

/* ---------- Bottom Quote ---------- */

.bottom-quote {
  position: fixed;
  bottom: 42px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 17px;
  color: #2b2b2b;
  pointer-events: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  .countdown {
    white-space: normal;          /* allow wrap on very small screens */
  }

  .title {
    font-size: 16px;
  }

  .date {
    font-size: 14px;
  }
}
