/* Global */
body {
  margin: 0;
  font-family: cursive, sans-serif;
  background: url('https://i.postimg.cc/HW9CTwc1/cannamaroc-pnj.jpg') center center fixed;
  background-size: cover;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  padding-top: 60px; /* espace pour la topbar */
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 40px;
  left: 10px;
  background-color: rgba(128, 128, 128, 0.5);
  padding: 5px 10px;
  border-radius: 10px;
  z-index: 1300;
}
.topbar a {
  color: gold;
  font-size: 15px;
  text-decoration: none;
  margin-right: 10px;
  cursor: pointer;
}

/* Titre */
.title {
  font-size: 65px;
  font-weight: bold;
  background: linear-gradient(to right, green, blue, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px 0;
  text-align: center;
}

/* Navbar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: rgba(128, 128, 128, 0.5);
  padding: 10px;
  width: 70%;
  margin-bottom: 20px;
  border-radius: 10px;
}
.navbar a {
  color: white;
  font-size: 15px;
  text-decoration: none;
  margin: 5px 10px;
  text-transform: uppercase;
  font-family: "Comic Sans MS", sans-serif;
}
.nav-item {
  position: relative;
}
.nav-item a {
  display: block;
  padding: 10px;
  font-size: 10px;
}
.dropdown {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  min-width: 150px;
  top: 100%;
  left: 0;
  z-index: 1000;
  border-radius: 10px;
}
.dropdown a {
  color: white;
  padding: 10px;
  display: block;
  text-decoration: none;
  text-align: center;
  font-size: 10px;
}
.dropdown a:hover {
  background-color: green;
}
.nav-item:hover .dropdown {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 10px;
  color: white;
  margin: 20px;
}

/* Container principal */
.container {
  text-align: center;
  background: rgba(100, 128, 100, 0.8);
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 20px;
  width: 90%;
  margin-left: 0px;
  margin-top: 700px;
}
.container img {
  width: 100px;
  max-width: 45%;
  display: inline-block;
  cursor: pointer;
  margin: 10px;
}
.container h1 {
  color: red;
  font-size: 20px;
  margin-bottom: 10px;
  animation: clignotant 1s infinite alternate;
}
@keyframes clignotant {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* Fenêtre modale de recrutement */
.recruitment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 20;
}
.recruitment-content {
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  color: green;
  width: 90%;
  max-width: 400px;
}
.recruitment-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #39FF14;
}
.recruitment-content h1 {
  font-size: 20px;
  margin: 20px 0;
  color: #39FF14;
}
.recruitment-content p {
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  color: #FFF;
}
.recruitment-content strong {
  font-family: 'Comic Sans MS', cursive;
  font-size: 16px;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 0px 0px 8px #ffd700;
}
.recruitment-content a {
  display: inline-block;
  background: #ffd700;
  color: black;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
}
/* Vidéo mise en avant */
.video-container {
  width:80%;
  max-width: 900px;
  margin: 20px auto;
  padding: 50px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  box-shadow: 0px 0px 10px rgba(255, 255, 0, 0.8);
  text-align: center;
}
.video-container video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
}
.recruitment-content a:hover {
  background: darkgreen;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: red;
  cursor: pointer;
}