body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #252525;
    display: grid; /* Changed from flex to grid */
    grid-template-columns: 20% 60% 20%;
    grid-template-rows: 20% 80%;
    grid-template-areas:
      "menu menu menu"
      "cont cont cont";
    align-items: center;
    justify-content: center;
    
}
.logo img {
    max-height: 150px;
    padding: 10px;
    width: auto;
  }
  header {
    grid-area: menu;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #1a1a1a;
    font-family: "Lato", sans-serif;
  }
  header h2 {
    color: #e7bd70;
    font-size: 50px;
    font-family: "Lato", sans-serif;
    padding-left: 20px;
  }
.container {
    grid-area: cont;
    max-width: 700px;
    width: 700px;
    margin: 50px;
    padding: 20px;
    background: #fff;
    margin-left: 600px;
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.menu {
    display: flex; /* Utilisation pour mettre le menu sous forme de ligne  */
    gap: 20px;
    align-items: center;
    justify-content: flex-end; /*pour faire commencer le menu a la fin ddu header */
    flex: 2; /* x2 pour les éléments dans le flexbox */
  }

  .menu a {
    color: #e7bd70;
    text-decoration: none; /* Supprime le soulignement */
    padding: 10px 15px;
    display: block; /* Les éléments a prennent toute la largeur disponible */
    transition: background-color 0.7s ease; /* Transition pour le survol */
    font-size: 26px;
    margin-right: 0;
  }

  header h2 {
    color: #e7bd70;
    font-size: 50px;
    font-family: "Lato", sans-serif;
  }

  .menu a:hover {
    background-color: #333333; /* couleur pour le survol */
    border-radius: 5px;
  }
  
  .menu-item {
    position: relative; /* Pour le responsive */
  }
  
  .menu-item > a {
    cursor: pointer; /* Change le curseur pour indiquer que c'est cliquable */
  }

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 2px;
    font-weight: bold;
}

input, textarea, button {
    margin: 10px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: none; 
    overflow-y: hidden; 
}
.button-container {
    display: flex;
    justify-content: space-between; /* Espacement entre les boutons */
    align-items: center;
}

.bouton {
    display: flex;
    justify-content: space-between; /* Espacement entre les deux boutons */
    align-items: center;
    margin-top: 10px; /* Ajoute un espace entre les boutons et les autres éléments */
}

button.un {
    background-color: #ff4d4d; /* Fond rouge pour le bouton Réinitialiser */
    color: white;
    padding: 8px 15px; /* Ajuste l'espace interne */
    font-size: 14px; /* Taille de police légèrement réduite */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 30%; /* Largeur réduite pour Réinitialiser */
}

button.un:hover {
    background-color: #cc0000; /* Rouge plus foncé au survol */
}

button.deux {
    background-color: #1a1a1a; /* Fond noir pour le bouton Envoyer */
    color: white;
    padding: 10px 20px; /* Plus grand que Réinitialiser */
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 65%; /* Largeur plus grande pour Envoyer */
}

button.deux:hover {
    background-color: #0a0a0a; /* Noir plus foncé au survol */
}
