/* css/style.css */

/* === FONT LOCALE === */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* === EFFETTO FADE-IN === */
.fade-in {
  opacity: 0;
  animation: fadeIn ease 4s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === STILE BASE === */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f4f4f4;
  text-align: center;
}

/* === LOGO === */
.logo {
  width: 400px;
  height: 400px;
  background-image: url('../img/logo-asso80.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 20px;
}

/* === TESTO === */
.text-container {
  max-width: 80%;
  color: #333;
  font-size: 1.2em;
}

.text-container p {
  margin: 20px 0;
}

/* === TITOLO EVIDENZIATO === */
.highlight {
  font-weight: 700;
  font-size: 2em;
  color: #003366;
}

/* === COUNTDOWN === */
#countdown {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 10px;
  color: #555;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .logo {
    width: 80vw;
    height: 80vw;
  }

  .text-container {
    font-size: 1em;
    margin: 0 5%;
  }

  .highlight {
    font-size: 1.5em;
  }
}