/*******************************************************************************
 * @copyright Copyright © 2023 Dmitriy Taranov. All rights reserved.
 *
 * @file style.css
 * @author Dmitriy Taranov <mail@xdemon.ru>
 ******************************************************************************/

:root {
    --font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --body-font-family: var(--font-family-sans-serif);
    --body-font-size: 1rem;
    --body-font-weight: 400;
    --body-line-height: 1.5;
    --body-text-color: #666;
    --body-bg-color: #e9ecef;
    --link-color: #0d6efd;
    --logo-text-color: #495057;
    --content-bg-color: #fff;
    --footer-border-color: #dee2e6;
}

@media (prefers-color-scheme: dark) {
    :root {
        --body-text-color: #fff;
        --body-bg-color: #454d55;
        --link-color: #6599fd;
        --logo-text-color: #fff;
        --content-bg-color: #343a40;
        --footer-border-color: #4b545c;
    }
}

html {
    height: 100%;
}

body {
    background-color: var(--body-bg-color);
    margin: 0;
    font-family: var(--body-font-family);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--body-text-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-between;
}

.container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-box a {
    font-size: 2.1rem;
    font-weight: 300;
    margin-bottom: 0.9rem;
    text-align: center;
    color: var(--logo-text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-box a strong {
    font-weight: 400;
}

.logo {
    width: 2.5rem;
    margin-right: 1rem;
}

.card {
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-top: 3px solid var(--link-color);
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--content-bg-color);
    background-clip: border-box;
    border-radius: 0.25rem;
    margin: 0.5rem 1rem;
}

.card-body {
    background-color: var(--content-bg-color);
    border-top: 0;
    color: var(--body-text-color);
    padding: 20px;
    text-align: center;
}

.fa-icon {
    max-width: 14px;
    margin-bottom: -3px;
    fill: var(--body-text-color);
}

footer {
    background-color: var(--content-bg-color);
    border-top: 1px solid var(--footer-border-color);
    color: var(--body-text-color);
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
}

a {
    color: var(--link-color);
    text-decoration: underline;
}
