.task-main {
    background-color: rgb(217, 230, 222);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    padding-left: 4vw;
    padding-right: 4vw;
    border: none;
    margin-top: 25px !important;
    display: flex;
    justify-content: center;
}

.task-container {
    display: flex;
    flex-direction: column;
    width: 50%;
    background-color: rgb(232, 243, 237);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(85, 171, 137, 0.2);
    padding: 25px;
}

.explanation-container {
    background-color: rgba(200, 220, 210, 0.2);
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    padding: 25px;
}

.task-container h2 {
    text-align: center;
    font-size: 1.5rem;
    color: rgb(15, 56, 54);
    margin-bottom: 20px;
}

.task-question {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: justify;
    padding: 10px 15px;
    margin: 10px 0 20px 0;
    color: rgb(33, 66, 61);
    background-color: rgba(200, 220, 210, 0.2);
    border-radius: 5px;
}

.task-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.task-container button {
    background-color: rgb(176, 197, 184);
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    flex: 1;
}

.task-container button:hover {
    background-color: rgb(144, 170, 158);
    transform: scale(1.04);
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: center;
}

@media (max-width: 990px) {
    .task-container {
        width: 100%;
    }
}

.button-correct {
    background-color: rgb(123, 205, 124) !important;
    box-shadow: 4px 4px rgba(123, 205, 124, 0.3) !important;
    color: rgb(52, 72, 53) !important;
}

.button-wrong {
    background-color: rgb(218, 137, 112) !important;
    box-shadow: 4px 4px rgba(205, 142, 123, 0.3) !important;
    color: rgb(66, 56, 52) !important;
}

.action-button-container {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.button-retry,
.button-info {
    background-color: rgb(200, 220, 210);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s;
    flex: 1;
}

.button-retry:hover,
.button-info:hover {
    background-color: rgb(176, 197, 184);
}

.result-text {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    color: rgb(54, 92, 87);
    min-height: 1.5rem;
}

.button-hidden {
    display: none;
}

.container-hidden {
    display: none;
}

.text-hidden {
    display: none;
}

.explanation-hidden {
    display: none;
}