body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #fff;
  line-height: 1.6;
  /* Set background image */
  /* background-image: url('joue play img home.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-repeat: no-repeat; */
  min-height: 100vh; /* Ensure the background covers the full viewport height */
}

header {
  background-color: #000000;
  color: #fff;
  padding: 0.2rem 0;
  text-align: center;
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center;
  transition: background-color 0.3s ease; /* Add transition for smooth effect */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.8); /* Dark grey with transparency */
}

header img {
  margin: 0 auto; /* Center the image horizontally */
  display: block; /* Ensure the image respects margin settings */
}

nav {
  display: none; /* Hide the nav */
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 0 1rem;
}

.menu-right {
  display: none; /* Hide the menu-right */
}

.menu-right a {
  color: #fff;
  text-decoration: none;
  padding: 0 1rem;
}

#hero {
  background-color: rgba(0, 0, 0, 0.7); /* Add a semi-transparent background */
  padding: 2rem 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Apply background image to hero section */
  background-image: url(joue\ play\ img\ home.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 50vh; /* Ensure the background covers the full section height */
}

.hero-content {
  flex: 1;
  padding: 20px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-button {
  background-color: #e44d26;
  color: #fff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

section {
  padding: 2rem 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7); /* Adding transparency to sections */
}

#a-propos {
  background-color: rgba(0, 0, 0, 0.7);
}

#gameplay {
  background-color: rgba(0, 0, 0, 0.7);
}

.gameplay-highlights {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 1rem;
}

.gameplay-item {
  flex: 1;
  padding: 1rem;
  margin: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #fff;
}

#telechargement {
  background-color: rgba(0, 0, 0, 0.7);
}

.download-button {
  background-color: #ff0000;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: auto;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

#contact {
  background-color: rgba(0, 0, 0, 0.7);
}

#contact form {
  max-width: 500px;
  margin: 0 auto;
  padding: 1rem;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #555;
  color: #fff;
}

#contact button {
  background-color: #333;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

footer {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

#article-container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid white;
}

#article-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  padding: 5px;
}

#application-hero {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem 0;
  text-align: center;
}

#application-hero .hero-content {
  padding: 20px;
}

#application-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#application-details {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem 0;
  text-align: center;
}

.details-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 1rem;
}

.detail-item {
  flex: 1;
  padding: 1rem;
  margin: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #fff;
  min-width: 250px;
}

#screenshots {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem 0;
  text-align: center;
}

.screenshots-gallery {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 1rem;
}

.screenshots-gallery img {
  max-width: 300px;
  height: auto;
  margin: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}