/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fdf4e3;
    color: #571c20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background-color: #f7dac0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #571c20;
}

.logo img {
    height: 60px;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #571c20;
    font-size: 18px;
}

main {
    width: 100%;
    max-width: 1200px;
    padding: 50px 20px;
}

/* ############################### HOME design #############################*/

.home {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #c7927a;
}

.home h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #c73e1d;
}

.home ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.home ul li {
    font-size: 18px;
    margin: 10px 0;
}

/* Container for the left and right sections */
.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligns both sections to the top */
    gap: 20px;
}

/* Left side: course info */
.course-info {
    width: 55%;
}

.course-info h2 {
    font-size: 28px;
    color: #c73e1d;
    margin-bottom: 20px; /* Space below the heading */
}

.course-info p {
    font-size: 18px;
    line-height: 1.6;
    color: #3d3d3d;
    margin-bottom: 30px; /* Space between paragraph and list */
}


/* Right side: container for both theory and practical content */
.side-content {
    width: 40%; /* Less space for the right column */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Styles for both theory and practical content */
.theory-content, .practical-content {
    background-color: #fde3b0;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #c7927a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theory-content h3, .practical-content h3 {
    font-size: 24px;
    font-weight: bold;
    color: #c73e1d;
    margin-bottom: 15px;
}

.theory-content ul, .practical-content ul {
    list-style: none;
    padding-left: 0;
}

.theory-content ul li, .practical-content ul li {
    font-size: 18px;
    margin-bottom: 10px;
    color: #3d3d3d;
    display: flex;
    align-items: center;
}

.theory-content ul li::before, .practical-content ul li::before {
    content: "✔️";
    font-size: 20px;
    color: #c73e1d;
    margin-right: 10px;
}

.exam-date {
    margin-top: 20px;
    font-size: 16px;
    color: #822626;
    font-weight: bold;
}

/* Styling for the bullet point list */
ul.course-benefits {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 20px;
}

ul.course-benefits li {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-bottom: 15px;
    color: #3d3d3d;
}

/* Custom bullet icon */
.bullet-icon {
    width: 24px;
    height: 24px; /* Adjust the size of the icon */
    margin-right: 10px; /* Space between icon and text */
}

/* ################################# VIDEO CONTENT ##################################*/

.video-content {
    width: 45%;
    padding: 20px;
    background-color: #ffe3b0;
    border-radius: 10px;
    border: 2px solid #c7927a;
}

.video-content h3 {
    font-size: 22px;
    color: #c73e1d;
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

ul li {
    margin: 10px 0;
    font-size: 18px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f2d6a6;
    border-radius: 10px;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background-color: #c73e1d;
    border-radius: 10px;
}

.resume {
    text-align: center;
    margin-top: 30px;
}

button {
    background-color: #ffb347;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

button:hover {
    background-color: #f08a24;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f6e7d3;
    color: #571c20;
}

/* Header */
header {
    background-color: #c7927a;
    color: #F4EBCF;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
}

nav a {
    color: #F4EBCF;
    text-decoration: none;
    margin-right: 15px;
    font-size: 16px;
}

/* #################################### Theory Page Styles ################################## */
.theory-page {
    margin: 40px auto;
    max-width: 900px;
    padding: 20px;
}

.theory-page h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.theory-layout {
    display: flex;
    justify-content: flex-start; /* Align the content to the left */
    align-items: center;  /* Vertically align the content */
    gap: 40px; /* Space between the image and the units */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0d6cc;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
}

.progress {
    height: 100%;
    background-color: #571c20;
    border-radius: 10px;
}

.progress-text {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 14px;
    color: #571c20;
}

/* Units Section */
.units {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align units to the right */
    gap: 20px;
}

.unit {
    cursor: pointer;
}

.unit img {
    width: 300px;  /* Adjust the size as needed */
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.unit:hover img {
    transform: scale(1.05);  /* Zoom effect on hover */
}

.unit h3 {
    font-size: 20px;
    color: #571c20;
}

.unit p {
    font-size: 16px;
    color: #571c20;
    margin-top: 10px;
}

/* Dancer image */
.image-container {
    margin-right: auto; /* Push the image to the far left */
}

.image-container img {
    max-width: 450px;  /* Adjust the size of the image */
    height: auto;
    border-radius: 10px;
}


/*################################## Unit 1 - Objectives page ############################### */
.unit-page {
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
}

.unit-page h2 {
    font-size: 28px;
    color: #571c20;
    margin-bottom: 20px;
}

/* Container for objectives and side content */
.content-container {
    display: flex;
    justify-content: space-between; /* Ensures side content is to the right */
    align-items: flex-start; /* Aligns both sections at the top */
    gap: 20px; /* Adds space between the two sections */
}

/* Objectives Section */
.objectives {
    width: 65%; /* Adjust width of the objectives to leave space for side content */
    margin-left: 0;
    margin-right: auto;
}

.objectives h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #571c20;
}

.objectives ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 18px;
    color: #571c20;
    margin-bottom: 40px;
}

.progress-bar-objective
{
    margin-left: 25px;
}

/* Side content (buttons) */
.side-content {
    width: 30%; /* Takes up the remaining space on the right */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unit img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.unit img:hover {
    transform: scale(1.05); /* Zoom effect */
}

.back-link {
    text-decoration: none;
    font-size: 18px;
    color: #571c20;
    display: block;
    margin-bottom: 20px;
}

/* ################################# STORY ##################################*/

/* Main Content */
.story-page h2 {
    text-align: center;
    font-size: 32px;
    color: #4e5c3b;
    margin-bottom: 40px;
}

.story-content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left: Image */
.story-image img {
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

/* Right: Text */
.story-text {
    width: 45%;
}

.story-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #4e5c3b;
    margin-bottom: 40px;
}

/* Next Button */
.next-button {
    font-size: 18px;
    color: #b23b45;
    text-decoration: none;
    font-weight: bold;
}

/* Done Button */
.done-button {
    font-size: 18px;
    color: #b23b45;
    text-decoration: none;
    font-weight: bold;
}

/* ################################ FLASHCARDS ######################################## */
.flashcards-page {
    margin: 80px auto;
    max-width: 900px;
    padding: 40px;
}

.flashcards-page h2 {
    font-size: 24px;
    color: #571c20;
    margin-bottom: 20px;
}

.flashcards-page h3 {
    font-size: 20px;
    color: #571c20;
    margin-bottom: 15px;
}

.flashcard {
    background-color: #ffe3b0;
    padding: 40px;
    border-radius: 10px;
    border: 2px solid #c7927a;
    text-align: center;
    font-size: 24px;
    color: #571c20;
    margin-bottom: 40px;
    cursor: pointer; /* Make it clear that the flashcard is clickable */
    position: relative;
    height: 200px; /* Fixed height for flashcard */
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.flashcard .front, 
.flashcard .back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    font-size: 24px;
    color: #571c20;
    padding: 60px; /* Padding for text readability */
    box-sizing: border-box; /* Ensures padding is included in height and width */
    text-align: center; /* Ensures text is centered */
}

.flashcard .back {
    display: none; /* Hide the back by default */
}

.flashcard .front {
    font-weight: bold;
}

.flashcard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flashcard-navigation a {
    text-decoration: none;
    font-size: 18px;
    color: #571c20;
}

.flashcard-navigation .flashcard-number {
    font-size: 16px;
    color: #571c20;
}

.next-link, .previous-link {
    text-decoration: none;
    font-size: 18px;
    color: #F4EBCF;
    background-color: #c7927a;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.next-link:hover, .previous-link:hover {
    background-color: #b07664;
}


/* ######################## General Styles ###################### */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdf0e0;
    color: #3d3d3d;
}

header {
    background-color: #ffe3b0;
    padding: 20px;
    border-bottom: 2px solid #c7927a;
}

header .logo h1 {
    margin: 0;
    color: #571c20;
    font-family: 'Georgia', serif;
    font-size: 24px;
}

nav {
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

nav a {
    text-decoration: none;
    color: #571c20;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #c7927a;
}

main {
    padding: 20px;
}

.back-button {
    display: inline-block;
    color: #571c20;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 20px;
    transition: color 0.3s;
    font-weight: bold;
}

.back-button:hover {
    color: #c7927a;
}

/* ######################## TERMS OVERVIEW ####################*/

.terms-overview {
    margin: 40px auto;
    max-width: 1100px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #c7927a;
    border-radius: 10px;
}

.terms-overview h2, .terms-overview h3 {
    text-align: center;
    color: #571c20;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.term-card {
    background-color: #ffe3b0;
    border: 2px solid #c7927a;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.term-card h4 {
    font-size: 18px;
    color: #571c20;
    margin-bottom: 10px;
}

.term-card p {
    font-size: 16px;
    color: #3d3d3d;
}

.term-card:hover {
    background-color: #fdf0e0;
}

/* Memory Game Button */
.memory-game-btn {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px;
    text-align: center;
    background-color: #c7927a;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.memory-game-btn:hover {
    background-color: #b07664;
}

/* Responsive Layout */
@media (max-width: 768px) {
    nav a {
        font-size: 16px;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }
}

/* Terms Overview Section in Flashcards */
.terms-overview-section {
    text-align: center;
    margin-top: 40px;
}

/* Memory Game Section */
.memory-game-section {
    margin: 40px auto;
    max-width: 1100px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
}

.memory-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.memory-game-card {
    background-color: #c7927a;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.memory-game-card.hidden {
    background-color: #f2a65a; /* Keeps the same */
    color: transparent; /* Keep text hidden */
}

/* When the card is clicked and revealed, remove .hidden */
.memory-game-card:not(.hidden) {
    color: white; /* Make text visible */
}

.memory-game-card.matched {
    background-color: #571c20;
    cursor: default;
    pointer-events: none;
}

.memory-game-card:not(.matched):hover {
    background-color: #b07664; /* Only apply hover effect on non-matched cards */
}

.memory-game-card:hover {
    background-color: #b07664;
}

/* Back and Overview Links */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 18px;
    color: #571c20;
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: #b07664;
}

.memory-game-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #c7927a;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.memory-game-btn:hover {
    background-color: #b07664;
}

/* Completion Screen */
.completion-section {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
}

.completion-section h2 {
    color: #571c20;
    font-size: 32px;
    margin-bottom: 20px;
}

.completion-section p {
    font-size: 18px;
    color: #3d3d3d;
    margin-bottom: 30px;
}

/* Progress Bar */
.progress-container {
    margin: 30px 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    background-color: #f2a65a;
    border-radius: 25px;
    height: 30px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 50%; /* Initial progress */
    background-color: #c7927a;
    border-radius: 25px;
    transition: width 1s ease-in-out;
}

#progress-percentage {
    font-size: 18px;
    color: #571c20;
    margin-top: 10px;
}

/* Buttons */
.next-steps {
    margin-top: 40px;
}

.next-btn, .progress-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #c7927a;
    color: #F4EBCF;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    margin: 10px;
    transition: background-color 0.3s;
}

.next-btn:hover, .progress-btn:hover {
    background-color: #b07664;
}

/* Progress Bar */
.progress-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.progress-bar {
    width: 80%;
    height: 20px;
    background-color: #ffe3b0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    width: 20%; /* Initial progress */
    height: 100%;
    background-color: #c7927a;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Community Section */
.community-section {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
    background-color: #F4EBCF;
    border-radius: 10px;
    text-align: left;
}

.community-section h2 {
    color: #571c20;
    font-size: 28px;
    margin-bottom: 20px;
}

.community-buttons {
    margin: 20px 0;
}

.community-btn {
    padding: 10px 20px;
    background-color: #c7927a;
    color: #F4EBCF ;
    border: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.community-btn:hover {
    background-color: #b07664;
}

/* New Post Form */
.new-post-form {
    margin: 20px auto;
    text-align: left;
    padding: 20px;
    border: 2px solid #c7927a;
    border-radius: 10px;
    background-color: #ffe3b0;
    max-width: 600px;
}

.new-post-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #571c20;
}

.new-post-form input, .new-post-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #c7927a;
}

.submit-btn, .cancel-btn {
    padding: 10px 20px;
    background-color: #c7927a;
    color: #F4EBCF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover, .cancel-btn:hover {
    background-color: #b07664;
}

.hidden {
    background-color: #F4EBCF; /* Hide the text by matching the background */
    color: transparent; /* Hide the text */
    transition: background-color 0.3s, color 0.3s; /* Smooth reveal */
}

/* Community Posts */

.community-hidden {
    display: none; /* Specifically hide elements in the community section */
}

.community-posts {
    margin-top: 40px;
}

.post {
    border: 2px solid #c7927a;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffe3b0;
    border-radius: 10px;
}

.post h4 {
    color: #571c20;
    font-size: 20px;
    margin-bottom: 10px;
}

.post p {
    font-size: 16px;
    color: #3d3d3d;
}

.reply-btn {
    padding: 10px 15px;
    background-color: #c7927a;
    color: #F4EBCF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.reply-btn:hover {
    background-color: #b07664;
}

/* ###################################### Video Page ################################### */
.video-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

.video-section h2 {
    text-align: center;
    color: #571c20;
    font-size: 32px;
    margin-bottom: 20px;
}

/* Section Title for Each Group of Videos */
.video-container h3 {
    font-size: 24px;
    color: #b07664;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Video Grid */
.video-grid {
    display: flex;
    flex-wrap: wrap; /* Allows videos to wrap on smaller screens */
    gap: 20px; /* Space between video elements */
}

/* Video Placeholder Styling */
.video-placeholder {
    width: 300px; /* Consistent width for each video placeholder */
    height: 200px; /* Consistent height for each video placeholder */
    background-color: #ffe3b0;
    border: 2px solid #c7927a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    color: #571c20;
    overflow: hidden; /* Ensures content stays within the box */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the box and maintains aspect ratio */
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .video-grid {
        flex-direction: column; /* Stack videos vertically on small screens */
        gap: 30px; /* Increase gap between stacked videos */
    }

    .video-placeholder {
        width: 100%; /* Full width on small screens */
        height: auto; /* Adjust height based on content */
    }
}

/* Modal Styles */
.video-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
}

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    background-color: white;
    max-width: 800px;
    border-radius: 10px;
}

.modal-content video {
    width: 100%;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #c73e1d;
    cursor: pointer;
}

/* Responsive for smaller screens */
@media screen and (max-width: 768px) {
    .video-grid {
        flex-direction: column;
    }
}

/* ############################# POSNET ############################### */

/* Posenet Page */
.posenet-section {
    max-width: 880px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fdf3e2;
    border-radius: 10px;
    text-align: center;
}

.posenet-section h2 {
    font-size: 24px;
    color: #571c20;
    margin-bottom: 20px;
    margin-top: 40px;
}

.posenet-section h3 {
    font-size: 24px;
    color: #571c20;
    margin-top: 40px;
}

.posenet-section ol {
    text-align: left;
    font-size: 18px;
    color: #3d3d3d;
    padding-left: 20px;
    margin-top: 20px;
}

.status-indicators {
    margin: 20px 0;
}

.status {
    font-size: 18px;
    display: inline-block;
    margin: 0 20px;
    padding: 10px 20px;
    border-radius: 5px;
}

.wrong-posture {
    color: red;
    background-color: #fdd;
}

.correct-posture {
    color: green;
    background-color: #dfd;
}

/* Video Feed Container */
#video-feed-container {
    width: 640px;
    height: 480px;
    margin: 20px auto;
    background-color: #eae2d7;
    border: 2px solid #c7927a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Ensure the P5.js Canvas fills the container */
canvas {
    width: 100%;  /* Fill the container width */
    height: 100%;  /* Fill the container height */
    display: block;
    position: relative;
}

.start-btn {
    padding: 15px 30px;
    background-color: #c7927a;
    color: #F4EBCF;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-btn:hover {
    background-color: #b07664;
}

/* ######################################## QUIZ SECTION ########################################## */
/* General Quiz Layout */
.quiz-section {
    max-width: 1024px;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    padding: 40px;
    background-color: #f9f4e3;
    border-radius: 10px;
    border: 2px solid #F2D6A1;
}

.quiz-header {
    margin-bottom: 20px;
}

#question-text {
    font-size: 22px;
    background-color: #822927;
    color: #F4EBCF;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
}

#question-number {
    font-size: 14px;
    color: #6e6e6e;
    text-align: right;
}

.answer-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.answer-options button {
    padding: 15px 20px;
    font-size: 16px;
    background-color: #F2D6A1;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: Arial, sans-serif;
    color: #7D000F;
}

.answer-options button:hover {
    background-color: #F2D6A1;
}

.selected-answer {
    background-color: #eda638 !important; /* Selected answer */
}

.correct-answer {
    background-color: transparent !important; /* Correct answer */
}

.incorrect-answer {
    background-color: transparent !important; /* Incorrect answer */
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.quiz-button {
    background-color: #7D000F;
    color: #7D000F;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.quiz-button:hover {
    background-color: #b33c3b;
}

.quiz-hidden {
    display: none;
}
/* Quiz Results */
#quiz-results h2 {
    font-size: 28px;
    color: #822927;
    margin-bottom: 20px;
    margin-top: 40px;
}

#score-percentage {
    font-size: 24px;
    color: #5F610A;
    margin-bottom: 10px;
}

#score-details {
    font-size: 18px;
    font-weight: bold;
    color: #822927;
    margin-bottom: 20px;
}

.review-questions {
    margin-top: 30px;
    text-align: left;
}

.review-question {
    margin-bottom: 20px;
}

.review-question p {
    margin: 5px 0;
    font-size: 16px;
    color: #3d3d3d;
}

.review-question .correct-answer,
.review-question .incorrect-answer {
    font-weight: bold;
    border-radius: 5px;
    padding: 0;
    display: inline;
    background-color: transparent;
}

.review-question .correct-answer {
    color: #5F610A;
    background-color: transparent;
    
}

.review-question .incorrect-answer {
    color:  #7D000F ;
    background-color: transparent;
    border:2px
    
}

.quiz-button {
    background-color: #822927; 
    color: #F4EBCF;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
}

.quiz-button:hover {
    background-color: #b33c3b;
}
