body {
    font-family: system-ui, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    box-sizing: border-box;
}

#button-wrapper {
    position: fixed;
    top: 2px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    width: 99%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 99955;
    line-height: 17px;
}


.score,
.clear-button, .topFileName, .about-button {
    background-color: #495660;
    padding: 5px 10px;
    color: white;
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;

}

.clear-button {
    background-color: crimson !important;
    border: none;
}
.topFileName{
    background-color: #636d60!important;

}

.clear-button:active {
    background-color: #3a4b4f !important;
    /* Thay đổi màu khi nút được nhấn */
}

#tabs {
    display: flex;
    flex-wrap: wrap; /* Allow tabs to wrap to the next line */
    justify-content: center; /* Center align tabs */
    margin-bottom: 20px;
    line-height: 17px;
    margin-top: 26px;
}

.tab {
    background-color: #007bff; /* Tab background color */
    color: white; /* Tab text color */
    padding: 5px 8px;
    margin: 2px;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background color transition */
    text-align: center;
    flex: 1; /* Allow tabs to grow and fill space */
    min-width: 100px; /* Set a minimum width for each tab */
}

/* Media query for narrower screens */


.tab:hover {
    background-color: #548b41e3;
}

.tab.active {
    background: #388E3C;
}

.content {
    display: none;
    margin-top: 20px;
}

.content.active {
    display: block;
}

.question {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.question p {
    margin: 0;
    font-weight: bold;
}

.answer {
    display: block;
    margin: 10px 0;
    font-weight: 400;
    display: flex;
}

label {
    width: 100%;
    display: inline-block;
    opacity: 0.8;
}

label:hover {
    opacity: 1;
    text-shadow: 0px 0px 18px rgba(0, 0, 0, 0.6);
}

.answer input[type="radio"] {
    margin-right: 5px;
}

.result {
    margin-top: 10px;
    font-weight: bold;
}



.highlight {
    background-color: #e0f7fa;
    /* Màu nền nhạt để làm nổi bật */
}

#content-container {
    text-align: justify;

}

.question-image {
    max-height: 180px;
    /* Adjust as needed */
    max-width: 100%;
    /* Adjust as needed */
    display: block;
    /* Ensures the image behaves like a block element */
}