* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f2027, #202043, #362c64);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

h1 {
    text-transform: uppercase;
    color: white;
}

.logo  img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.quiz-container {
    width: 400px;
    min-height: 534px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress {
    height: 100%;
    background: #4caf50;
    width: 0%;
    transition: width 0.3s ease;
}
.question {
    font-size: 22px;
    margin-bottom: 25px;
    text-align: center;
}
.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.options label {
    background: #f1f1f1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}
.options label:hover {
    background: #e0e0e0;
}

.options img {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

input[type="radio"]:checked {
    background-color: #007bff;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
button {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #007bff;
    color: white;
    transition: background 0.2s;
}
button:hover:not(:disabled) {
    background: #0056b3;
}
button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.buttons-end{
    display: none;
    justify-content: space-between;
    margin-top: 30px;
}
.summary {
    font-size: 18px;
    overflow-y: auto;
}
.summary-item {
    margin-bottom: 15px;
}

@media (max-width: 400px){

    body {
        height: 800px;
    }

    h1 {
        margin-bottom: 25px;
    }
    .quiz-container {
        width: 300px;
        min-height: 400px;
        background: white;
        border-radius: 16px;
        padding: 30px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 20px;
    }


    .options label{
        font-size: 1em;
    }
}