body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f9;
    margin-top: 50px;
}

/* Question Text Styling */
.question-container {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

/* Grid layout for the 6 boxes */
.box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Individual Grey Rectangle */
.box {
    background-color: #a0a0a0;
    width: 400px;
    height: 120px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
    user-select: none; /* Prevents text highlighting on double click */
}

.box:hover {
    background-color: #8c8c8c;
}

/* Text inside the box (Hidden by default) */
.box-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Toggled class to reveal text */
.box.show-text .box-text {
    opacity: 1;
}
