/* Body styling */
body {
    margin: 0;
    position: absolute;
    top: 0;
    width: 100%;
    font-family: Arial, sans-serif;
    color: black;
    background-color: #81cb979e;
    padding-bottom: 125px;
    box-sizing: border-box;
}

/* App container styling */
.app {
    background: #D2DAAC;
    background: linear-gradient(120deg, rgb(172 214 119 / 75%), rgb(33 147 190));
    width: 90%;
    max-width: 600px;
    margin: 100px auto 0;
    border-radius: 10px;
    padding: 30px;
}

/* Title styling */
.app h1 {
    font-size: 1.7em;
    color: #f5f5f5;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

/* Quiz heading styling */
.quiz h2 {
    font-size: 24px;
    color: #fff;
    padding: 10px;
    font-weight: 600;
    background-image: linear-gradient(to right, #2e98ba, #335a4f);
}

/* Button styling */
.btn {
    font-size: 18px;
    background: #52727826;
    color: #fff;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.correct {
    background: #73b28d;
}

.incorrect {
    background: #ff9393;
}

/* Align buttons similarly */
.app .quiz {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Button container to align Close and Mute buttons */
.button-container {
    display: flex;
    justify-content: space-between; /* Align buttons on opposite sides */
    margin: 20px 0;
}

/* Close button styling */
.close-btn {
    background-color: #d70000;
    color: white;
    font-size: 18px;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

/* Mute button styling */
.mute-btn {
    background-color: #222;
    color: white;
    font-size: 18px;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

/* Icon styling for Close and Mute buttons */
.close-btn i, .mute-btn i {
    margin-right: 5px;
}

/* Explanation button styling */
#view-explanation-btn {
    font-size: 25px;
    background-color: #115f72;
    color: #fff;
    width: 200px;
    border: none;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

/* Next button styling */
#next-btn {
    font-size: 25px;
    background: #135f72;
    color: white;
    font-weight: 500;
    width: 150px;
    border: none;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

/* Text explanation styling */
.explanation-text {
    border: solid white 2px;
    font-size: 16px;
    color: #fff;
    background-color: #135f72;
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

/* Ensure Font Awesome icons display properly across browsers */
i.fas, i.fa {
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Use the solid style */
}

/* Increase the size of the thumbs-up and thumbs-down icons */
.correct i.fa-thumbs-up, .incorrect i.fa-thumbs-down {
    font-size: 1.5em;
    margin-left: 10px;
}

/* Fallback if Font Awesome fails */
.correct i, .incorrect i {
    font-family: "Font Awesome 5 Free", Arial, sans-serif;
    font-weight: 900;
}

/* Button hover state */
.btn:hover:not([disabled]) {
    background: #0a6171d1;
    color: #fff;
}

/* Disabled button state */
.btn:disabled {
    cursor: no-drop;
}
