/* section index */


.top-link {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    height: 40px;
}

.link-rotary {
    font-size: 15px;
    color: #0050A2
        /*rgb(0, 36, 108)*/
    ;
    font-weight: bold;
    padding-right: 40px;
    text-decoration: none;
    /* font-family: 'Open Sans Light', 'Open Sans', sans-serif;*/
}

.my-row {
    display: flex;
    flex-direction: row;
}

.my-col {
    display: flex;
    flex-direction: column;
}

.my-color-red {
    background-color: red;
}

.my-color-green {
    background-color: green;
}

.my-none {
    display: none;
}


#footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 25px 20px;
    background-color: black;
    color: white;
    width: 100%;
    /* font-family: Georgia, 'Times New Roman', Times, serif;*/
    /*position: relative;
  margin-top: auto;*/
}

#footer .link {
    display: flex;
    flex-direction: row;
}

#footer a {
    text-decoration: none;
    color: white;
}

#navbar {
    padding: 0px;
    margin: 0px;
    background-color: white;
    opacity: 1;
    height: 90px;
    position: sticky;
    top: 0;
    display: flex;
    z-index: 1000;

}


#navbar .navbar-link {
    color: #5E717D
        /*rgb(102, 102, 102)*/
    ;
    /*width: 20%;*/
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-direction: column;
    align-items: center;
    margin: 30px 30px 0px 0px;
    text-decoration: none;
}

#navbar .clicked {
    color: #872175;
}

#navbar .navbar-link:hover {
    color: #0050A2
        /*rgb(0, 36, 108)*/
    ;
    font-size: 17px;
}

.triangle {
    display: none;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #0050A2
        /*rgb(0, 36, 108)*/
    ;

}

.show-triangle {
    display: block;
}



#navbar .menu {
    width: 1200px;
    background-color: #0050A2
        /*rgb(0, 36, 108)*/
    ;
    /* height: 300px;*/
    position: absolute;
    margin-top: 90px;
    left: 0;
    right: 0;
    top: 0;
    visibility: hidden;
    padding: 15px 10px;
}

#navbar .menu .libelle {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #F7A81B
        /*rgb(254, 176, 7)*/
    ;
    text-decoration: none;
}

#navbar .menu .libelle:hover {
    color: white;
}

#navbar .menu .lien {
    font-size: 14px;
    font-weight: 600;
    margin: 3px 0px;
    color: white;
    text-decoration: none;
}

#navbar .menu .lien:hover {
    font-size: 15px;
    color: rgb(170, 167, 167);
}

#navbar .btn-connexion {
    background-color: #F7A81B
        /*rgb(254, 176, 7)*/
    ;
    color: rgb(0, 36, 108);
    text-decoration: none;
    width: 150px;
    height: 40px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    border-radius: 5px;
}

#navbar .btn-connexion:hover {
    color: #0050A2
        /*rgb(20, 64, 151)*/
    ;
}

@media (min-width: 1201px) {
    #navbar-mobile {
        display: none;
    }
}

@media (max-width: 1200px) {
    #navbar {
        display: none;
    }

    #footer {
        flex-direction: column;
    }

    #footer .link {
        flex-direction: column;
        font-size: 16px;
        justify-content: center;
        align-items: center;
        margin: 20px 0px;
    }

    .top-link .link-rotary {
        font-size: 10px;
        text-decoration: none;
    }

    #navbar-mobile .bar {
        height: 80px;
        background-color: white;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    #navbar-mobile .btn-connexion {
        background-color: #F7A81B
            /*rgb(254, 176, 7)*/
        ;
        color: #0050A2
            /*rgb(0, 36, 108)*/
        ;
        text-decoration: none;
        width: 150px;
        height: 40px;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        justify-content: center;
        flex-direction: row;
        align-items: center;
        border-radius: 5px;
        margin-right: 10px;
    }

    .bar i {
        font-size: 30px;
        color: #F7A81B
            /*rgb(254, 176, 7)*/
        ;
        font-weight: bold;
    }

    #navbar-mobile .menu-mobile {
        background-color: #0050A2
            /*rgb(0, 36, 108)*/
        ;
        display: none;
        flex-direction: column;
    }

    #navbar-mobile .menu-mobile .libelle {
        color: #F7A81B
            /*rgb(254, 176, 7)*/
        ;
        text-decoration: none;
        font-weight: 700;
        margin: 10px 10px;
        /* border-bottom: 1px solid;
        border-color: rgb(190, 184, 184);*/
    }

    #navbar-mobile .menu-mobile .separateur {
        border-bottom: 1px solid;
        border-width: 0.1px;
        border-color: #BCBDC0
            /*rgb(190, 184, 184)*/
        ;
    }

    #navbar-mobile .menu-mobile .btn-combo {
        border-left: 1px solid;
        border-width: 0.1px;
        border-color: #BCBDC0
            /*rgb(190, 184, 184)*/
        ;
        width: 50px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #navbar-mobile .menu-mobile .btn-combo i {
        color: white;
        font-size: 20px;
    }

    #navbar-mobile .menu-mobile .district-link {
        display: none;
        flex-direction: column;
    }

    #navbar-mobile .menu-mobile .district-link .m-link {
        text-decoration: none;
        color: white;
        margin-left: 10px;
        font-weight: 700;
        margin-bottom: 12px;
        margin-top: 12px;
    }

    #navbar-mobile .menu-mobile .district-link .c-link {
        text-decoration: none;
        color: white;
        margin-left: 10px;
        margin-bottom: 8px;
        font-weight: 600;
    }

    #navbar-mobile .bi-list {
        margin-right: 10px;
    }
}

/* Section home */

#home .barner {
    height: 250px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    background-color: rgb(255, 255, 255);
    width: 100%;
}

#home .barner {
    height: 250px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    background-color: rgb(255, 255, 255);
    width: 100%;
}

#home .barner .first {
    width: 40%;
    background-image: url('https://dynamic-media-cdn.tripadvisor.com/media/photo-o/12/6d/03/ac/monument-de-l-independance.jpg?w=1200&h=-1&s=1');
    background-size: cover;
    background-position: center;
}

/*https://www.gouv.bj/upload/images/articles/ckeditor/amazone.jpg*/
#home .barner .second {
    width: 30%;
    background-image: url("https://panierlibre.com/bj/wp-content/uploads/sites/3/2021/10/E%CC%81toile-rouge.jpg");
    background-size: cover;
    background-position: center;
}

#home .barner .three {
    width: 30%;
    background-image: url('https://visit-niger.com/wp-content/uploads/listing-uploads/gallery/2023/01/Zinder.jpg');
    background-size: cover;
    background-position: center;
}

#home .mosaic {
    padding: 20px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    justify-content: center;
}

.mosaic .mosaic-item {
    grid-column: span 1;
    grid-row: span 1;
    background-color: white;
    padding: 10px;
    height: min-content;
    border-radius: 5px;
}

.mosaic .mosaic-item .libelle {
    color: rgb(0, 36, 108);
    font-size: 26px;
    font-weight: 700;
    line-height: 22px;
    padding: 10px 0px;
}

.mosaic .mosaic-item .libelle-sub {
    color: rgb(0, 36, 108);
    font-size: 21px;
    font-weight: 700;
    line-height: 22px;
    padding: 10px 0px 0px 0px;
}

.mosaic .mosaic-item .libelle-date {
    color: black;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    padding: 0px;
    margin: 0px;
    line-height: 19px;
    /*font-family: Georgia, 'Times New Roman', Times, serif;*/
    flex-direction: row;
    justify-content: end;
}

.mosaic .mosaic-item hr {
    padding: 0px;
    margin: 10px 0px 10px 0px;
}

.mosaic .mosaic-item a {
    text-decoration: none;
}

.mosaic .mosaic-item .btn-blue {
    color: white;
    background-color: rgb(66, 139, 202);
    border-radius: 5px;
    padding: 10px;
    width: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 10px 0px;
}

.mosaic label {
    font-size: 16px;
    font-weight: 700;
    /*font-family: Georgia, 'Times New Roman', Times, serif;*/
    color: black;
}

.mosaic input {
    background-color: rgb(231, 231, 232);
}

.mosaic .mosaic-item a img {
    object-fit: cover;
    width: 100%;
    height: 200px;
    margin-top: 10px;
}


.mosaic .mosaic-item-large {
    grid-column: span 2;

}

@media (min-width: 1201px) {

    #home .barner-mobile {
        display: none;
    }
}

@media (max-width: 1200px) {
    #home .barner {
        display: none;
    }

    #home .mosaic {
        grid-template-columns: 1fr;
        padding: 10px 20px;
        justify-content: center;
    }

    #home .mosaic-item-large {
        grid-column: span 1;
    }

    #home .mosaic-item .libelle {
        font-size: 20px;
    }

    #home .mosaic-item iframe {
        height: auto;
        width: 300px;
    }

    #home .social-area {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    #home .social {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }

    #home .social .link {
        margin-right: 10px;
    }

    #home .social hr {
        display: none;

    }

    #home #msg-succes {
        margin: 0px 20px;
    }

    #home #msg-echec {
        margin: 0px 20px;
    }
}

.social {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.social .link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social-area {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}




#home .download-button {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    background-color: #0C3C7C;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    border-radius: 100px;
}


/* Section equipe */

#equipes {
    padding: 20px;
}

#equipes .mosaic {
    padding: 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 30px;
    justify-content: center;
}

#equipes .profil-mosaic {
    padding: 20px 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    justify-content: center;
}

#equipes .profil-mosaic .profil-mosaic-item {
    grid-column: span 1;
    grid-row: span 1;
    background-color: white;
    padding: 10px;
    height: min-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#equipes .mosaic .mosaic-item {
    grid-column: span 1;
    grid-row: span 1;
    background-color: white;
    padding: 10px;
    height: min-content;
}

/*#equipes .mosaic-item ul ul li a:hover {

    color: rgb(86, 92, 105);

    font-weight: 600;
}*/

#equipes .mosaic-item ul li a {
    font-size: 18px;
    color: #5E717D;
    font-weight: 600;
    font-style: italic;
}

#equipes .mosaic-item ul ul li a {
    font-size: 16px;
    color: #0050A2
        /*rgb(0, 36, 108)*/
    ;
    font-weight: 500;
    font-style: normal;
}

#equipes .mosaic-item-large {
    grid-column: span 2;
    background-color: white;
    padding: 10px;
    height: min-content;
}

@media (min-width: 1200px) {
    #equipes .mosaic-item {
        position: sticky;
        top: 120px;
    }


}

@media (max-width: 1200px) {
    #equipes {
        padding: 8px;
    }

    #equipes .mosaic {
        grid-template-columns: 1fr;
        padding: 10px 20px;
        justify-content: center;
    }

    #equipes .profil-mosaic {
        grid-template-columns: 1fr;
        padding: 8px 10px;
        justify-content: center;
    }



    #equipes .mosaic-item-large {
        grid-column: span 1;
    }
}

/* section clubs */

#clubs {
    margin: 20px 50px;
    background-color: rgb(255, 255, 255);
    padding: 10px;
}

#clubs .titre {
    font-size: 25px;
    font-weight: bold;
    color: #0050A2
        /*rgb(0, 36, 108)*/
    ;
    margin-bottom: 15px;
}

#clubs .ligne {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0px;


}

#clubs .first {
    font-size: 20px;
    font-weight: 700;
    background-color: white;
}

#clubs hr {
    padding: 0px;
    margin: 10px 0px 00px 0px;
}


@media (max-width: 1200px) {
    #clubs {
        margin: 10px 20px;
    }

    #clubs .club {
        width: 40%;
        font-size: 11px;
        margin-right: 5px;
    }


    #clubs .president {
        width: 40%;
        font-size: 11px;
        margin-right: 5px;
    }

    #clubs .telephone {
        width: 20%;
        font-size: 11px;
        margin-right: 5px;
    }

    #clubs .img-club {
        margin: 0px 15px;
        height: 150px;
        width: 150px;
        object-fit: cover;
    }

}

#clubs .img-club {
    object-fit: contain;
    width: 300px;
}


#clubs .entete {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin: 30px 0px;
}

#clubs .club {
    width: 35%;
}


#clubs .president {
    width: 35%;
}

#clubs .telephone {
    width: 35%;
}

/* section event */

#event {
    margin: 20px 50px;
    background-color: rgb(255, 255, 255);
    padding: 10px;
}

#event .entete {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;


}

#event .entete .first {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

#event .entete .second {
    font-weight: 700;
    font-size: 14px;
}

#event .ligne {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 12px 0px;
}

#event .entete-ligne {
    font-weight: bold;
    font-size: 18px;
}

#event .ligne .first {

    width: 75%;
}

#event .ligne .second {

    width: 25%;
}

@media (max-width: 1200px) {
    #event {
        margin: 15px 20px;
    }

    #event .entete-ligne {
        font-weight: bold;
        font-size: 16px;
    }

    #event .entete .first {
        font-weight: 700;
        font-size: 15px;
        margin-bottom: 10px;
    }

    #event .entete .second {
        font-weight: 700;
        font-size: 14px;
    }

    #event .ligne .first {
        font-size: 14px;
        width: 75%;
        padding-right: 15px;
    }

    #event .ligne .second {
        font-size: 12px;
        width: 25%;
    }
}

/* section about */

#about {
    padding: 20px 50px;
    width: 100%;
    text-align: center;

}

/*Section error-404*/
#error {
    padding: 40px;
}

#error .body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#error #image-404 {
    height: 300px;
    width: 400px;
}

@media (max-width: 1200px) {
    #error #image-404 {
        height: 400px;
        width: 300px;
    }
}
