body {
  margin: 0;
  padding: 0;
  background-color: #232323;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-family: 'open sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
}

body {
  font-family: 'Open Sans', sans-serif;
}

a {
  text-decoration: none;
}






/*HEADER*/
.header {
  background-color: #383838;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
  position: relative;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Positionne le logo à gauche avec une marge de 80px */
.logo {
  position: absolute;
  left: 80px;
}

.logo img {
  height: 80px;
}

/* Positionne le menu burger à droite avec une marge de 80px et augmente sa taille */
.burger-menu {
  position: absolute;
  right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 30px; /* Taille augmentée */
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 40px; /* Largeur augmentée */
  height: 20px; /* Hauteur augmentée */
  background-color: #FDFDFD;
  margin: 4px 0;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #232323;
  color: #FDFDFD;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  text-align: left;
}

/* Affichage du menu actif */
.mobile-menu.active {
  transform: translateY(0);
}

/* En-tête du menu avec le logo et le bouton de fermeture */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  margin-bottom: 30px;
}

.menu-header .menu-logo {
  margin-top: 30px;
  margin-left: 50px; 
}

.menu-header .menu-logo img {
  height: 80px;
}

.close-menu {
  font-size: 80px;
  cursor: pointer;
  color: #FDFDFD;
  margin-right: 80px; 
}

.menu-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.menu-list li {
  margin: 20px 0;
}

.menu-list li a {
  color: #FDFDFD;
  font-size: 40px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  text-align: left; 
  width: 100%;
  max-width: 300px;
}

.menu-list li a:hover {
  color: #2086FF;
}

/* Style pour le bouton */
.menu-footer {
  text-align: center;
  margin-top: 50px;
}

.login-button {
  display: inline-block;
  padding: 20px 40px;
  background-color: #007bff;
  color: #FDFDFD;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #0056b3;
}











.home-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Superposition avec opacité */
.home-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 35, 35, 0.8); /* Couleur #232323 avec 70% d'opacité */
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; /* Place l'image en arrière-plan */
}

.hero-content {
  position: relative;
  color: #FDFDFD;
  z-index: 1; /* Assure que le texte soit au-dessus de la superposition */
}

.home-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 150px;
  color: #FDFDFD;
  margin-bottom: -30px;
}



.home-title .highlight {
  color: #007bff;
}

.home-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 40px;
  color: #FDFDFD;
  margin-bottom: 40px;
}

.home-description .highlight-blue {
  color: #007bff;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .home-container {
    height: 100vh;
  }

  .hero-image {
    height: 100vh;
  }

  .home-title {
    font-size: 36px;
  }

  .home-description {
    font-size: 16px;
  }
}








.content-section {
  max-width: 800px; /* Limite la largeur */
  margin: 0 auto; /* Centre la section */
  text-align: left; /* Aligne le contenu à gauche */
  padding: 20px;
}

.title-contenu {
  font-size: 80px;
  color: #FDFDFD;
  margin-bottom: 20px;
}

.text-contenu {
  font-size: 16px;
  color: #FDFDFD;
  line-height: 1.6;
}













/*FOOTER*/
/* Style général du footer */
footer {
  background-color: #383838;
  color: #FDFDFD;
  padding: 20px 30px;
  text-align: center;
  margin-top: 10em;
  font-size: clamp(12px, 1.2vw, 18px); /* Ajuste la taille du texte automatiquement */
}

/* Logo du footer */
.footer-logo img {
  width: 150px;
  margin-bottom: 15px;
}

/* Section de la newsletter */
.newsletter-section {
  margin-top: 10px;
  margin-bottom: 60px;
  font-size: clamp(12px, 1.2vw, 18px); /* Ajuste la taille du texte automatiquement */
  max-width: 600px; 
  margin-left: auto;
  margin-right: auto;
}

.newsletter-section p {
  margin-bottom: 10px;
}

.newsletter-section form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; 
}

.newsletter-section input[type="email"] {
  flex: 1;
  min-width: 350px;
  padding: 24px;
  border: 1px solid #888;
  border-radius: 8px;
  background-color: #666666;
  color: #FDFDFD;
  font-size: 22px;
}

.newsletter-section input[type="email"]::placeholder {
  color: #C0C0C0;
}

.newsletter-section button {
  width: 150px; 
  padding: 20px;
  background-color: #2086FF;
  color: #FDFDFD;
  border: none;
  border-radius: 8px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-section button:hover {
  background-color: #0056b3;
}

/* Bas du footer */
.footer-bottom {
  font-size: clamp(14px, 1vw, 16px); /* Utilisation de clamp pour rendre le texte responsive */
  border-top: 1px solid #888;
  padding-top: 10px;
  margin-top: 20px;
  display: flex;
  justify-content: center; /* Centre le texte */
  align-items: center;
}

.footer-bottom a {
  color: #2086FF;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.rgpd {
  font-size: clamp(16px, 1.5vw, 22px); /* Taille responsive */
}










/*PAGE LES EQUIPES*/
/* Conteneur principal */
.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;

}

/* Titre principal */
.article-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  text-transform: uppercase;
  color: #FDFDFD;
  margin-bottom: 10px;
  text-align: left;
  margin-top: 100px;
}

/* Sous-titre pour la description */
.article-entry p {
  font-size: 22px;
  color: #FDFDFD;
}

/* Section des équipes */
.equipes {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Style de chaque équipe */
.equipe {
  background-color: #232323;
  border-radius: 8px;
  text-align: center;
  color: #FDFDFD;
  max-width: 1000px;
  width: 100%;
}

.equipe .title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  color: #FDFDFD;
  margin-bottom: 10px;
  text-align: left;
  margin-top: 60px;
}

/* Ligne de séparation sous le titre */
.separator {
  width: 100%;
  height: 2px;
  background-color: #FDFDFD;
  border: none;
  margin: 0 auto 15px auto;
  margin-bottom: 30px;
}

/* Images uniformes */
.equipe img {
  width: 100%;
  height: 450px; /* Hauteur fixe pour uniformiser */
  object-fit: cover; /* Recadre l'image pour qu'elle remplisse le conteneur sans déformation */
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Noms des joueurs en bas de l'image */
.etudiant ul {
  display: flex;
  justify-content: center;
  gap: 5px;
  list-style: none;
  padding: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #FDFDFD;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0 0 8px 8px;
}

/* Bouton de création/rejoindre une équipe */
.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.button-container a {
  display: inline-block;
  padding: 15px 30px;
  background-color: #2086FF;
  color: #FDFDFD;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: 50px;
  margin-bottom: 100px;
}

.button-container a:hover {
  background-color: #0056b3;
}






/*POUR LA PAGES MATCHS*/
/* Conteneur principal */
.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Titre principal */
.article-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  text-transform: uppercase;
  color: #FDFDFD;
  margin-bottom: 10px;
  text-align: left;
  margin-top: 100px;
}

/* Sous-titre pour la description */
.article-entry p {
  font-size: 22px;
  color: #FDFDFD;
  
}

/* Stage Title */
.stage-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  color: #FDFDFD;
  margin-bottom: 10px;
  text-align: left;
  width: 100%;
  margin-top: 60px;
}

/* Ligne de séparation sous le titre d'étape */
.separator-line {
  width: 100%;
  height: 2px;
  background-color: #FDFDFD;
  border: none;
  margin: 0 auto 15px auto;
  margin-bottom: 30px;
}

/* Conteneur des cartes de match */
.card-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* Carte de chaque match */
.match-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}


/* Image de chaque match */
.match-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Titre du match sur l'image */
.match-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 25px;
  color: #FDFDFD;
  background: rgba(0, 0, 0, 0.6); /* Fond semi-transparent pour meilleure lisibilité */
  padding: 5px 10px;
  border-radius: 4px;
}









/*CONNEXION*/
/* Formulaire de connexion et d'inscription */
.login-container, .register-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  color: #fdfdfd;
}
/* Titre principal */
.article-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  text-transform: uppercase;
  color: #fdfdfd;
  margin-bottom: 60px;
  text-align: left;
  margin-top: 100px;

}

.login-container h2, .register-container h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #fdfdfd;
  margin-bottom: 20px;
}

form p {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 8px;
  font-size: 18px;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  padding: 14px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #1a1a1a;
  color: #fdfdfd;
  box-sizing: border-box;
  font-size: 18px;
}

input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.terms {
  font-size: 16px;
  color: #fdfdfd;
  text-align: left;
  display: flex;
  align-items: center;
}

.terms a {
  color: #007bff;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

.login-link, .register-link {
  font-size: 16px;
  color: #fdfdfd;
  margin-top: 70px;
  margin-bottom: -10px;

  text-align: center;
}

.login-link a, .register-link a {
  color: #2086FF;
  text-decoration: none;
}

.login-link a:hover, .register-link a:hover {
  text-decoration: underline;
}

.login-submit, .register-submit {
  width: 100%;
  padding: 14px;
  background-color: #2086FF;
  color: #fdfdfd;
  border: none;
  border-radius: 6px;
  font-size: 24px;
  cursor: pointer;
  margin-top: 20px;
}

.login-submit:hover, .register-submit:hover {
  background-color: #0056b3;
}

.error {
  color: #ff4d4d;
  font-size: 14px;
  margin-bottom: 15px;
}

.success {
  color: #4caf50;
  font-size: 14px;
  margin-bottom: 15px;
}













/*CARDS POUR LE TOURNOI*/
/* Style pour la carte du projet */
.single-project-card {
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  color: #fdfdfd;
  max-width: 800px;
  margin: 20px auto;
  min-height: 300px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bande bleue pour le titre et la date */
.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 300px; /* Réduire la hauteur de la bande */
  background-color: #2086FF;
  color: #fff;
  font-weight: bold;
  font-size: 30px;
}

.match-date {
  font-size: 18px; /* Taille de la date */
  text-align: right;
}

/* Corps de la carte du projet */
.match-card-body {
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

/* Style pour le logo et le nom de l'équipe */
.team-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #222;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  color: #fff;
}

/* Style pour le texte VS */
.vs-text {
  font-size: 100px;
  font-weight: bold;
  color: #2086FF;
  margin: 0 20px;
}

/* Media Query pour mobile */
@media (max-width: 600px) {
  .single-project-card {
    transform: scale(0.9);
    margin: 10px;
  }

  .match-card-header {
    font-size: 16px;
    padding: 8px 10px;
  }

  .match-title {
    font-size: 16px;
  }

  .match-date {
    font-size: 14px;
  }

  .match-card-body {
    padding: 15px;
    flex-direction: column;
  }

  .team-logo, .default-logo {
    width: 80px;
    height: 80px;
  }

  .team-name {
    font-size: 14px;
  }

  .vs-text {
    font-size: 36px;
    margin: 10px 0;
  }
}





/*INFO LéGALES*/
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: #fdfdfd; 
}

/* Titre principal de la page */
.legal-container h1.article-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #fdfdfd;
}

/* Titres des sections */
.legal-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-top: 30px;
  color: #007bff; /* Couleur bleue pour le titre */
}

/* Sous-titres des articles */
.legal-section h3 {
  font-size: 28px;
  font-weight: bold;
  margin-top: 20px;
  color: #fdfdfd;
}

/* Paragraphe de texte */
.legal-section p {
  font-size: 18px;
  line-height: 1.6;
  margin: 15px 0;
  color: #fdfdfd;
}

/* Liste */
.legal-section ul {
  list-style-type: disc;
  padding-left: 40px;
  font-size: 18px;
  color: #fdfdfd;
}

/* Style pour les liens */
.legal-section a {
  color: #2086FF; 
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}








/*UNE EQUIPE*/
/* Style général de la page de l'équipe */
.team-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: #fdfdfd;
  border-radius: 8px;
}

/* Titre de l'équipe */
.team-card-title {
  font-size: 36px;
  font-weight: bold;
  text-align: left;
  color: #fdfdfd;
  margin-bottom: 10px;
  margin-top: 80px;
}

/* Séparation entre les sections */
.section-separator {
  border: none;
  border-top: 2px solid #888;
  margin: 20px 0;
}

/* Image de l'équipe avec dimensions fixes */
.team-image img {
  width: 100%;
  max-width: 800px; /* Largeur maximale définie */
  height: 400px; /* Hauteur définie pour uniformiser la taille */
  object-fit: cover; /* Ajuste l'image sans déformation */
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Titre des sections (Effectif, Détail) */
.section-title {
  font-size: 28px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
  color: #fdfdfd;
}

/* Liste des joueurs */
.student-list {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 20px;
}

.student-card {
  background-color: #444;
  padding: 20px;
  border-radius: 8px;
  width: 30%;
  text-align: center;
  color: #fdfdfd;
}

.student-name {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: #fdfdfd;
}

/* Section Détail */
.team-details {
  font-size: 18px;
  line-height: 1.6;
  color: #fdfdfd;
}









/* PAGE DU MATCH */
/* Style général de la carte de compétition */
.card-competition {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: #fdfdfd;
  border-radius: 8px;
}

/* Titre de la compétition */
.title-competition {
  font-size: 36px;
  font-weight: bold;
  text-align: left;
  color: #fdfdfd;
  margin-bottom: 10px;
  margin-top: 80px;
}

/* Séparation entre les sections */
.separator-competition {
  border: none;
  border-top: 2px solid #888;
  margin: 20px 0;
}

/* Image de la compétition */
.image-competition img {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

/* Titre de la section (Description) */
.section-title-competition {
  font-size: 28px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
  color: #fdfdfd;
}

/* Description de la compétition */
.description-competition {
  font-size: 18px;
  line-height: 1.6;
  color: #fdfdfd;
}

/* Lien de retour à la liste des projets */
.link-return-competition {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #2086FF;
  color: #fdfdfd;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.link-return-competition:hover {
  background-color: #0056b3;
}





/* Profil Utilisateur */
.profile-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  color: #fdfdfd;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Avatar */
.profile-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 4px solid #2086FF;
}

/* Nom et rang */
.profile-name {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #FFFFFF;
}

.profile-rank {
  font-size: 16px;
  color: #888;
  margin-bottom: 25px;
  font-style: italic;
}

/* Section titre */
.section-title {
  font-size: 22px;
  font-weight: bold;
  text-align: left;
  margin: 30px 0 10px;
  color: #fdfdfd;
}

.section-separator {
  border: none;
  border-top: 2px solid #888;
  margin: 10px 0 20px;
}

/* Équipe */
.profile-team {
  background-color: #333;
  padding: 15px;
  border-radius: 8px;
  font-size: 18px;
  color: #fdfdfd;
  margin-bottom: 20px;
}

/* Statistiques */
.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.stats-item {
  background-color: #444;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  text-align: left;
  color: #fdfdfd;
}

.stats-item span {
  font-weight: bold;
  color: #2086FF;
}

.stats-item p {
  margin: 5px 0 0;
  color: #ddd;
}

/* Animation et effet de survol */
.profile-avatar img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.profile-stats .stats-item:hover {
  background-color: #555;
  transition: background-color 0.3s ease;
}





