html {
  font-family: "Lato", sans-serif;
}
.boite {
  border: 2px solid #e7bd70;
  padding: 20px;
  margin: 20px;
  background-color: #333;
  color: #e7bd70;
  border-radius: 10px;
}
body {
  
  grid-template-columns: 20% 60% 20%;
  grid-template-rows: 20% 80% 70% 30%;
  grid-template-areas:
    "menu menu menu"
    "entre entre entre"
    "footer footer footer";
  margin: 0;
  height: 100vh;
  background-color: #252525;
  font-family: "Lato", sans-serif;
}
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;
}

.logo {
  flex: 1;
}

.logo img {
  max-height: 150px;
  padding: 10px;
  width: auto;
}
.sans-retour {
  display: inline-block;
}
.menu {
  display: flex; /* Utilisation pour mettre le menu sous forme de ligne  */
  gap: 30px;
  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;
}

.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,
div {
  color: #e7bd70;
}
.entreprise {
  width: 100%;
  grid-area: entre;
  color: #252525;
  font-size: 35px;
  text-align: left;
}
.entreprise h1 {
  text-align: center;
}
.entreprise div {
  text-align: justify;
}

footer {
  grid-area: footer;
  background-color: #1a1a1a;
  padding: 0;
  margin: 0;
  width: 100%;
  
}

.banniere1 {
  padding-top: 50px; /* espace du haut de 50px */
  color: #e7bd70;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* espacer les flexbox */
  width: 100%;
}
.milieu,
.gauche,
.droite {
  flex: 1; /* taille espacement entre les flexbox */
  text-align: center; /* centrer le texte */
  font-size: 17px;
}
.réseaux,
.adresse,
.horaires {
  font-size: 26px;
  justify-content: center;
}

.event {
  grid-area: ev;
  background-color: rgb(34, 34, 16);
  padding: 0;
  margin: 0;
}

.events {
  grid-area: ev;
  display: flex;
  flex-wrap: wrap; /* retour a la ligne si la ligne est pleine */
  justify-content: space-around; /* Aligne les éléments avec des espaces égaux entre eux */
  padding: 20px;
  gap: 20px;
  background-color: #252525;
}

.event {
  background: #333;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, 0.3s ease; /* Ajoute une transition fluide pour l'animation  */
}

.event img {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.event h2 {
  font-size: 1.5rem;
  color: #e7bd70;
  margin: 10px 0;
}

.event p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 10px 0;
  color: white;
}
.concepteurs {
  text-decoration: none;
  color: #e7bd70;
}
.event button {
  background-color: #e7bd70;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer; /* Change le curseur en pointeur quand on va dessus*/
  transition: background-color 0.3s ease; /* Ajoute une transition fluide pour le changement de couleur de fond */
}

.video-presentation {
  grid-area: entre;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #252525;
}

.video-presentation video {
  grid-area: entre;
  max-width: 500px;
}