/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    align-items: center; /* Horizontally centers the content */
    min-height: 100vh;
    color: #333;
}

/* Header and Footer styling */
header, footer {
    background-color: #4a90e2;
    color: white;
    text-align: center;
    padding: 5px 0;
    width: 100%;
    height: 50px;
    position: fixed;
    left: 0;
}

header {
    top: 0;
}

footer {
    bottom: 0;
}

/* Main container */
.container {
    flex: 1;
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    margin: 70px auto; /* This centers the container horizontally */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: blue;
    font-size: 40px;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.question {
    margin: 20px 0;
}

.question h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.options {
    list-style-type: none;
    padding: 0;
}

.options li {
    background-color: #f9f9f9;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.options li:hover {
    background-color: #e0e7ff;
}

.options input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

/* Feedback styling */
.feedback {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
    color: #4caf50; /* Green color for correct */
    display: none; /* Hidden by default */
}

/* Back button styling */
.back {
    position: fixed;
    width: 50px;
    margin: -4.5% 0 0 -3%;
    /* margin: -11% 0% 0 0%; */
}

.home {
    position: fixed;
    width: 45px;
    margin: -4.5% 0 0 40%;
    /* margin: -11% 0% 0 37%; */
}

/* Responsive Design */
@media only screen and  (max-width: 1440px){
    .home {
        margin: -10% 0% 0 75%;
    }
    .back{
        margin: -10% 0% 0 0%;
    }
     h1{
        font-size: 20px;
     }
}

