/* Style général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body et arrière-plan */
body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: white;
  padding-top: 80px;
}

/* Header */
#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0px 4px 10px rgba(255, 0, 0, 0.5);
  height: 100px; /* Augmenter la hauteur du header */
  overflow: hidden;
}



#header .logo img {
  width: 150px;
  margin-right: 20px; /* Ajuste cette valeur si nécessaire */
  position: relative;
  z-index: 10;
}


#header .nav-right {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

#header nav ul {
  list-style: none;
  display: flex;
}

#header nav ul li {
  margin: 0 15px;
}

#header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

#header nav ul li a:hover {
  color: #f00;
}

.streamer-section {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.streamer-section a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  background-color: #000;
  border: 2px solid #f00;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.streamer-section a:hover {
  background-color: #f00;
}

/* Section Hero */
.hero {
  position: relative;
  height: 100vh;
  background-color: #000;
  overflow: hidden;
}

.hero .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero .background-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 20;
}

.hero-logo {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero:hover .hero-logo {
  opacity: 1;
  animation: moveLogo 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Bangers', cursive;
  font-size: 5em;
  color: #f00;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
}

.hero .join-button {
  background-color: #f00;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
}

.hero .join-button:hover {
  background-color: #ff4d4d;
}

@keyframes moveLogo {
  0% { transform: translateX(-50%) rotate(0); }
  50% { transform: translateX(-50%) rotate(15deg); }
  100% { transform: translateX(-50%) rotate(-15deg); }
}

/* Section À propos */
.about {
  padding: 50px;
  background-color: #1c1c1c;
  text-align: center;
}

.about h2 {
  font-size: 2.5em;
  color: white;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.2em;
  color: #ddd;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Bannière avec animation */
.banner-container {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
}

.banner-item {
  background-color: #333;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  flex: 1;
  margin: 0 15px;
  transition: transform 0.3s ease;
}

.banner-item:hover {
  transform: scale(1.05);
}

.banner-item i {
  font-size: 2.5em;
  color: #f00;
  margin-bottom: 15px;
}

.banner-item h4 {
  font-size: 1.8em;
  color: white;
  margin-bottom: 10px;
}

.banner-item p {
  font-size: 1.1em;
  color: #ddd;
}

/* Images du jeu */
.game-images-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 20px 0;
}

.game-image {
  flex: 1 1 30%;
  margin: 10px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.game-image img:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: #121212;
  padding: 30px 0;
  text-align: center;
  color: white;
}

footer .social-icons {
  margin-top: 20px;
}

footer .social-icons a {
  color: white;
  margin: 0 15px;
  font-size: 2em;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #f00;
}
.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero:hover .hidden {
  opacity: 1;
  visibility: visible;
}
