body{
    margin: 0;
    padding: 0;
    /*background-color: #87ceeb85;*/
}

#dataZone{
    display: flex;
    padding: 10px;
    padding-bottom: unset;
    padding-left: unset;
    min-height: calc(100vh - 300px);
}
.dataZone{
    display: flex;
    width: 100%;
}

.principal{
display: flex;
padding: 10px;
width: 100%;
justify-content: center;
}
.sidebar{
    width: 15%;
    text-align: center;
    color: white;
    margin-top: -10px;
    background-color: #003066;

}
.sidebar button{
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: -10px;
}
.sidebar button:hover{
    background-color: #ff7800;
    color: white;
}
.sidebar h2{
    text-align: center;
}
.BoxRight{

    width: 90%;
    padding-left: 5px;

}

.BoxRight h1, h2{
   
    text-align: center;
    color: #003066;
}
/* Styles pour le contenu principal */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=tel], input[type=time]   {
    background-color: white;
    color: #0d0d0d;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 98%;
    height: 15px;
    border: 2px solid  #003066; 
    border-radius: 5px 5px 5px 5px;

} 
textarea{
    background-color: white;
    color: #0d0d0d;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 100%;
    height: 120px;
    border: 2px solid  #003066; 
    border-radius: 5px 5px 5px 5px;

}
form select{
    color: #0d0d0d;
    padding: 7px;
    text-align: center;
    font-size: 12px;
    margin: 5px;
    width: 98%;

    border: 2px solid  #003066; 
    border-radius: 5px 5px 5px 5px;
}
input[type=text]:focus {
    border-color:#ff7800;
    outline: none;
}
input[type=password]:focus {
    border-color:#ff7800;
    outline: none;
    color: #0d0d0d;
}
textarea:focus {
    border-color:#ff7800;
    outline: none;
    color: #0d0d0d;
}
input[type=number]:focus {
    border-color:#ff7800;
    outline: none;
    color: #0d0d0d;
}
input[type=time]:focus {
    border-color:#ff7800;
    outline: none;
    color: #0d0d0d;
}

input[type=date]:focus {
    border-color:#ff7800;
    outline: none;
    color: #0d0d0d;
}
button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
form{
    margin: 0;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);

}
.inscription-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
  }
  
  .inscription-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color:#003066;
    font-family: Verdana, Geneva, sans-serif;
  }

  .calendar_box{
    display: flex;
    flex-wrap:wrap;
    justify-content: space-around;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  .form-group input[type=file]{
      display: none;
  }
  .form-group i{
      font-size: 40px;
      cursor: pointer;
  
  }
  .form-text{
      color:#999;
      display: block;
      opacity: 0.8;
      z-index: 1;
  }

  .calendar-container{
    font-size : 12px;
    height: 60px;
    padding: 10px;
    border-radius: 12px;
    background-color: #003066;
    color: white;
    margin-bottom:10px;
    width: 23%;
}
.calendar_championnat{
    height:15px;
    width:100%;
    text-transform:uppercase;
}
.match-result {
    height:25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    
}

.team-left,
.team-right,
.score {
    flex: 1;
    text-align: center;
}

.score {
    font-weight: bold;
    font-size: 15px;
}
.match-details {
    border-top: unset;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    align-items: center;
}

.match-location {
    text-align: left;
}

.match-date {
    flex: 1; /* la date prendra autant d'espace que possible */
    text-align: right;
}
  .post-instagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    max-width: 400px; /* Ajustez la largeur maximale selon vos besoins */
}

.caption {
    width: 100%;
    text-align: center;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
}

.caption p {
    margin: 0;
}

.post-instagram img {
    max-width: 100%;
    border-radius: 0 0 5px 5px;
    display: flex;
    object-fit: cover;
}
.evenement_list {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de s'enrouler sur plusieurs lignes */
    justify-content: space-around;
}

.evenement_list .post-instagram {
    display: flex;
    flex-direction: column;
    align-items: unset;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 400px; /* Ajustez la largeur maximale selon vos besoins */
}

.evenement_list .caption {
    width: 100%;
    text-align: center;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
}

.evenement_list .caption p {
    margin: 0;
}

.evenement_list .post-instagram img {
    height: 200px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 0 0 5px 5px;
}
.action-buttons{
    display: flex;
    justify-content: space-around;
    max-width: 400px;
    margin-top: 15px;
    margin-bottom: 20px;

}
.btn-modifier:hover{
    background-color: #ff7800;
    font-weight: bold;
    color: white;
}
.btn-supprimer:hover{
    background-color: #ff0000; /* Rouge */
    font-weight: bold;
    color:white;
}
    .prochain-match {
        background-color: #f9f9f9;
        border: 1px solid #ccc;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .prochain-match h3 {
        color:#2196F3;
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .details-match p {
        color: #666;
        margin: 5px 0;
    }
    .details-match span {
        color: #666;
        margin: 5px 0;
        text-align: right;
    }

    .details-match p i {
        margin-right: 5px;
        color: #333;
    }
  .dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .dialog-box {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 80%;
  }
  
  .dialog-content {
    text-align: center;
  }
  
  .buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  button {
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
  }
  
  .confirm-btn {
    background-color: #4CAF50;
    color: white;
  }
  
  .cancel-btn {
    background-color: #f44336;
    color: white;
  }
  
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #003066;
    font-family: Verdana, Geneva, sans-serif;
  }
  
  .btn-div{
    display: flex;
    width: 100%;
    justify-content: center;
  }
  
  button[type="submit"] {
    display: block;
    padding: 10px;
    background-color: #003066;
    color: #fff;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: 0;
    margin-right:0;
  }
  .mobil-search {
    display: none;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    padding: 3px;
  }
  
  
  .mobil-search button {
    background-color: #003066;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
  }
  

  #searchIcone{
    display: none;
    position:absolute;
    color:white;
    font-size: 20px !important;
    margin-top: 20px !important;
    right: 60px !important;
}
  @media (max-width: 1080px){
    .sidebar{
        display: none;
    }
    .BoxRight{
        padding-left: unset;
        width: 100%;
    }
    #dataZone{
        padding: 10px !important;
    }
    #searchIcone {
        display: block;
    }
    .evenement_list{
        display: unset;
    }
    .evenement_list .post-instagram {
        width: unset;
    }
    .action-buttons{
        display: none !important;
    }
    .none_mobile{
        display: none;
    }
    table{
        font-size: 12px;
    }
    .calendar-container{
        width: 100%;
    }
  }
  table img{
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
  }

  .flou {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.flou.visible {
    opacity: 1;
}
  
  button[type="submit"]:hover {
    background-color: #313a3a;
  }
  /* Style pour le bouton d'ajout de date */
  #date_naissance button {
    background-color: #ddd;
    border: none;
    border-radius: 4px;
    color: #333;
    font-size: 16px;
    margin-left: 5px;
    padding: 5px 10px;
  }
  
  
  /* Style pour l'ajout d'une photo */
  #exampleInputFile {
    display: block;
    margin-top: 5px;
  }
  
  .help-block {
    color: #999;
    font-size: 12px;
    margin-top: 5px;
  }
  
  .btn-content{
    
  }

  .global-form{
    width:100%; 
    display:flex; 
    color:#003066; 
    font-weight:bold;
  }
  .left-form{
    width:50%; 
    display:block;
  }
  .right-form{
    width:50%; 
    display:block;
  }


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    animation-name: fadeInDown;
    animation-duration: 0.5s;
    border-radius: 15px;;
    text-align: center;
}

.modal-content h2{
    font-size: 2rem;
    color:#003066;
}

@media (max-width: 1080px) {
    .global-form{
        width: 100%;
        display: block;
    }
    .left-form, .right-form{
        width: 100%;
    }
    .global-form input[type="text"]{
        width: 98%;
    }
    .global-form input[type="number"]{
        width: 98%;
    }
    .global-form input[type="password"]{
        width: 98%;
    }
    .global-form input[type="email"]{
        width: 98%;
    }
    .global-form input[type="date"]{
        width: 98%;
    }
    .global-form select{
        width: 98%;
    }
    
    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        animation-name: fadeInDown;
        animation-duration: 0.5s;
        border-radius: 15px;;
        text-align: center;
        margin-top: 180px;
}

}
        /* Style de base pour la table */
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
            text-align: center;
          }
          
          /* Style des cellules de la table */
          th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
            cursor: pointer;
            text-align: center;
          }
          
          /* Style de l'en-tête de la table */
          th {
            background-color: #003066;
            color: white;
            font-weight: bold;
          }
          
          tr:nth-child(odd) {
            background-color: #f2f2f2;
          }
          
          /* Style des liens dans la table */
          a {
            text-decoration: none;
            color: inherit;
          }
          
          /* Style des options dans la liste déroulante */
          table select {
            width: 100%;
            border-radius: 5px;
            background-color: #f6f6f6;
            cursor: pointer;
            text-align: center;
          }
          
          /* Style pour les actions dans la liste déroulante */
          option {
            padding: 10px;
          }
          @media(max-width:1080px){
          /* Style pour la sélection de ligne au survol */
          tr:hover {
            background-color: #cce6ff;
          }
        }
          /* Media query pour la rendre responsive */
          @media (max-width: 1080px) {
            /* Mettre la table en largeur 100% */
            table {
              width: 100%;
            }
            .none-mobile{
                display: none;
            }
          }
          

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.modal-content .checkbox{
    color:grey;
    display: flex !important;
    margin-left: 30px;

}
input[type=submit] {
    margin-top: 20px;
    padding: 10px 20px;
    background-color:#2196f3;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
}

input[type=submit]:hover {
    background-color:#003066;
    scale: 1.05;

}

.modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color:#2196f3;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
}

button:hover {
    background-color:#003066;
    color: white;

}


main {
    padding: 20px;


.hero {
    position: relative; /* Ajout de position relative pour que le positionnement de l'image soit relatif à ce div */
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}




.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #2196F3;
}

 
#dataZone{
	position:relative;
	padding:2px;
	margin:0 auto;
  
	
}
#dataZone p{
font-family:Verdana, Geneva, sans-serif;
font-size:15px;
color:#003066;
text-align:justify;
line-height: 30px;
}
#dataZone a{
font-family:Verdana, Geneva, sans-serif;
font-size:15px;
color:#003066;
text-align:justify;
line-height: 30px;
}
#dataZone ul li{
font-family:Verdana, Geneva, sans-serif;
font-size:14px;
color:#006256;
text-align:justify;
padding:4px;
width:80%;
}

#dataZone div.boxColor{
background-color:#f2f2f2;
margin:25px auto;
margin-bottom:25px;
width:90%;
padding:10px;
border-radius: 15px;
}

#dataZone div.boxColor h1{
color:#2196F3;
font-family:Verdana, Geneva, sans-serif;
}

#dataZone div.boxColor p.withImage{
	padding-left:40px;
	padding-top:10px;
	padding-bottom:10px;
	background-position:left center;
	background-repeat:no-repeat;
	background-size:22px;
	color: #003066;
	font-family:Verdana, Geneva, sans-serif;
}
#dataZone div.boxColor p.mail{
  
}
#dataZone h1,h2,h3{
color:#2196F3;;
font-family:Verdana, Geneva, sans-serif;
}

@media screen and (max-width: 1080px) {

    .hero-content h1 {
        font-size: 2em;
        margin-bottom: 20px;
        color: #2196F3;
        margin: 0;
    }

}

.hero-content p {
    font-size: 1.2em;
    color :#003066;
}

.about {
    background-color: #f2f2f2;
    padding: 40px 0;
    border-radius: 20px;
}

.about-content {
    text-align: center;
}

.about-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
@media screen and (max-width: 1080px) {

.about-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
}

.about-content p {
    font-size: 1.1em;
}

/* Animation pour le texte de bienvenue */
.animate {
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-container {
    position: relative;
    max-width: 800px; /* Ajustez la largeur selon vos besoins */
    margin: 50px auto;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Prise en charge du défilement fluide sur iOS */
}

.gallery-slider img {
    scroll-snap-align: start;
    width: 100%;
    height: auto;
}

.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}


