*:focus,
*:focus-visible,
*:focus-within {
    outline: none;
}
*, *::before, *::after {
    box-sizing: inherit;
}

body {
    max-width: 90ch;
    margin: 0 auto;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    color: #1f1f1f;
    background-color: #f0f0f0;
    padding: 24px;
    font-size: 1rem;
    user-select: text;
    line-height: 1.25;
}

button, input, select, textarea, label, svg {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    background: inherit;
}

input {
    display: block;
    padding: 12px;
    border: 2px solid;
    border-radius: 8px;
    font-size: 0.875rem;
}

input:focus {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15);
}

label {
    font-weight: bold;
    display: block;
    font-size: 0.875rem;
}

p {
    margin: 0;
}

button {
    display: block;
    user-select: none;
    background-color: #0075ff;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    touch-action: manipulation;
}

a {
    display: block;
    color: inherit;
    text-underline-offset: 2px;
    /*text-decoration: none;*/
    background-color: transparent;
}

img {
    display: block;
}

button:active {
    color: #000000;
    background-color: rgb(214, 218, 219);
}

button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
}

footer {
    padding-top: 20px;
}

@media (hover: hover) and (pointer: fine) {
    button:hover:not(:disabled) {
        box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15);
    }
}

#loading_screen {
    position: fixed;
    inset: 0;
    background-color:#f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: sans-serif;
}

.dot_loader span {
    display: inline-block;
    animation: blink 1.4s infinite both;
}

.dot_loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.dot_loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}