/* Global Styles */
body {
    background-color: #ff4d4d; 
    font-family: 'Pacifico', cursive; 
    color: white; 
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

/* Main Heading */
h2 {
    text-align: center;
    font-size: 3em;
    margin-top: 30px;
}

/* Form Styles */
form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pokemonSubmit input {
    padding: 10px;
    font-size: 1.2em;
    border-radius: 8px;
    border: none;
    margin-bottom: 10px;
    width: 250px;
    text-align: center;
}

#pokemonSubmit button {
    background-color: #ff9f9f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

#pokemonSubmit button:hover {
    background-color: #ff6666;
}

/* Pokemon Info Section */
#pokemonInfo {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 80%;
    max-width: 600px;
}

/* Image Container */
#imgContainer img {
    max-width: 200px;
    border-radius: 10px;
    margin-top: 20px;
}

/* Stats Table */
table {
    margin-top: 20px;
    border-collapse: collapse;
    width: 80%;
    max-width: 800px;
    text-align: center;
}

table td {
    padding: 10px;
    border: 1px solid #fff;
    font-size: 1.2em;
}

/* Types Section */
#types {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#types span {
    background-color: #fff;
    color: #ff4d4d;
    padding: 10px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: capitalize;
}

/* Clear Button (optional, in case you want to add a reset functionality) */
#clearButton {
    margin-top: 20px;
    background-color: #ff9f9f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

#clearButton:hover {
    background-color: #ff6666;
}
