.countdown {
  background: url(../../../assets/images/lines.jpg) center/cover no-repeat;
  color: var(--color-white);
}
.countdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--linear-gradient);
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.countdown__content {
  display: flex;
  gap: clamp(1em, 5cqw, var(--gap));
  z-index: 3;
}
.countdown__icon {
  flex-shrink: 0;
}
.countdown__icon-image {
  height: clamp(40px, 7cqw, 70px);
  width: auto;
  margin-top: 1.5em;
}
.countdown__timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  flex-grow: 1;
}
.countdown__timer-note {
  font-size: var(--font-size-18);
  color: var(--color-white);
  margin-bottom: 0;
}
.countdown__timer-ended {
  text-transform: uppercase;
  font-size: var(--font-size-30);
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  display: none;
}
.countdown__timer-ended.visible {
  display: block;
}
.countdown__content-wrapper {
  max-width: 24em;
}
.countdown__title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  font-optical-sizing: auto;
  letter-spacing: var(--letter-spacing);
  font-size: var(--font-size-36);
  margin: 0 0 0.25em 0;
}
.countdown__text {
  font-size: var(--font-size-20);
  line-height: var(--line-height);
}
.countdown .button {
  --button-text-color: var(--color-primary);
  --button-border-color: var(--color-primary);
  --button-font-size: var(--font-size-18);
  --button-padding: 0.75em 1.6em 0.65em;
  font-weight: var(--font-weight-medium);
  margin-top: 1.25em;
}
.countdown .flipdown .rotor {
  font-size: 6rem;
}
.countdown .rotor-group-heading {
  font-size: var(--font-size-18);
  color: var(--color-white);
  margin-bottom: 0.5em;
  font-weight: var(--font-weight-light);
  text-transform: lowercase;
}
@media screen and (max-width: 960px) {
  .countdown__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .countdown__icon-image {
    height: clamp(30px, 10cqw, 50px);
    margin-top: 0;
  }
  .countdown__timer {
    gap: 0.5em;
    margin-top: 1em;
  }
  .countdown .flipdown .rotor {
    font-size: 4rem;
  }
  .countdown .flipdown .rotor-group-heading:before {
    font-size: var(--font-size-12);
  }
}