@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.search-container {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.search-input {
    text-align: center;
    padding: 10px 20px;
    width: 100%;
    border: 4px solid #333;
    border-radius: 25px;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #00796b;
}

.pokemon-card {
    text-align: center;
    padding: 20px;
    min-width: 300px;
    border: 4px solid #333;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 6px 12px rgba(0, 121, 107, 0.2);
    max-width: 400px;
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pokemon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 121, 107, 0.3);
}

.pokemon-card img {
    max-width: 250px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.pokemon-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.pokemon-card li {
    text-align: center;
    margin-bottom: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #44a3cf;
}

.pokemon-card li::before {
    content: "⚡";
    margin-right: 8px;
    font-size: 16px;
}

.ability {
    margin: 10px 0;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ability span {
    background-color: #e0f7fa;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 121, 107, 0.1);
}

@media (max-width: 600px) {
    .pokemon-card {
        max-width: 90%;
        padding: 15px;
    }

    .search-input {
        font-size: 16px;
    }
}
