body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #121212;
    margin: 0;
    padding: 20px;
    color: white;
}

h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

.pokemon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.pokemon-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
    padding: 15px;
    width: 220px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pokemon-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.4);
}

img {
    width: 120px;
    height: auto;
}

.type {
    font-weight: bold;
    color: #ffd700;
}

.pagination {
    margin-top: 20px;
}

.pagination button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.pagination button:hover {
    background-color: #0056b3;
}


/* Style du pop-up */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Assombrit l'arrière-plan */
    justify-content: center;
    align-items: center;
}

/* Contenu du pop-up */
.modal-content {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 350px;
    max-width: 90%;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
    position: relative; /* Pour positionner le bouton de fermeture */
}

/* Image du Pokémon */
.modal-content img {
    width: 150px;
    height: auto;
    margin: 10px 0;
}

/* Liste des statistiques */
.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    text-align: left;
}

/* Bouton de fermeture */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover {
    color: red;
}

