html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

.clock {
  width: 100%;
  height: 25%;
  position: absolute;
  top: 30%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 199999;
}

.countdown {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 9997;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin: 0 5px;
}

.countdown-number {
  font-weight: 700;
  font-size: 4em;
  position: relative;
  transition: transform 0.5s ease, color 0.5s ease;
}

.countdown-unit {
  font-size: 1em;
  text-transform: uppercase;
  margin-top: 5px;
}

.countdown-colon {
    font-weight: 700;
  font-size: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

  @keyframes flash {
    0% {
      color: var(--accent);
      transform: scale(1.3);
    }
  
    to {
      color: #fff;
      transform: scale(1);
    }
  }

.flash {
  animation: flash 0.5s ease forwards;
}

.hide-countdown {
  position: relative;
  margin-top: auto;
  text-align: center;
  color: var(--text-subtle);
  text-decoration: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hide-countdown:hover {
  color: var(--accent);
  text-decoration: underline;
}

a {
  color: var(--text-subtle);
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

a:hover {
  text-decoration: underline;
}