body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/montana.jpg') no-repeat center center/cover;
    filter: blur(8px);
    z-index: -1;
}

.exam-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/banner.png') no-repeat center center/cover;
    z-index: -1;
}

.question-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/shapebg.jpg') no-repeat center center/cover;
    filter: blur(8px);
    z-index: -1;
}

.container {
    background-color: rgba(13, 132, 243, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 40%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    margin: 20px auto;
    min-height: auto;
    overflow-y: auto;
}

footer {
    height: 200px;
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, button {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #9fe994;
    border-radius: 4px;
    font-size: 16px;
}

button {
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.question {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
}

.question p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.question label {
    display: block;
    margin-bottom: 5px;
}

a.button {
    display: inline-block;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 10px;
}

a.button:hover {
    background-color: #0056b3;
}

.question-image {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
}

.file-upload {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    background-color: #ffbf00;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.file-label i {
    font-size: 20px;
    color: #fff;
}

.file-label:hover {
    background-color: #e6ac00;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.file-label:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.question label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

.question input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border: 3px solid #1a3c5e;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    outline: none;
    transition: all 0.3s ease;
}

input[type="radio"]:checked {
    .question {
    background-color: #39ff14;
    border-color: #39ff14;
    box-shadow: 0 0 15px #39ff14, 0 0 25px #39ff14;
    }
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #ffea00;
    border-radius: 50%;
}

input[type="radio"]:hover {
    border-color: #39ff14;
}

input[type="radio"]:checked + span {
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14;
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 800px;
        margin: 40px auto;
    }
    body {
        align-items: flex-start;
        padding-top: 20px;
    }
}