body {
    font-family: 'Roboto', sans-serif;
    background-image: url("background.jpg");
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover; 
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    opacity: 0.95;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

#progress {
    width: 0;
    height: 100%;
    background-color: #007bff;
    border-radius: 5px;
    transition: width 0.3s;
}

.question {
    margin-bottom: 20px;
    display: none;
}

.question h2 {
    margin-bottom: 10px;
    color: #555;
}

label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

label:hover {
    background-color: #f0f0f0;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: 100%;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0056b3;
}

.result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }

    h1 {
        font-size: 20px;
    }
}
