body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

header {
    background: #50b3a2;
    color: white;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
    text-align: center;
}

header img {
    width: 120px;
    height: 120px;
}

.description {
    padding: 20px;
    background: #ffffff;
    margin-top: 20px;
    border-radius: 5px;
}

.divider {
    border-top: 1px solid #e8e8e8;
    margin: 20px 0;
}

.content {
    background: #ffffff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
}

.character-type-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.character-type-selector button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.character-type-selector button.active {
    background-color: #007bff;
    color: white;
}

.character-type-selector button:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.character-type-selector button:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.character-cards-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.character-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.character-card {
    width: 30%;
    padding: 10px;
    margin: 10px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.character-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.nav-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-button:disabled {
    color: #ccc;
    cursor: not-allowed;
}

#selected-character-image-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

#selected-character-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

#selected-character-info {
    margin-top: 10px;
}

#question-input-wrapper {
    display: flex;
    margin-bottom: 20px;
}

#question-input {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
}

#submit-question {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

#response {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.social-share {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.social-share button {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    margin-top: 20px;
}

footer a {
    color: #50b3a2;
}

/* New styles for the random button */
.filter-button.random-button {
    background-color: #ff6b6b;
    color: white;
    font-weight: bold;
}

.filter-button.random-button:hover {
    background-color: #ff4757;
}
