::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: black;
    size: auto;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    color: black;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

header{
    display: flex;
    justify-content: center;
}

.logoK{
    
    max-width: 75%;
    margin: auto;
    margin-left: 8%;
    margin-top: 14%;
    padding-top: 2%;
}

.logoC{
    max-width: 75%;
    margin-left:1%;
    padding-top: 2%;
}

.login{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: auto;
    max-width: 25%;
    max-height: 25%;
    border-style: solid;
    border-color: #414243;

}

.mb-3{
    max-width: 75%;
    max-height: 25%;
}

.form-label{
    color: #fff;
    max-width: 75%;
    max-height: 25%;
    margin: auto;
    
}
.form-control{
    max-width: 75%;
    max-height: 25%;
    margin: auto;
    
}

.Login:hover{
    border-width: 5px;
    border-color: #000;
    background-color: rgba (0,0,0,0);
}

.nav_back{
    background-color: #000;
    margin: 0;
    padding: 1%;
}

nav{
    display: flex;
    background-color:black;
    
}

nav>a{
    display:block;
    width:400px;
    background-image:linear-gradient( #363839, black);
    text-align:center;
    box-sizing:border-box;
    padding:20px;
    margin:1px;
    color: #ffffff;
    text-decoration:none;
    transition: all 0.3s ease;
}

nav>a:hover{
    color: red;
    transition: all 1s ease;
}

#ch{
    display: none;
}

#lab{
    width: 30px;
    height: 30px;
    background:linear-gradient(grey 0%, grey 20%, transparent 21%, transparent 40%, grey 41%, grey 60%, transparent 61%, transparent 80%, grey 81%, grey 100%);
    margin: 4px;
    display: none;
}

@media screen and (max-width:960px){
    nav{
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        transform: translate(-1000px,0);
        transition: all 0.5s ease;
        background-color: rgba(255, 0, 0, 0);
    }
    nav>a{
        width: auto;
        background-image: linear-gradient(rgba(62, 59, 59, 0.534),rgba(62, 59, 59, 0.53));
        background-color: rgba(62, 59, 59, 0.096);
        font-size: 1em;

    }
    #ch:checked+nav{
        transform: translate(0,0);
        transition: all 0.5s ease;
    }
    #lab{
        display: block;
    }
}


.img_histoire{
    width : 50%;
    height : 95%;     
}

.Pages{
    font-size: 1,5em;
    display: flex;
    height: 15%;
    width: 75%;
    padding-top: 1%;
    border-width: 2px;
    border-radius: 4px;
    background-color: white;
}

.img_SportPratique{
    width : 50%;
    height : 95%;
}

.img_Prix{
    width : 40%;
    height : 95%;
    margin-left: 2%;
}


.img_Bureau{
    width : 50%;
    height : 95%;
}

.register-button {

    margin-bottom: 20px;  
    background: rgba(0,0,0,0);
    color: white;
    font-size: 1.2em;
    padding: 2px 10px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin: auto;
    display: grid;
    text-align: center;
}

.register-button:hover {
    color: red;
    border-image-slice: 2;
}

.register-button2 {

    margin-bottom: 20px;  
    background: rgba(0,0,0,0);
    color: black;
    font-size: 1.2em;
    padding: 2px 10px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin: auto;
    display: grid;
    text-align: center;
}

.register-button2:hover {
    color: #414243;
    border-image-slice: 2;
    transition: all 1s ease;
}

.basdepage {
background-image: linear-gradient(#363839, black);
color: #fff;
font-size: 11px;
display: flex;
flex-direction: column;
justify-content: center;
}

.maps{
height: 95%;
width: 50%;
}

.credits{
    text-align: center;

}

.logos{
display:flex;
justify-content: space-around;
width:100%;
}

.img_insta{
height: 60%;
width: 4%;
}

.img_facebook{
height: 70%;
width: 10%;
}

.Instagram{
    width: auto;
    height: auto;
    margin-right:50%;
}

.Facebook{
    margin-left: 50%;
}

.contact{
    text-align: center;
}

.news{
    top:1500%;
    height: 80%;
    width: 100%;
    margin-top: 1%;
    margin-right: 5%;
    border-width: 5px;
    border-radius: 4px;
    border-color: rgba(0,0,0,0.7);
    background-color: white;
    text-overflow: '';
    padding-left: 1%;
    padding-right: 1%;
}

.parts_of_body{
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
    background-color: black;
}

.img_Court{
    width : 50%;
    height : 95%;   
    margin: auto;
    
}

.img_Video{
    width : 50%;
    height : 95%;  
    margin: auto; 
    
}

.news_img{
    display: flex;
    height: 15%;
    width: 75%;
    background-color: white;
}

.news_img2 {
    width: 100%;
    background-color: white;
}

.image-container {
    width: 100%;
    margin-bottom: 15px; /* Espace entre les images */
    text-align: center; /* Centrer les images si nécessaire */
}

.image-affichee {
    max-width: 100%;
    height: auto;
    display: block; /* Les images s'empilent naturellement */
    margin: 0 auto;
}

.img_temp{
    width:15%;
    height:15%;
     display: flex;
}

.jour{
    display: flex;
    height: 15%;
    width: 75%;
    padding-top: 1%;
    border-width: 5px;
    border-radius: 4px;
    border-color: rgba(0,0,0,0.7);
    background-color: white;
    text-align: center;
}

.video{
    padding-left: 9%;
    padding-right: 11%;
    height: 20%;
    width: 80%;
    background-color: #000;
}

@media all and (max-width:960px){
    .parts_of_body{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .Pages{
        width: 85%;
        margin-left: 4%;
        font-size: 95%;
    }
    .news{
        width: 95%;
        margin-left: 2%;
        font-size: 95%;
    }
}

.add_article{
    border-style:solid;
    border-color:#000000;
    border-width:5px;
}

.titre_article{
    font-size:25px;
    color:black;
}
.texte_article{
    color:black;
    font-size:20px;
}


.image-affichee {
    width: 100%; /* Ajustez la largeur selon vos besoins */
    height: auto; /* Laissez la hauteur ajustée automatiquement pour conserver les proportions */
    max-width: 100%; /* Empêche l'image de dépasser de son conteneur */
    display: block; /* Assurez-vous que l'image s'affiche en tant que bloc pour gérer les marges correctement */
    margin: auto; /* Centrez l'image horizontalement */
}
