body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1f1f1f;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
}

.logo img {
    max-height: 50px;
}

#hero {
    height: 50vh;
    background-color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;

    object-fit: cover;
    background-image: url('https://i.ibb.co/6JVkXjQ/banniere.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.95;

   
}

.btn {
    background-color: #ff4400;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e03e00;
}

.btnFile {
    background-color: #ffa600;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btnFile:hover {
    background-color: #00e000;
}

section {
    padding: 50px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

h2 {
    color: #ff4500;
}

footer {
    background-color: #1f1f1f;
    padding: 20px;
    text-align: center;
    color: #e0e0e0;
}

/* Button for Sponsors */
.btn-sponsors {
    background-color: #ff4500;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 20px;
    transition: background-color 0.3s;
}

.btn-sponsors:hover {
    background-color: #e03e00;
}

/* Sponsors Section */
#sponsors {
    text-align: center;
    padding: 50px 20px;
    background-color: #121212;
    color: white;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 20px;
}

/* Fond blanc derrière chaque logo */
.sponsor-logos a {
    background-color: #C0C0C0;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    transition: background-color 0.3s;
}

.sponsor-logos a img {
    max-width: 150px;
    max-height: 100px;
    transition: transform 0.3s;
}

/* Changement de fond lors du survol */
.sponsor-logos a:hover {
    background-color: #f0f0f0;
}

.sponsor-logos a:hover img {
    transform: scale(1.1);
}

/* Team Section */
#team {
    text-align: center;
    padding: 50px 20px;
    background-color: #121212;
    color: white;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.team-member {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.team-member h3 {
    color: #ff4500;
    margin: 10px 0 5px;
}

.team-member p {
    color: #333;
    margin: 5px 0;
}

/* Responsive design for mobile: Logo on top and horizontal buttons */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack logo and navigation vertically */
        align-items: center;
    }

    .logo {
        margin-bottom: 10px; /* Adds space between the logo and menu */
    }

    nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    nav ul li {
        flex: 1; /* Ensures the items stretch to fill available space */
        text-align: center;
    }

    /* Adjust the banner size on mobile */
    .banner {
        width: 100%;
        height: auto;
        max-height: 150px !important; /* Limits the banner height on mobile */
        object-fit: cover; /* Ensures the image covers the space without distorting */
    }
}



/* Social Media Icons */
.social-media {
    margin: 20px 0;
}

.social-icon {
    margin: 0 10px;
    
}

.social-icon img {
    width: 40px;
    height: 40px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.social-icon img:hover {
    filter: grayscale(0%);
}

a.white:link, a.white:active, a.white:visited, a.white:hover {
    color: #ffffff !important;
    background: #000000 !important;
    font-style: italic !important;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1f1f1f;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
}

.logo img {
    max-height: 100px;
}

/* Banner Image Style */
.banner {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 30px;
}

/* Text Sections with White Background */
.text-container {
    background-color: #ffffffc5;
    color: #000000;
    padding: 10px;
    border-radius: 10px;
    max-width: 1300px;
    margin: 3px auto;
}

h1 {
    color: #ff4500;
}

/* Footer Styles */
footer {
    background-color: #1f1f1f;
    padding: 20px;
    text-align: center;
    color: #e0e0e0;
}

/* Team Grid */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.team-member h3 {
    color: #ff4500;
    margin: 10px 0 5px;
}

.team-member p {
    color: #333;
    margin: 5px 0;
}

