/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, rgba(0, 0, 51, 0.9), rgba(0, 0, 102, 0.9)),
                url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: rgba(0, 0, 51, 0.8);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container-header {
    display: flex;
    align-items: center;
    gap: 30px; /* Espacement de 3 cm entre les deux logos */
}

.logo {
    width: 120px;
    height: auto;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    transition: background 0.3s ease;
}
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Section d'accueil */
.welcome-section {
    text-align: center;
    padding: 120px 20px;
    animation: fadeIn 1.5s ease-in-out;
}
.welcome-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px black;
}
.welcome-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ddd;
}
.btn {
    padding: 12px 25px;
    background: #1a75ff;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background 0.3s;
}
.btn:hover {
    background: #005ce6;
    transform: translateY(-2px);
}
.logo-container {
text-align: center;
}

.logo {
width: 150px; /* Taille moyenne par défaut */
height: auto; /* Maintient le ratio d'aspect */
}

main {
    padding: 60px 20px;
    text-align: center;
    flex: 1;
}
/* Styles pour le bouton retour */
.back-button-container {
    text-align: center; /* Centrer le bouton */
    margin: 20px 0;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white; /* Couleur du texte */
    background-color: #007bff; /* Couleur de fond */
    border: none;
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
    background-color: #0056b3; /* Couleur au survol */
    transform: translateY(-2px); /* Effet de levée */
}

.back-button:active {
    background-color: #004085; /* Couleur lors du clic */
    transform: translateY(0); /* Réinitialisation de l'effet de levée */
}


h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px black;
}

.teams-list, .players-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.team-card, .player-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover, .player-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

.team-card img, .player-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

footer {
    background: rgba(0, 0, 51, 0.95);
    padding: 30px 20px;
    color: #ccc;
    font-size: 0.9rem;
}

/* Footer container responsive */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer sections */
.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #1a75ff;
}

/* Social links styling */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links h4 {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

/* Footer bottom */
.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    font-size: 0.8rem;
    color: #999;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
