
body {
  margin: 0;
  padding-top: 80px;
  font-family: 'Poppins', sans-serif;
  background: url('../img/arire.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
}
h1, h2 {
  font-size: 3em;
  margin: 20px 0;
  padding-top: 100px; /* Ajout d'espace pour éviter le masquage par le menu */
}
.Planning_h1 {
  font-size: 3em;
  margin: 20px 0;
  color: black;
}
.planning {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: url('../img/arire.png') no-repeat center center fixed;
  background-size: cover;
  color: #000;
  text-align: center;
}
p {
  font-size: 1.2em;
}

/* Calendar container */
#calendar {
  max-width: 1200px;
  margin: 50px auto;
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 650px; /* Adjusted height */
}
.form-container {
  background-color: #f0f8ff;
  padding: 40px;
  margin: 100px auto;
  border-radius: 15px;
  max-width: 900px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-floating {
  margin-bottom: 20px;
}

.form-floating input, .form-floating textarea {
  background: white;
  color: black;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.contact {
  font-size: 3em;
  margin: 20px 0;
  color: black;
}
.mon-discord {
  font-size: 1.2em;
  margin: 20px 0;
  color: black;
}
/* Navigation Menu */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  padding: 10px 0;
  text-align: center;
  z-index: 1000;
}
label {
  color: #000;
}
nav a {
  display: inline-block;
  text-decoration: none;
  color: white;
  background-color: #ffcf00;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  margin: 5px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

nav a:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
}

/* Hero Section with Background */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 70px; /* Adjust for fixed nav */
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: 4.5em;
  letter-spacing: 3px;
  animation: fadeInDown 1.5s ease-out;
}

.hero p {
  font-size: 1.5em;
  animation: fadeInUp 1.5s ease-out;
}

.hero img {
  width: 25vw; /* Responsive width based on viewport width */
  max-width: 200px; /* Max width for larger screens */
  border-radius: 20px; /* Rounded corners for the logo */
  margin-bottom: 20px;
  box-shadow: 0px 0px 15px #000;
}

/* Social Media Section */
.social-icons {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap; /* Allows icons to wrap on smaller screens */
}

.content {
  margin-top: 100px; /* Space for the fixed navbar */
}
.contenues {
  margin-top: 100px; /* Space for the fixed navbar */
}
.social-icons a {
  margin: 0 15px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.video-container {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.video-card {
  background: #fff;
  color: #000;
  margin: 20px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 560px;
  width: 100%; /* Make it responsive */
  text-align: left; /* Align text to the left */
}

.video-card h3 {
  margin: 10px 0;
}
.social-icons a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.social-icons img {
  width: 10vw; /* Responsive width */
  max-width: 60px; /* Max width for larger screens */
  transition: width 0.3s; /* Smooth transition for icon resizing */
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  font-size: 0.9em;
  color: #ccc;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
  opacity: 0.9;
}
.confirmation-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
}
/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  h1, h2 {
      font-size: 2.5em;
  }

  p {
      font-size: 1.1em;
  }

  .hero img {
      width: 75vw; /* Increased size for smaller screens */
  }
  .hero h1 {
    font-size: 2.5em;
    letter-spacing: 3px;
    animation: fadeInDown 1.5s ease-out;
  }
  .video-card {
    margin: 10px; /* Reduce margin on small screens */
}
.form-container {
  padding: 20px;
  margin: 20px;
  max-width: 90%;
}
  .hero p {
    font-size: 1em;
    letter-spacing: 3px;
    animation: fadeInUp 1.5s ease-out;
  }
  .video-card iframe {
    width: 100%; /* Make iframe responsive */
    height: auto; /* Maintain aspect ratio */
}
  .social-icons img {
      width: 15vw; /* Responsive width */
      max-width: 50px; /* Max width for smaller screens */
  }

  nav a {
      padding: 10px 20px; /* Adjust padding for smaller screens */
      font-size: 16px; /* Smaller font size for nav links */
  }
}