body {
    background: linear-gradient(135deg, #c2e9fb, #a1c4fd);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}

.container {
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#quiz {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-bottom: 20px;
    color: #084e8b;
}

h2 {
    background-color: #f7f7f7;
    box-shadow: inset 0 -2px 0 #ccc;
    width: 100%;
    padding: 15px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    color: #333;
    font-size: 1.3rem;
}

.questionContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.question {
    background-color: #f0f4f8;
    padding: 12px 18px;
    border-radius: 12px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.question:hover {
    background-color: #e0ebf7;
}

.question input[type="radio"] {
    margin-right: 10px;
}

button {
    background: linear-gradient(135deg, #55a5d9, #084e8b);
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: fit-content;
    font-size: 16px;
    transition: background-position 0.4s ease-in-out, transform 0.2s ease;
    background-size: 200%;
    /*margin: 20px 0 20px 0;*/
}

button:hover {
    background-position: right center;
    transform: translateY(-2px);
}

.buttons {
    display: flex;
    justify-content: center;
}

#restart, #submit {
    display: none;
}