body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #fff;
}

p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #bbb;
    max-width: 800px;
}

/* Conteneur des cartes */
.player-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.card {
    background-color: #333;
    color: #fff;
    border-radius: 10px;
    width: 300px;
    margin: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.card-service {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-info h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.card-info p {
    font-size: 16px;
    color: #bbb;
}

/* Effet hover pour la carte */
.card:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    .card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .card {
        width: 100%;
    }
}

/* Stylisation du modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Permet de centrer horizontalement et verticalement */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center; /* Pour centrer le texte et les éléments à l'intérieur */
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #fff;
}

input[type="password"] {
    padding: 10px;
    margin: 20px auto; /* Définit une marge verticale et centre horizontalement */
    width: 80%; /* Réduction de la largeur pour donner un peu d'espace autour */
    display: block; /* Pour que l'élément prenne la largeur entière et soit centré */
    border-radius: 5px;
    border: none;
    outline: none;
    background-color: #444;
    color: #fff;
    font-size: 16px;
}

button#verifyPasswordButton {
    background-color: #f0a500;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button#verifyPasswordButton:hover {
    background-color: #d98e00;
}
