html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Assurez-vous que votre footer reste en bas */
footer.footer {
  margin-top: auto;
  width: 100%;
}
button,
.button {
  padding: 10px 10px;
  background-color: #4caf50;
  color: black;
  border: 4px solid black;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Grandstander", cursive;
  display: block;
  width: 80%;
  max-width: 260px;
  box-sizing: border-box;
  margin: 20px auto;
}

@media (max-width: 768px) {
  button,
  .button {
    width: 100%;
    font-size: 1.2rem;
    padding: 8px 10px;
  }
}

.rotate-animation {
  animation: rotation 2s infinite linear;
}

#randomImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#imageContainer {
  width: 400px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 10px solid black;
  border-radius: 15px;
  transition: all 0.5s ease;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#welcomeMessage {
  padding-top: 100px;
}
.telegram-widget-wrapper {
  /* Centrer le widget Telegram dans la page */
  display: flex;
  justify-content: center;
  align-items: top;
  padding-top: 100px;
}
.telegram-widget-wrapper iframe {
  border-radius: 10px; /* Optionnel : ajoutez un arrondi aux coins de l'iframe */
  overflow: hidden; /* Assurez-vous que les coins arrondis sont visibles */
}