* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --container-width: 1120px;
    --border-color: #ccc;
    --font-size: 18px;
    --body-bg: #fff;
    --body-text-color: #000;
    --bg-light: #f8f8f8;
    --bg-primary: #4a148c;
    --bg-secondary: #7b1fa2;
    --text-white: #fff;
    --text-success: #080;
    --text-danger: #d00;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html {
    font-size: var(--font-size);
}

body {
    font: 1rem/1.5 var(--font-family);
    background-color: var(--body-bg);
    color: var(--body-text-color);
}

.min-h-100 {
    min-height: 100vh;
    height: 100%;
}

.d-none {
    display: none;
}
.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.p-3 {
    padding: 0.85rem;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-width);
    min-width: 100%;
}

@media screen and (min-width: 768px) {
    .container {
        min-width: var(--container-width);
    }
}

.mt-3 {
    margin-top: 0.55rem;
}

.mb-3 {
    margin-bottom: 0.55rem;
}

.mt-5 {
    margin-top: 1.5rem;
}

.mb-5 {
    margin-bottom: 1.5rem;
}

.me-3 {
    margin-right: 0.55rem;
}

.border {
    border: 1px solid var(--border-color);
}

.btn {
    cursor: pointer;
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    border: none;
    font-family: inherit;
    font-size: inherit;
    border-radius: 0.15rem;
}

.btn-primary {
    background-color: var(--bg-primary);
    color: var(--text-white);
}

.text-danger {
    color: var(--text-danger);
}

.text-success {
    color: var(--text-success);
}

.form-group {
    width: 100%;
}

.form-control {
    display: block;
    font-family: inherit;
    font-size: inherit;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--body-bg);
    color: inherit;
    transition: border-color 400ms ease;
    width: 100%;
}

.form-control:focus {
    outline-style: none;
    border-color: var(--bg-primary);
}

.card {
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-weight: 600;
}

.card-text {
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    vertical-align: text-top;
    font-size: 1rem;
    padding: 0 0.4rem;
    font-weight: bold;
    min-width: 2em;
    text-align: center;
}

.text-bg-secondary {
    color: var(--text-white);
    background-color: var(--bg-secondary);
}

#quiz-answer {
    width: auto;
    min-width: 50%;
}

#quiz-status {
    margin-bottom: 0.35rem;
    font-weight: 700;
}