.cache {
 display: none;
}

body {
    background-color: #f0f0f0;
    font-family: 'Pokemon Solid', sans-serif;
    margin: 0;
    padding: 10px;
}

h1 {
    text-align: center;
    color: #DC0A2D;
    margin-bottom: 30px;
    text-shadow: 3px 3px 5px #000000;
    font-size: 40px;
}

#pokedex {
    background-color: #DC0A2D;
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.5)
}

#info {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.5);
    width: 200px;
    min-height: 300px;
    
}

#navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

button {
    background-color: #000000;
    color: #f0f0f0;
    padding: 15px;
    border: none;
    font-weight: bold;
    font-size: 28px;
    border-radius: 20%;
    cursor: pointer;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.5)
}

#info ul {
    list-style: none;
    padding-left: 0;
}

#photo {
  max-width: 100%;
  height: auto;
}

button:hover {
    background-color: #000000;
    transform: scale(1.05);
}

#erreurAffichagePokedex {
    color: #DC0A2D;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
}

#infoPokemon {
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    } 
}

@media (max-width: 768px) {
    #info {
        width: 150px;
        min-height: 250px;
    }
    #pokedex {
        padding: 15px;
    }
    button  {
        padding: 10px;
        font-size: 24px;
    } 
    h1 {
        font-size: 32px;
    }
}