* {
  font-family: 'Poppins', sans-serif;
}

/* reset list style */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

:root {
  --padding: 2em;
}

/* Styles pour l'en-tête */
header {
  width: 100%;
  background-color: #fff;

}

.header {
  padding: 0 var(--padding);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-nav {
  margin-left: auto;
}

/* media queries */
@media (min-width: 768px) {

  /* Styles spécifiques aux appareils mobiles */
  .header-nav {
    margin-left: 2em;
  }
}

h1 a {
  font-size: 2rem;
  color: #fc9e4f;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}


p {
  font-size: 16px;
  color: #777;
  text-align: justify;
}

/* Styles pour les boutons */
.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

@media (min-width: 768px) {

  /* Styles spécifiques aux appareils mobiles */
  .button-group {
    justify-content: center;
  }
}

.cta-button {
  display: inline-block;
  background-color: #023e8a;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  transition: background-color 0.3s ease;
  padding: 10px 25px;
}

.cta-button:hover {
  background-color: #fc9e4f;
}

/* Styles pour le bouton Copier le texte */
#copyButton {
  padding: 8px 25px;
  background-color: transparent;
  color: black;
  font-size: 18px;
  border: 2px solid #fcbf49;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  transition: 0.3s ease;
}

#copyButton:hover {
  background-color: #fcbf49;
  color: white;
}


/* Styles pour le paragraphe de résultat */

.resultat-conteneur {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
  position: relative;
  background-color: #fcbf49;
  width: 100%;
  max-width: 380px;
  height: 180px;
}

@media (min-width: 768px) {

  /* Styles spécifiques aux appareils mobiles */
  .resultat-conteneur {
    width: 380px;
  }
}

.resultat {
  display: flex;
  height: 120px;
  font-size: 30px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.bouton-lire-conteneur {
  position: absolute;
  right: 20px;
  /* Ajustez la distance à partir de la droite */
  bottom: 10px;
  /* Ajustez la distance à partir du bas */
}

.icone-haut-parleur {
  font-size: 24px;
  cursor: pointer;
  color: #333;
}


/* Styles pour le menu de navigation */

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #023e8a;
}

/* Styles pour le footer */

footer {
  text-align: left;
  color: #fff;
  background-color: #fff;
  margin-top: auto;
  padding: 20px var(--padding);
}


.footer-content {
  text-align: left;
}

footer p {
  color: #555;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}

/* Styles pour tout le site */
html,
body {
  height: 100%;
  /* rset css */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: column;
}

main {
  padding: 0 var(--padding);
  overflow: auto;
  min-height: calc(100vh - 176px);
}

.main-content {
  display:flex;
}

h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  text-align: center;
}


@media (max-width: 768px) {
  main section {
    margin: 10px;
    /* Ajustez la marge pour éviter le chevauchement avec le footer */
  }
}

/* container stytles */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}