*,
*::before,
*::after {
    box-sizing: border-box;
}

.quiz {
    width: 100%;
    max-width: 100%;
    margin: 20px auto 0 auto;
    padding: 10px 10px 100px 10px;
    font-size: 18px;
    line-height: 27px;
}

.answer {
    height: 30px;
    font-size: 18px;
}

.quiz-footer .answer {
    margin: 0 5px 0 0;
}

button {
    height: 30px;
    font-size: 18px;
}

.quiz-footer {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    background-color: rgb(216, 232, 236);
    text-align: center;
    padding: 10px;
}

@media (min-width: 768px) {
    .quiz {
        width: 500px;
        max-width: 500px;
    }

    .quiz-footer {
        width: 500px;
        max-width: 500px;
    }
}

.solved-quiz {
    margin-top: 5px;
    width: 100%
}

.solved-quiz th {
    text-align: left;
}

.solved-quiz th, td {
    border-top: 1px solid rgb(216, 232, 236);
}

.solved-quiz-title {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid rgb(216, 232, 236);
    border-top: 4px solid rgba(216, 232, 236, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.link-button {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    padding-inline-end: 4px;
    padding-inline-start: 4px;
}

.logo {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: rgb(216, 232, 236);
    text-align: center;
    padding: 10px;
}

@media (min-width: 768px) {
    .logo {
        width: 500px;
        max-width: 500px;
    }
}
