/* noel : styles propres à l'outil, isolés sous .fdm-tool--compte-a-rebours-de-noel */
.fdm-tool--compte-a-rebours-de-noel {
  line-height: normal;
}
.fdm-tool--compte-a-rebours-de-noel * {
  box-sizing: content-box;
  margin: revert;
  padding: revert;
}

@font-face {
  font-family: "Mountains of Christmas";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("mountains-of-christmas-latin-700-normal.woff2") format("woff2");
}

.fdm-tool--compte-a-rebours-de-noel {
  margin: 0;
  padding: 0;
  background-image: url("https://francoisdm.fr/wp-content/uploads/2025/04/fondnoel.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: "Mountains of Christmas", cursive;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 20px;
  box-sizing: border-box;
}

.fdm-tool--compte-a-rebours-de-noel #countdown {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2em;
  text-align: center;
  border: 3px solid gold;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  max-width: 90%;
}

.fdm-tool--compte-a-rebours-de-noel .time-section {
  flex: 1 1 100px;
  text-align: center;
}

.fdm-tool--compte-a-rebours-de-noel .time-number {
  font-size: 3.5rem;
  color: #dc143c;
}

.fdm-tool--compte-a-rebours-de-noel .time-label {
  font-size: 1.2rem;
  color: #8b0000;
}

/* Responsive pour petits écrans */
@media (max-width: 600px) {
  .fdm-tool--compte-a-rebours-de-noel .time-number {
    font-size: 2.5rem;
  }

  .fdm-tool--compte-a-rebours-de-noel .time-label {
    font-size: 1rem;
  }

  .fdm-tool--compte-a-rebours-de-noel #countdown {
    padding: 1.5em;
    gap: 1em;
  }
}

@media (min-width: 900px) {
  .fdm-tool--compte-a-rebours-de-noel .time-number {
    font-size: 4rem;
  }

  .fdm-tool--compte-a-rebours-de-noel .time-label {
    font-size: 1.3rem;
  }
}

.fdm-tool--compte-a-rebours-de-noel {
  background-color: #fff;
}
