/* Global styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

/* Section Sponsors */
main {
    padding: 20px 0;
    text-align: center;
}

main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sponsors h1 {
    color: #1176bc;
    font-size: 2em;
    margin-bottom: 15px;
}

/* Sponsor Cards */
.sponsor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.sponsor {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 280px;
    height: 180px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.sponsor:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.sponsor-logo {
    display: block;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
}

/* Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        padding: 50px 20px 20px; /* Réduisez le padding pour les petits écrans */
        min-height: 300px; /* Réduisez la hauteur minimale pour les petits écrans */
    }

    .about {
        padding: 20px;
    }
    .label-images img {
        width: calc(50% - 10px);
    }
    .access-buttons {
        gap: 15px;
    }
    .button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}