/* Estilos generales */
body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
}

/* Estilo del título */
h1 {
    color: #f0f0f0;
    font-size: 2rem;
}

/* Estilos del input y botón */
input {
    background-color: #1e1e1e;
    border: 1px solid #444;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    outline: none;
    width: 200px;
    margin-bottom: 15px;
    margin-left: 30px;
}

button {
    background-color: #333;
    border: 1px solid #555;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 8px;
    margin-right: 50px;
    transition: background 0.3s;
}

button:hover {
    background-color: #444;
}

/* Contenedor de la información */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Estilo de cada tarjeta de información */
.info-card {
    background-color: #1e1e1e;
    border: 1px solid #444;
    padding: 15px;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;;
}

.info-card:hover {
    transform: scale(1.05);
}

/* Estilo especial para la imagen */
#sprite-container img {
    background-color: #222;
    border: 2px solid #444;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 10px;
}

div[id^="pokemon-"], 
div[id="weight"],
div[id="height"],
div[id="types"],
div[id="hp"],
div[id="attack"],
div[id="defense"],
div[id="special-attack"],
div[id="special-defense"],
div[id="speed"] {
    background: rgb(102, 100, 100);
    display: inline-block;
    padding: 10px;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

@media (max-width: 600px) {
    #search-input {
        width: 80%;
    }
}