:root {
  --slate-1: #111113;
  --slate-2: #18191b;
  --slate-3: #212225;
  --slate-4: #272a2d;
  --slate-5: #2e3135;
  --slate-6: #363a3f;
  --slate-7: #43484e;
  --slate-8: #5a6169;
  --slate-9: #696e77;
  --slate-10: #777b84;
  --slate-11: #b0b4ba;
  --slate-12: #edeef0;
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/poppins-v24-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/poppins-v24-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("/fonts/poppins-v24-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/poppins-v24-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
  background-color: var(--slate-1);
  color: var(--slate-12);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

h1 {
  font-size: 36px;
  line-height: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 768px) {
  h1 {
    font-size: 48px;
  }
}
@media (min-width: 1024px) {
  h1 {
    font-size: 64px;
  }
}

.container {
  margin: 0 auto;
  width: min(100% - 2rem, 1200px);
  min-height: 100vh;
  display: grid;
  gap: 2rem;
  place-items: center;
  align-content: center;
}
@media (min-width: 768px) {
  .container {
    width: min(100% - 3rem, 1200px);
  }
}

.title-wrapper {
  display: grid;
  grid-template-columns: 48px auto 48px;
  align-items: end;
}
@media (min-width: 768px) {
  .title-wrapper {
    grid-template-columns: 64px auto 64px;
    gap: 1rem;
    align-items: center;
  }
}

.countdown-wrapper {
  padding: 1.5rem 1rem;
  display: grid;
  gap: 1.5rem;
  width: 100%;
  text-align: center;
  background-color: var(--slate-3);
  border: 1px solid var(--slate-7);
  border-radius: 1rem;
}
@media (min-width: 768px) {
  .countdown-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: auto;
  }
}
@media (min-width: 1024px) {
  .countdown-wrapper {
    gap: 2rem;
  }
}

.counter {
  padding-bottom: 16px;
  display: grid;
  gap: 8px;
}
@media (min-width: 768px) {
  .counter {
    padding-bottom: 0;
  }
}
.counter:not(:last-of-type) {
  border-bottom: 1px solid var(--slate-7);
}
@media (min-width: 768px) {
  .counter:not(:last-of-type) {
    padding-right: 1.5rem;
    border-right: 1px solid var(--slate-7);
    border-bottom: none;
  }
}

.countdown-number,
.countdown-done {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2em;
}
@media (min-width: 768px) {
  .countdown-number,
  .countdown-done {
    font-size: 48px;
  }
}
@media (min-width: 1024px) {
  .countdown-number,
  .countdown-done {
    font-size: 64px;
  }
}

.countdown-done {
  grid-column: 1/6;
}

.count {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2em;
  text-align: center;
}
@media (min-width: 768px) {
  .count {
    font-size: 27px;
  }
}
@media (min-width: 1024px) {
  .count {
    font-size: 36px;
  }
}
@media (min-width: 1260px) {
  .count {
    font-size: 44px;
  }
}