* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    text-align: center;
    
}
/* Style for the header */
.header {
    display: flex;
    justify-content: space-between; /* Space between the logo and the navigation menu */
    align-items: center;
    height: 70px;
    width: 100%;
    padding: 0 40px; /* Add some padding to the sides */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    background-color: white; /* Ensure the header has a background color */
    z-index: 1000; 
}

/* Style for the logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 100px;  
    height: auto;
    max-height: 50px; 
}

/* Style for the navigation menu */
.header ul {
    list-style: none;
    display: flex;
    gap: 20px; 
    margin: 0;
    padding: 0;
}

.header ul li {
    display: inline;
}

.header ul li a {
    text-decoration: none;
    color: #43008B;
    font-family: 'Quicksand';
    font-size: 14px;
    font-weight: bold;
}

h2{
    font-size: 23px;
    color: #2E3192;
    margin-top: 5px;
}

h3{
    color: #2E3192;
}

/* Floating Back and Done buttons */
.back-button, .done-button {
    position: fixed;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.back-button {
    top: 100px;
    left: 20px;
    background-color: #00AEEF;
}

.done-button {
    top: 100px;
    right: 20px;
    background-color: #00AEEF;
    
}



/* Quiz Container */
.quiz-container {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 50%;
    max-width: 90%;
    margin-top: 60px;
}

/* Quiz Name and Icon */
.quiz-header {
    margin-top: 5px;
    
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

.quiz-header input {
    /* font-size: 18px; */
    padding: 10px;
    width: 20vw;
    border-radius: 10px;
    border: 2px solid #2e3192;
}

/* Quiz Description */
.quiz-description {
    margin-top: 5px;
    padding: 10px;
    width: 25vw;
    border-radius: 10px;
    border: 2px solid #2e3192;
    
}

.answers-header-container {
    display: flex;
    align-items: flex-end;
    
    margin-top: 10px;
}

.checkmark {
    font-size: 18px;
    color: #2E3192;
    font-weight: bold;
}


.correct-answer-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid #2e3192;
    cursor: pointer;
    appearance: none;
    display: inline-block;
    position: relative;
}

.correct-answer-checkbox:checked {
    background-color: #2e3192;
}

.remove-answer{
    background: none;
    border: none;
    cursor: pointer;
}

/* Timer */
.quiz-timer {
    margin-top: 5px;
    padding: 10px;
    border-radius: 10px;
    width: 20%;
    border: 2px solid #2e3192;
    text-align: center;
}

/* Separator Line */
.separator {
    width: 100%;
    height: 2px;
    background-color: #43008B;
    margin: 20px 0;
}

/* Question Block */
.question-block {
  
    /* padding: 15px; */
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
}

/* Trashcan Button */

.remove-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A1A1A1; /* Default color */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.remove-question svg {
    fill: currentColor; /* Use the current text color for the SVG */
}

.remove-question:hover {
    color: red; /* Change color to red on hover */
}

.answers-header{
    display: flex;
    margin-left: 30px;
    margin-top: 15px;

}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.question-number {
    font-size: 1.2rem;
    font-weight: bold;
}


/* Answers */
.answers-container {
    margin-top: 10px;
}

.answer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.answer-input{
    padding: 10px;
    width: 15vw;
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    border: 2px solid #2e3192;
}

.question{
    padding: 10px;
    width: 25vw;
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    border: 2px solid #2e3192;
}

/* Add Answer and Add Question buttons */
.add-question {
    width: 100%;
    padding: 10px;
    margin-top: 30px;
    margin: 10px;
    font-size: 16px;
    background-color: #00AEEF;
    color: #fff;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.done-button1 {
    width: 100%;
    padding: 10px;
    margin: 10px;
    font-size: 16px;
    background-color: #00AEEF;
    color: #fff;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    
}
.add-answer{
    width: 30%;
    display: flex;
    justify-content: center;
    padding: 10px;
    font-size: 12px;
    background-color: #2e3192;
    color: #fff;
    align-items: center;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.add-answer:hover {
    background-color: #2025c3;
}

.add-question:hover{
    background-color: orangered;
}

.done-button1:hover{
    background-color: orangered;
}

.bottom-buttons{
    display: flex;
    flex-direction: row;
    align-self: center;
    gap: 10px;
    width: 100%;
}