* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  text-align: center;
}

h1 {
  margin-top: 5rem;
  font-size: 3rem;
}

p {
  margin: 3rem auto;
  max-width: 800px;
  font-size: 1.5rem;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.loading-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 8px solid #ccc;
  border-top-color: #000;
  animation: rotate 1s ease-in-out infinite;
  margin-bottom: 1rem;
}

.loading-text {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-progress {
  margin-top: 1rem;
  width: 50%;
  height: 10px;
  background-color: #ccc;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.loading-progress:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #000;
  animation: progress 16s cubic-bezier(0.4, 0, 0.2, 1) infinite forwards;
}

@keyframes progress {
  0% {
    right: -100%;
    left: -100%;
  }
  90% {
    right: -100%;
    left: 100%;
  }
  100% {
    right: -100%;
    left: 100%;
  }
}

/* Styles pour le contenu */

.content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: relative;
  z-index: 1;
}

/* Styles pour le countdown */

.test1 {
  margin-top: 3rem;
}

.test1 p {
  font-size: medium;
}
.test1 p:nth-child(3) {
  font-size: small;
}
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 1rem auto;
  background-color: #d6d6d6;
  padding: 2rem;
  max-width: 15em;
  border-radius: 10px;
  position: relative;
}

/* Ajouter de l'espace entre les éléments */

.countdown-item {
  margin: 0 1rem;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  width: 4.5rem;
  height: 4.5rem;
  line-height: 4.5rem;
  text-align: center;
  background-color: #fff;
  color: #000;
  border-radius: 5px;
}

/* Styles pour les labels */

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #646464;
  margin-bottom: 0.5rem;
}

/* Styles pour les icônes */

.countdown-icon {
  font-size: 3rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Effet de pulse pour les chiffres */

.countdown-number span {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Media queries */

@media screen and (max-width: 768px) {
  .countdown {
    font-size: 1.5rem;
    padding: 1.5rem;
    width: 90%;
  }

  .countdown-number {
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
  }

  .countdown-icon {
    font-size: 2.5rem;
  }
}
button {
  display: block;
  margin: 1rem auto;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #0056b3;
}

.GameName {
  color: black;
  font-weight: bold;
}



