body {
    font-family: 'Press Start 2P', cursive;
    background-color: #000; /* Changed to a light gray color */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    color: #000; /* Changed to black for better contrast */
}

.container {
    background-color: #fff; /* Changed to white for better contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.header {
    background-color: #f8f8f8; /* Changed to a light gray color */
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

h1 {
    font-size: 20px;
    margin: 0;
    color: #333; /* Changed to dark gray for better contrast */
}

.question-header {
    background-color: #f0f0f0; /* Changed to a light gray color */
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.question-body {
    background-color: #f8f8f8; /* Changed to a light gray color */
    padding: 10px;
    border-radius: 10px;
}

label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
    color: #000; /* Changed to black for better contrast */
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

.result-container {
    background-color: #fff; /* Changed to white for better contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 600px;
    display: flex; /* Make sure the container is set to display flex */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.result-section {
    margin-bottom: 20px;
}

.stats, .compatibility, .traits {
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .container, .result-container {
        width: 95%;
    }

    h1 {
        font-size: 16px;
    }

    button {
        font-size: 12px;
    }

    .result-header {
        font-size: 16px;
    }
}
