body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 10;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 80%;
    max-width: 1000px;
}

h1 {
    color: #333;
}

p {
    color: #333;
}

.btn {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
    color: #fff;
}

.question-block {
    margin-bottom: 20px;
    text-align: left;
}

.options label {
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.container {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 80%;
    max-width: 1000px;
    overflow-y: auto; /* Enable vertical scrolling if needed */
    max-height: 100vh; /* Limit container height to 90% of viewport */
}

.score-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to a new line if there are more than 7 items */
    gap: 6px; /* Adjust the spacing between items */
}

.score-container p {
    margin: 0;
    font-size: 24px; /* Adjust size as needed */
}

/* Optional: Set a maximum width to control wrapping */
.score-container {
    max-width: 500; /* Calculate the width for 7 icons with gaps */
}

.result-item {
    border: 2px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.result-item p {
    margin: 0;
    font-size: 20px;
}

.result-item img {
    margin-top: 10px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.btn-red {
    background-color: red;
    color: white; /* para garantir que o texto seja legível */
}

.btn-red:hover {
    background-color: rgb(170, 0, 0);
    color: white; /* para garantir que o texto seja legível */
}

/* CON 99 */
/* General styles for the question block */
.question-block {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Style for the image */
.question-image {
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Style for the question text */
.question-block p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Container for the options */
.options {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap; /* Allow options to wrap if they exceed container width */
    gap: 20px; /* Space between options */
}

/* Style for the option labels */
.options label {
    flex: 1 1 auto; /* Ensure labels take up equal space and can shrink */
    background-color: #e9ecef;
    color: #333;
    padding: 15px 20px;
    font-size: 1.2rem; /* Larger text */
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    border: 2px solid black;
    max-width: calc(100% / 2 - 20px); /* Keep labels within two-column layout */
}

/* Change background on hover */
.options label:hover {
    background-color: #00a6ff; /* Blue hover effect */
    transform: translateY(-2px);
}

/* Styling for radio buttons */
.options input[type="radio"] {
    display: none; /* Hide the default radio buttons */
}

/* Custom radio button effect */
.options input[type="radio"]:checked + label {
    background-color: #495057;
    color: #fff;
    border: 2px solid #343a40;
    transform: scale(1.05);
}

/* Optional: Adjustments for mobile view */
@media (max-width: 768px) {
    .question-block {
        padding: 15px;
    }
    
    .question-block p {
        font-size: 1.1rem;
    }
    
    /* On mobile, labels take full width */
    .options label {
        max-width: 100%;
        padding: 10px 15px;
        font-size: 1rem;
    }
}

.result-item img {
    width: 100%; /* Ensures all images take up the full width of their container */
    height: auto; /* Maintains aspect ratio */
    max-width: 900px; /* Adjust this to the desired width */
    min-width: 900px;
    border-radius: 5px;
    display: block; /* Ensures images are block elements, which can help with consistency */
    object-fit: cover; /* Ensures images cover the defined width while maintaining aspect ratio */
    margin: 0 auto; /* Centers the image horizontally */
}