/* Theme Name: Mon Joli Theme
   Theme URI: https://monurlpersonnel.com/mesthemes
   Author: Prenom NOM
   Author URI: https://monurlpersonnel.com
   Description: Le thème développé avec Chaton
   Version: 0.3
   Tags: moderne, élégant, responsive */

   :root {
      --primary-color: #2650E7;
      --secondary-color: #2650E7;
      --accent-color: #e74c3c;
      --text-color: white;
      --background-color: #12205E;
      --transition-speed: 0.3s;
    }
    
    body {
      font-family: 'Roboto', sans-serif;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      background-color: var(--background-color);
      color: var(--text-color);
      line-height: 1.6;
      font-size: 16px;
    }
    
    h1, h2, h3, h4, h5, h6 {
      font-family: 'Montserrat', sans-serif;
      color: var(--text-color);
      margin-top: 1.5em;
      margin-bottom: 0.5em;
    }
    
    h1 {
      text-align: center;
      margin: 40px 0;
      font-size: 2.8em;
      color: var(--primary-color);
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .wrap {
      display: flex;
      flex-direction: column;
      flex: 1;
      overflow: hidden;
    }
    
    /* Header Styles */
    .site-header {
      background-color: #2650E7;
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
  }
  
  .site-title a {
      text-decoration: none;
      color: #FFFFFF;
      font-weight: bold;
  }
  
  .site-description {
      display: none; /* Masquer la description pour un style plus épuré */
  }
  
  .main-nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
      margin: 0;
      padding: 0;
  }
  
  .main-nav li a {
      text-decoration: none;
      color: #FFFFFF;
      font-weight: bold;
  }
  
  /* Styles pour la version mobile */
  @media (max-width: 768px) {
      .main-nav {
          display: none; /* Masquer le menu principal par défaut */
      }
  
      .menu-toggle {
          display: block;
          background-color: transparent;
          border: none;
          color: #FFFFFF;
          font-size: 24px;
          cursor: pointer;
      }
  
      .menu-toggle.open + .main-nav {
          display: block; /* Afficher le menu quand on clique */
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background-color: #2650E7;
      }
  
      .main-nav ul {
          flex-direction: column;
          align-items: center;
      }
  }
  
  /* Styles pour la version PC */
  @media (min-width: 769px) {
      .menu-toggle {
          display: none; /* Cacher le bouton de menu en version PC */
      }
  
      .main-nav {
          display: block;
      }
  }
    /* Main Content Styles */
    .site-main {
      flex: 1;
      padding: 50px;
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
      border-radius: 10px;
    }
    
    /* Footer Styles */
    .site-footer {
      background-color: var(--secondary-color);
      color: #fff;
      padding: 40px 30px;
      text-align: center;
    }
    
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .footer-text {
      margin: 0;
      font-size: 1em;
      line-height: 1.8;
      opacity: 0.9;
    }
    
    .footer-nav {
      margin-top: 25px;
    }
    
    .footer-menu {
      list-style: none;
      padding: 0;
      margin: 20px 0;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
    
    .footer-menu li {
      margin: 5px 20px;
    }
    
    .footer-menu a {
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      transition: color var(--transition-speed);
    }
    
    .footer-menu a:hover {
      color: var(--accent-color);
    }
    
    /* Form Styles */
    form {
      max-width: 550px;
      margin: 40px auto;
      padding: 40px;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    }
    
    form p {
      margin-bottom: 25px;
    }
    
    form label {
      font-weight: 500;
      color: var(--secondary-color);
      display: block;
      margin-bottom: 8px;
    }
    
    form input[type="text"],
    form input[type="password"],
    form input[type="email"] {
      width: 100%;
      padding: 14px;
      border: 2px solid #ddd;
      border-radius: 6px;
      transition: all var(--transition-speed);
      font-size: 1em;
    }
    
    form input[type="text"]:focus,
    form input[type="password"]:focus,
    form input[type="email"]:focus {
      border-color: var(--primary-color);
      outline: none;
      box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }
    
    form input[type="submit"] {
      background-color: var(--primary-color);
      color: white;
      padding: 14px 24px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: all var(--transition-speed);
      font-size: 1.1em;
      font-weight: 500;
    }
    
    form input[type="submit"]:hover {
      background-color: #2980b9;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
   

    /* Centrer le contenu de la page */
.page .main {
   display: flex;            /* Utiliser flexbox */
   flex-direction: column;  /* Direction verticale */
   align-items: center;     /* Centrer horizontalement */
   justify-content: flex-start; /* Aligner au début pour garder la structure */
   padding: 20px;          /* Ajout d'un rembourrage */
}

.page .post {
   max-width: 800px;       /* Limiter la largeur de chaque post */
   width: 100%;            /* S'assurer que le post prend toute la largeur disponible */
   margin: 20px 0;        /* Ajouter de l'espace entre les posts */
   text-align: center;     /* Centrer le texte à l'intérieur du post */
   background-color: #12205E; /* Couleur de fond (facultatif) */
   padding: 20px;         /* Rembourrage à l'intérieur des posts */
   border-radius: 8px;    /* Arrondir les coins des posts (facultatif) */
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre pour effet de profondeur */
}

.page .post-title {
   margin-bottom: 15px;    /* Ajouter de l'espace en bas du titre */
   font-size: 1.5em;       /* Taille du titre */
   color: #fff;
}

.page .post-content {
   margin: 0;              /* Supprimer les marges par défaut */
}

/* Styles globaux pour centrer le H1 de toutes les pages */
h1 {
   text-align: center;      /* Centrer le texte du H1 */
   margin: 20px 0;         /* Espace au-dessus et en dessous */
   color: #fff;
}
.site-title a {
   text-decoration: none; /* Supprime le soulignement par défaut des liens */
   color: inherit;       /* Hérite de la couleur du texte du titre */
}

.site-title a:hover {
   color: #0073aa; /* Changez cette couleur selon votre thème au survol */
}
    
    /* Responsive Styles */
    @media (max-width: 768px) {
      .site-title {
        font-size: 2.5em;
      }
    
      .site-description {
        font-size: 1.1em;
      }
    
      .menu {
        flex-direction: column;
      }
    
      .menu li {
        margin: 12px 0;
      }
    
      .site-main {
        padding: 30px;
      }
    
      form {
        padding: 30px;
      }
    }

   /* Style général pour la liste des équipes */
.liste-equipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #12205E; /* Couleur de fond de la grille */
}

/* Style pour chaque carte d'équipe */
.equipe {
  background-color: #2650E7; /* Couleur de fond de la carte */
  border-radius: 30px; /* Coins arrondis pour la carte */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #FFFFFF; /* Couleur du texte */
  display: flex;
  align-items: center;
  padding: 15px;
}

.equipe:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Style pour l'image de l'équipe */
.equipe img {
  width: 78px; /* Taille fixe pour l'image */
  height: 78px; /* Taille fixe pour l'image */
  border-radius: 50%; /* Image en cercle */
  margin-right: 15px; /* Espace entre l'image et le texte */
}

/* Contenu de la carte */
.equipe-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.equipe h2 {
  font-size: 1.3em;
  color: #FFFFFF;
  margin: 0;
  font-weight: bold;
}

.equipe p {
  font-size: 0.9em;
  color: #FFFFFF;
  margin: 5px 0 0;
}

/* Style général pour la liste des matchs */
.liste-matchs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #2650E7;
}

/* Style pour chaque fiche de match */
.match {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.match:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Style pour le titre du match */
.match h2 {
  font-size: 1.5em;
  color: #12205E;
  margin-bottom: 10px;
}

/* Style pour la date et l'heure */
.match p {
  font-size: 0.95em;
  color: #666666;
  margin: 5px 0;
}

/* Style pour les équipes */
.equipes {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 15px;
}

.equipe {
  text-align: center;
}

.equipe img {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* Image en cercle */
  margin-bottom: 5px;
}

.equipe p {
  font-size: 0.9em;
  color: #white;
  margin: 0;
}

/* Style pour le score */
.match-score {
  font-size: 1.2em;
  color: #12205E;
  font-weight: bold;
  margin-top: 10px;
}

/* Style pour le conteneur des informations utilisateur */
.user-info {
    background-color: #F5F5F5;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Style pour les éléments de texte */
.user-info div {
    margin-bottom: 10px;
}

.user-info strong {
    color: #12205E;
    font-weight: bold;
}

/* Style pour la photo de profil */
.user-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
    border: 2px solid #12205E;
}

/* Style pour la liste des joueurs */
.user-info ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.user-info li {
    background-color: #E8E8E8;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 5px;
    color: #555;
}

/* Alignement et espacement */
.user-info h2 {
    text-align: center;
    color: #2650E7;
    margin-bottom: 15px;
}

