
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #004080;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
}

.filter-section {
    background-color: white;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}

.filter label {
    font-weight: bold;
}

.filter select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.filter button {
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter button:hover {
    background-color: #003366;
}

.questions-section {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.questions-section h2 {
    color: #004080;
    margin-bottom: 20px;
}

.question {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.question p {
    font-weight: bold;
    margin-bottom: 10px;
}

.question label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
}

#submit-test {
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

#submit-test:hover {
    background-color: #003366;
}

#result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: green;
}

footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}
