@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

body {
    font-family: Quicksand;
    background: url(https://pattounesrp.fr/bg.webp) no-repeat;
    background-size: cover;
    margin: 0;
}
div.banner {
    text-align: center;
    color: white;
    background-color: rgba(75, 75, 75, 0.507);
    margin: 0px;
    padding: 4em;
}
div.desc {
    background-color: rgba(255, 255, 255, 0.74);
    padding: 2em;
    border-top: 2px;
    border-top-color: orange;
}
div.staff {
    padding: 2em;
    text-align: center;
    background-color: rgba(255, 136, 0, 0.705);
    color: white;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.card {
    background-color: #ecf0f1;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
    padding: 15px;
}
.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
.card .name {
    color: orange;
    font-weight: bold;
    margin-bottom: 5px;
}
.card .role {
    color: #7f8c8d;
}
.banner nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end; /* Aligne les éléments sur la droite */
}
.banner nav ul li a {
    color: white;
    transition: 200ms;
    font-weight: bold;
    text-decoration: none;
    font-style: normal;
    border-style: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 5px;
    margin-right: 1em;
    padding-left: 3em;
    padding-right: 3em;
    padding-top: 1em;
    padding-bottom: 1em;
}
.banner nav ul li a.join {
    color: white;
    background-color: rgb(255, 136, 0);
    text-decoration: none;
    font-style: normal;
    border-style: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 5px;
    margin-right: 1em;
    padding-left: 3em;
    padding-right: 3em;
    padding-top: 1em;
    padding-bottom: 1em;
}
.banner nav ul li a:hover {
    color: rgb(255, 136, 0);
    transition: 200ms;
    background-color: white;
    text-decoration: none;
    font-style: normal;
    border-style: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 5px;
    margin-right: 1em;
    padding-left: 3em;
    padding-right: 3em;
    padding-top: 1.5em;
    padding-bottom: 1em;
}

/* Menu Hamburger */
.menu-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-top: 20px;
}

.menu-hamburger .bar {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 4px;
}

/* Cacher le menu par défaut sur mobile */
@media (max-width: 768px) {
    .menu-hamburger {
        display: flex; /* Affiche le bouton hamburger sur mobile */
        cursor: pointer;
    }

    .banner nav ul {
        display: none; /* Cache le menu par défaut */
        flex-direction: column;
        background-color: rgba(75, 75, 75, 0.9); /* Fond sombre pour le menu */
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        padding: 1em;
        z-index: 1;
        transition: transform 0.3s ease; /* Ajout d'une animation pour un effet de glissement */
        transform: translateX(100%); /* Le menu est initialement déplacé à droite */
    }

    .banner nav ul.open {
        display: flex; /* Affiche le menu quand la classe "open" est ajoutée */
        transform: translateX(0); /* Le menu glisse dans la vue */
    }

    .banner nav ul li {
        padding: 1em 0;
        text-align: center;
    }

    .banner nav ul li a {
        padding: 1em;
        width: 100%;
        display: block;
    }
}


.plus {
    background-color: #7f8c8daa;
    color: white;
    padding: 1em;
    text-align: center;
}
.plus h3 {
    text-align: center;
}
.pdf{
    border-radius: 24px;
    border-style: none;
}
