body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #444;
}

#character-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.character-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    width: 220px;
    text-align: center;
    transition: transform 0.2s;
}

.character-card:hover {
    transform: translateY(-5px);
}

.character-image-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 4px solid #eee;
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-card h2 {
    font-size: 1.2em;
    margin: 0 0 10px 0;
    color: #0056b3;
}

.character-card p {
    font-size: 0.9em;
    text-align: left;
    line-height: 1.4;
}
