
body{
    font-family: 'Manrope', sans-serif;
    background-color: rgb(23, 105, 50);
}


/*TOP SITE*/


#top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

}

.logo {
    width: 50%;
}

.logo img {
    width: 15%; 
    border-radius: 130px;
    box-shadow: -3px 5px 5px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
}

.logo img:hover{
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 1);
    transform: translate(-3px, 5px);
    transition: 0.3s;
}

.reseaux {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: blue;
    box-shadow: -3px 5px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    width: 50%;
    max-width: 200px; 
    height: auto;
    margin-right: 20px;
    border-radius: 30px;
    overflow: hidden; 
    position: relative; 
    transition: 0.4s ease-in-out;
}

.reseaux:hover {
    transform: translate(-3px, 5px); 
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
}

.reseaux img {
    width: 20%; 
    max-width: 100px; 
    border-radius: 50px;
    margin: 10px;
}



/*NAVBAR*/

.navbar {
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    z-index: 1000;
    
     
}

.navbar.fixed {
    position: fixed;
    top: 0;
    width: 95.5%;
    z-index: 1000;
    padding: 10px;
    margin-left: 20px;
    margin-right: 20px;
}
.navbar a{
    text-decoration: none;
    color: white;
    font-weight: bolder;
    transition: 0.6s;
    text-align: center;
}

.navbar a:hover{
    transition: 0.3s;
    color: #ebe64dde;
}

.navbar li{
    text-decoration: none;
    color: white;
    font-weight: bolder;
    transition: 0.6s;
    text-align: center;
}

.navbar li:hover{
    transition: 0.3s;
    color: #ebe64dde;
    cursor: pointer;
}

.logo-home img {
    width: 30px; 
}


.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px; 
    right: 20px; 
    z-index: 2000;
}
.menu-toggle span {
    z-index: 2001;
    height: 4px;
    width: 30px;
    background-color: white;
    margin: 3px 0;
    border-radius: 30px;
    transition: 0.3s; 
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6.5px, 6.5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6.5px, -6.5px);
}


.nav-list {
    
    list-style: none;
    display: flex;
    background-color: #e62720d6;
    border-radius: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-list li {
    margin-right: 100px;
    
}

.nav-list .dropdown-list {
    display: none;
    position: absolute;
    margin-top:4.5px;
    margin-left: -30px;
    width: 120px;
    background-color: #e62720d6;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-list .dropdown:hover .dropdown-list {
    display: flex;
    flex-direction: column;
}

.nav-list .dropdown-list li {
    text-align: center;
    padding: 10px;
    color: white;
    list-style-type: none;
}

.nav-list .dropdown-list a:hover {
    color: #ebe64dde;
}

.dropdown-list a{
    font-size: 0.6em;
    font-weight: 700;
}


/*BANNIERE*/

.banniere {
    margin-top: 100px;
    background-color: #E62720d6; 
    color: #ffffff; 
    padding: 1px; 
    text-align: center; 
    font-size: 25px;
    border-radius: 60px;
    overflow: hidden;
    white-space: nowrap;
    animation: scroll infinite linear;
}

.banniere h2 {
    display: inline-block;
    animation: zoom 3s alternate infinite;
}

@keyframes zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.2);
    }
}

/*BIENVENUE*/

.bienvenue {
    color: white;
    margin-top: 120px;
    text-align: center;
    padding: 20px;
    font-size: 1.3em;
}


/*BTN RETOUR*/

.bouton-retour {
    width: 120px; 
    height: auto; 
    cursor: pointer; 
    margin-left: 100px;
    margin-top: 100px;
    padding: 30px;
}

/*ACTUS*/
#main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 58vh; 
}

.actualite-grid {
    margin-top: 180px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box; 
}

.actualite {
    overflow: hidden;
    background-color: #e62720d6;
    color: white;
    border-radius: 10px;
    box-shadow: 0 40px 40px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.actualite:hover{
    box-shadow: 0 10px 0px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    scale:0.95;
}

.actualite-link {
    text-decoration: none;
    color: inherit;
}

.actualite-image {
    width: 100%;
    height: 200px;
    object-fit: cover; 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.actualite-titre {
    padding: 15px;
    text-align: center;
}

.actualite-extrait {
    text-align: center;
}

/*VOIR TOUT L'ACTU*/
.voir-toutes-actualites a {
    text-decoration: none;
    color: white;
    transition: 0.1s;
}

.voir-toutes-actualites a:hover{
    color: #e62720d6;
    text-decoration: underline;
    transition: 0.1s;
}


/*CARTELIGUE*/
.carteligue
{
    margin-top: 195px;
    text-align: center; 
}

.carteligue h2{
    font-size: 2.5em;
}

.carteligue img{
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
    height: 700px;
    filter: saturate(0%);
    transition: 0.5s ease-out;
}

.carteligue img:hover{
    filter: saturate(100%);
    transition: 0.2s ease-in;
}

.carteligue a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.carteligue a:hover{
    color: #e62720d6;
    transition: 0.3s;
}


/*CLUB*/

.club {
    margin-top: 155px;
    text-align: center; 
}

.club h2 {
    font-size: 3em;
    color: white;
}


.club iframe {
    width: 100%; 
    max-width: 800px; 
    height: 800px; 
    margin-bottom: 100px;
}

.club-principal {
    display: flex;
    align-items: center;
    background-color: #e62720d6;
    color: white;
    border-radius: 20px;
    margin: auto;
    margin-top: 30px;
    flex-direction: row;
    max-width: 600px; 
    width: 100%;
    transition: 0.3s ease-in;
}

.club-principal:hover{
    transition: 0.3s ease-in;
    scale: 1.1;

}

.club-principal img {
    width: 100px;
    margin-right: 20px;
    max-width: 100%;
    border-radius: 20px;
}

.club-principal div {
    flex: 1;
}

.club-principal{
    text-align: center;
}

.touslesclubs a{
    text-decoration: none;
}


/*CLUB CARD*/
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #e62720d6;
    border-radius: 20px;
}

.contact-card img {
    width: 100%; 
    max-width: 200px; 
    height: auto;
    margin-bottom: 10px;
    margin: auto;
}

.infos-contact {
    text-align: center;
    color: white;
}

.nextbtn{
    width: 100%;
    max-width: 50px;
    position: absolute;
    margin-left: 380px;
    margin-top: 150px;
}

.previousbtn{
    width: 100%;
    max-width: 50px;
    position: absolute;
    margin-left: -380px;
    margin-top: 150px;
}

/*RESULTATS*/

.resultats {
    margin-top: 155px;
    text-align: center; 
}

.resultats h2 {
    font-size: 3em;
    color: #ebe64dde;
}


.resultats iframe {
    width: 100%; 
    max-width: 1500px; 
    height: 860px; 
}

.tourner{
    display: none;
}



/*PARTENAIRES*/


.partenaires {
    text-align: center;
    margin-top: 250px;
}

.partenaires h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.partenaires-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.partenaire {
    margin: 10px;
}

.partenaire-logo {
    max-width: 100px; 
    height: 80px;
    margin-right: 20px;
    border-radius: 10px; 
    transition: 0.1s ease-in-out;
}

.partenaire-logo:hover{
    scale: 1.1;
    transition: 0.1s ease-in-out;
}



/*FOOTER*/

footer {
    margin-top: 100px;
    background-color: #e62720d6;
    border-radius: 60px;
    color: #fff;
    padding: 20px 0;
}

.footer-section img{
    width: 160px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer-section {
    padding: 10px;
}

.footer-section h2 {
    font-size: 1.5em;
    text-align: center;
}

.footer-section h3 {
    font-size: 1.5em;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.footer-section p{
    text-align: center;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
}

/* ACTUALITE SOLO */
.actualitesolo-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin: auto;
}


.actualitesolo {
    background-color: #e62720d6;
    border-radius: 50px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; 
}



.actualitesolo-titre {
    margin-top: 10px;
    font-size: 2em;
    color: white;
}


.actualitesolo-contenu {
    color: white;
    margin-top: 10px;
    font-size: 1em;
}



/*FORMULAIRE*/

.formulaire {
    text-align: center;
    margin-top: 130px;
}

.formulaire h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.formulaire p {
    color: white;
}

.contact-form {
    max-width: 50%;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: bold;
    color: white;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #e62720;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover{
    background-color: #d6241e;
}

.message {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 14px;
}


/*PRESENTATION*/

.presentation-text {
    margin: 20px; 
    padding: 10px; 
    color: white;
}

.presentation-text h2 {
    font-size: 1.8em;
    margin-bottom: 10px; 
    text-align: center;
}

.presentation-text p {
    font-size: 1.3em; 
    line-height: 1.5;
    text-align: center; 
}



/*CALENDRIER*/

.calendrier {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
}

.calendrier h2 {
    text-align: center;
    color: white;
}

.classement h2{
    text-align: center;
    color: white;
    margin-top: 150px;
}


.calendrier span{
    color: white;
    text-decoration: underline;
}

.calendrier a{
    text-decoration: none;
    color: white;
    border-radius: 10px;
    transition: 0.3s ease-out;
    background-color: #d6241e;
    padding: 5px 10px;
}

.calendrier a:hover{
    color: gold;
    transition: 0.1s ease-in;
}

.navigation {
    text-align: center;
    margin-bottom: 20px;
}

.navigation a {
    margin: 0 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
   
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    background-color: #d6241e;
    color: white;
    
}

th {
    background-color: white;
    color: #e62720;
}

.table-wrapper {
    overflow-x: auto;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th, .responsive-table td {
    padding: 8px;
    border: 1px solid #ddd;
}


/* CONNEXION BOUTON */
.connexion-button {
    text-align: center; 
    margin-top: 20px; 
    margin-bottom: 100px;
}

.connexion-button .button {
    display: inline-block; 
    background-color: #e62720;
    color: #fff; 
    text-decoration: none; 
    border-radius: 5px; 
    box-shadow: -3px 5px 5px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out; 
}



.connexion-button .button:hover {
    transform: translate(-3px, 5px); 
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    color: gold;
}


.back-calendrier{
    text-align: center; 
    margin-top: 20px;
}

.back-calendrier .btn{
    display: inline-block; 
    background-color: #e62720;
    color: #fff; 
    text-decoration: none; 
    padding: 10px 20px;
    border-radius: 10px; 
}

/* ADD EVENT */


.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #d6241e;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h2 {
    text-align: center;
    color: white;
}

.success-message {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 5px;
}

.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 16px;
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.button {
    display: block;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #fc2a22;
    box-shadow: 10px 20px 30px rgba(0, 0, 0, 0.1);;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.button:hover {
    background-color: #d6241e;
}


/*BUREAU*/

.conseil {
    text-align: center;
    margin-top: 50px;
}

.conseil h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.membres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.membres p{
    color: white;
}

.membre {
    max-width: 200px;
    padding: 20px;
}

.membre img {
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    border: 0.3rem solid #d6241e;
}

.membre p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}



/*petits écrans*/

@media only screen and (max-width: 925px) {

    .carteligue img{
        filter: saturate(100%);
    }

    .bouton-retour{
        display: none;
    }

    .logo img {
        width: 30%; 
    }

    .reseaux{
        display: none;
    }

    .reseaux {
        width: 100%; 
        max-width: none; 
        margin-right: 0; 
    }

    .reseaux img {
        width: 20%; 
        max-width: none; 
        margin: 5px;
    }
    

    ul.nav-list.show{
        top: -16px;
    }
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100vh; 
        position: fixed;
        top: 0;
        right: 0;
        border-radius: 0px;
    }

    .nav-list.show {
        display: flex;
        animation: fadeIn 0.3s ease; 
    }


    .nav-list.show li{
        font-size: 1.3em;
    }



    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .nav-list li {
        margin-right: 0;
        text-align: center;
        padding: 20px;
        color: white; 
    }

    .carteligue img{
        margin-top: 40px;
        width: 100%;
        max-width: 360px;
        height: 300px;
    }


    .footer-bottom p{
       font-size: 0.8em;
        
    }

    .footer-section ul{
        display: none;
    }

    .footer-section h3{
        display: none;
    }
    
    .footer-section.links.desktop-only {
        display: none;
    }


    .nav-list .dropdown-list {
        display: block;
        position: relative;
        margin-left: 0px;
        background-color: #da383200;
        text-align: center;
        padding-left: 0px;
        box-shadow: none;
    }

    
    .nav-list .dropdown-list li {
        text-align: center;
        color: white;
        list-style-type: none;
        padding: 10px;
        
    }

    .dropdown-list a{
        font-size: 0.6em;
        font-weight: 200;
    }
    
    .bouton-retour {
        width: 10px; 
        height: auto; 
        cursor: pointer; 
        margin-left: 10px;
        margin-top: 20px;
    }


    .tourner{
        display: block;
        margin-top: 140px;
       
    }

    .tourner h3, p{
        color: white;
    }

    .tourner img{
        width: 6%;
        margin-top: 5px;
    }

    .tourner a{
        color: white;
    }

    .bienvenue {
        padding: 20px;
        text-align: center;
    }

    .club-principal {
        flex-direction: column;
    }

    .club-principal img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contact-card {
        margin-top: 190px;
        width: 90%; 
        max-width: none; 
    }

    .banniere {
        font-size: 14px; 
    }

    .banniere h2 {
        display: inline-block;
        animation: zoom 3s alternate infinite;
    }
    
    @keyframes zoom {
        from {
            transform: scale(1);
        }
        to {
            transform: scale(1.1);
        }
    }

    .footer-section img{
        width: 90px;
    }

    .contact-form {
        max-width: 100%;
    }


    .presentation-text {
        margin: 10px;
        padding: 5px;
    }

    .presentation-text h2 {
        font-size: 1.2em;
    }

    .presentation-text p {
        font-size: 0.9em;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        
    }
    
    th, td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: left;
        font-size: 0.8em;
    }
    
    th {
        background-color: #f2f2f2;
        font-size: 0.8em;
    }

    .calendrier, a, span{
        font-size: 0.8em;
    }

    .resultats iframe {
        width: 100%; 
        max-width: 3500px; 
        height: 860px; 
    }



}

@media only screen and (max-width: 1091px){
    .nav-list li{
        font-size: 0.7em;
    }
}

@media only screen and (max-width: 983px){
    .nav-list li{
        font-size: 0.6em;
    }
}


@media only screen and (max-width: 400px){

    .footer-bottom{
        font-size: 0.6em;
    }

    .nextbtn{
        width: 100%;
        max-width: 20px;
        position: absolute;
        margin-left: 300px;
        margin-top: 150px;
    }
    
    .previousbtn{
        width: 100%;
        max-width: 20px;
        position: absolute;
        margin-left: -300px;
        margin-top: 150px;
    }


    table {
        width: 100%;
        border-collapse: collapse;
        
    }
    
    th, td {
        padding: 10px;
        border: 1px solid #ddd;
        text-align: left;
       
    }
    
    th {
        background-color: #f2f2f2;
    }

    .calendrier, a, span{
        font-size: 0.6em;
    }

    .calendrier h2{
        font-size: 1.1em;
    }


}

@media only screen and (max-width: 474px){
.nextbtn{
    width: 100%;
    max-width: 20px;
    position: absolute;
    margin-left: 300px;
    margin-top: 150px;
}

.previousbtn{
    width: 100%;
    max-width: 20px;
    position: absolute;
    margin-left: -300px;
    margin-top: 150px;
}
}

@media only screen and (max-width: 340px){
    .nextbtn{
        display: none;
    }
    
    .previousbtn{
       display: none;
    }


    table {
        width: 100%;
        border-collapse: collapse;
        
    }
    
    th, td {
        padding: 3px;
        border: 1px solid #ddd;
        text-align: left;
       
    }
    
    th {
        background-color: #f2f2f2;
    }

    .calendrier, a, span{
        font-size: 0.1em;
    }

    .calendrier a {
        padding: 2px 3px;
    }

    .calendrier h2{
        font-size: 0.3em;
    }

    }


    @media only screen and (max-width: 768px){

    .membres {
        flex-direction: column;
    }

    .membre {
        max-width: none;
        margin-bottom: 20px;
    }

    .hide-small {
        display: none;
    }

    .responsive-table th, .responsive-table td {
        padding: 6px;
    }

    }


@media only screen and (min-width: 1400px) {
    .navbar {
        font-size: 1.4em; 
    }

    .nav-list li {
        margin-right: 100px; 
    }
}


@media only screen and (max-width: 373px){

    .banniere {
        font-size: 10px; 
    }

    .bienvenue {
        color: white;
        margin-top: 100px;
        text-align: center;
        padding: 20px;
        font-size: 0.9em;
    }

    .actualite-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }


    .carteligue img{
        width: 100%;
        max-width: 400px;
        height: 250px;
    }


    


}

@media screen and (max-width: 480px) {
    .responsive-table th, .responsive-table td {
        padding: 4px;
    }
}


