@font-face {
  font-family: "Rosie Brown Serif Demo";
  src: url("/assets/fonts/Rosiebrownserifdemo.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

html,
body {
  width: 100vw;
  height: 100vh;
  font-family: "Rosie Brown Serif Demo", "Times New Roman", "Poppins",
    sans-serif;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: white;
}

.times-new-roman {
  font-family: "Times New Roman", serif;
}

.rosie {
  font-family: "Rosie Brown Serif Demo";
}

.poppins {
  font-family: "Poppins", sans-serif;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-wrapper {
  position: relative;
  z-index: 10;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

h1 {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

p {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.timer {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ouna {
  font-size: 110px;
}

.collective {
  font-size: 24px;
}

.timer-number {
  font-family: "Rosie Brown Serif Demo";
  font-size: 150px;
  color: white;
  line-height: 0.9;
  letter-spacing: 0.05em;
}

.timer-label {
  font-family: "Rosie Brown Serif Demo";
  font-size: 24px;
  font-weight: normal;
  color: white;
  letter-spacing: 0.2em;
}

.timer {
  padding: 0;
  gap: 14px;
}

@media (max-width: 768px) {
  .timer-number {
    font-size: 72px;
  }
  .timer-label {
    font-size: 16px;
  }

  .timer {
    padding: 0 32px;
  }

  .ouna {
    font-size: 64px;
  }
  .collective {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .timer-number {
    font-size: 56px;
  }
  .timer {
    padding: 0;
  }
  .timer-label {
    font-size: 14px;
  }

  .ouna {
    font-size: 64px;
  }
  .collective {
    font-size: 14px;
  }
}
