.countdown {
  font-family: "Lucidity Condensed", serif;
  position: relative;
  height: 260px;
  display: flex;
  background-color: var(--new-pink);
  color: var(--bg);
  align-items: center;
  justify-content: center;

  .countdown-item {
    padding: 0.5rem 0.75rem;
    min-width: 24px;
    text-align: center;
  }
  .separator {
    padding: 1.25rem 2rem;
    font-size: 4rem;
    position: relative;
    top: 0;
    font-weight: 700;
    color: var(--bg);
    line-height: 1;
  }
  .countdown-number {
    font-weight: 700;
    font-size: 7rem;
    display: block;
    line-height: 1;
  }
  .countdown-label {
    font-family: "Lucidity Condensed", serif;
    font-size: 2rem;
    color: var(--bg);
    display: block;
    margin-top: 0.15rem;
  }
  .countdown-ended {
    font-family: "Lucidity Condensed", serif;
    font-weight: 700;
    color: var(--accent);
    margin-left: 0.5rem;
  }

  @media (max-width: 1920px) {
    height: 230px;
  }

  @media (max-width: 1280px) {
    .separator {
      font-size: 2rem;
      padding: 0.625rem 1rem;
    }

    .countdown-number {
      font-size: 6rem;
    }

    .countdown-label {
      font-size: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .separator {
      font-size: 2rem;
      padding: 0.625rem 1rem;
    }

    .countdown-number {
      font-size: 5rem;
    }

    .countdown-label {
      font-size: 1.5rem;
    }
  }

  @media (max-width: 560px) {
    .separator {
      font-size: 2rem;
      padding: 0.625rem 0;
    }

    .countdown-number {
      font-size: 3.5rem;
    }

    .countdown-label {
      font-size: 1rem;
    }
  }

  @media (max-width: 400px) {
    height: 200px;

    .separator {
      font-size: 1.5rem;
      padding: 0.5rem 0;
    }

    .countdown-number {
      font-size: 2.5rem;
    }

    .countdown-label {
      font-size: 0.75rem;
    }
  }
}

.squiggle-top-left {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 30px;
  width: 120px;
  height: 120px;

  background-color: var(--bg);
  -webkit-mask: url("/assets/svgs/squiggly-thin-line.svg") center / contain
    no-repeat;
  mask: url("/assets/svgs/squiggly-thin-line.svg") center / contain no-repeat;
}

.squiggle-bottom-right {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 30px;
  width: 120px;
  height: 120px;
  rotate: 180deg;

  background-color: var(--bg);
  -webkit-mask: url("/assets/svgs/squiggly-thin-line.svg") center / contain
    no-repeat;
  mask: url("/assets/svgs/squiggly-thin-line.svg") center / contain no-repeat;
}

@media (max-width: 1200px) {
  .squiggle-top-left {
    top: 25px;
    left: 25px;
  }

  .squiggle-bottom-right {
    right: 25px;
    bottom: 25px;
  }
}

@media (max-width: 560px) {
  .squiggle-top-left,
  .squiggle-bottom-right {
    width: 100px;
    height: 100px;
  }

  .squiggle-top-left {
    top: 40px;
    left: 20px;
  }

  .squiggle-bottom-right {
    right: 20px;
    bottom: 40px;
  }
}

@media (max-width: 400px) {
  .squiggle-top-left,
  .squiggle-bottom-right {
    width: 90px;
    height: 90px;
  }

  .squiggle-top-left {
    top: 20px;
    left: 20px;
  }

  .squiggle-bottom-right {
    right: 20px;
    bottom: 20px;
  }
}
