:root {
  --cor-destaque: #18E3CB;
  --fonte-titulo: "DS Digital", sans-serif;

  --padding: clamp(16px, 4vw, 32px);
  --gap: clamp(20px, 5vw, 40px);
}

@font-face {
  font-family: "DS Digital";
  src: url("../assets/fonts/DS-Digital.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
}

html,
body {
  min-height: 100dvh;
  min-width: 100dvw;
}

body {
  background: url("../assets/img/background-desktop.png") center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;

  overflow-x: hidden;

  padding: clamp(12px, 3vw, 32px);
}

.tela {
  width: min(100%, 900px);
  padding: var(--padding);

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  gap: var(--gap);
}

.bloco-contador {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1vw, 10px);
}

.numero {
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--cor-destaque);

  line-height: 1;
  transition: opacity .2s ease;

  margin-bottom: clamp(40px, 10vw, 150px);
}

@media (max-width: 768px) {
  body {
    background-image: url("../assets/img/background-mobile.png");
  }
}

@media (max-width: 480px) {
  .tela {
    width: 100%;
  }

  .numero {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }
}

@media (min-width: 1600px) {
  .tela {
    max-width: 1100px;
  }

  .numero {
    font-size: 5rem;
  }
}