@import url("../vendor/bootstrap/css/bootstrap.min.css");

:root {
    color-scheme: light dark;
    --page-bg: rgb(29, 30, 32);
    --page-fg: #d0d0d0;
    --page-fg-muted: rgba(208, 208, 208, 0.5);
    --dragon-image: url("../img/dragon-white.png");
}

@media (prefers-color-scheme: light) {
    :root {
        --page-bg: #f2f3f5;
        --page-fg: #2a2b2d;
        --page-fg-muted: rgba(42, 43, 45, 0.55);
        --dragon-image: url("../img/dragon-dark.png");
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen, Ubuntu, Cantarell, open sans, helvetica neue, sans-serif;
    overflow: hidden;
    margin: 0px;
    background-image: var(--dragon-image);
    background-size: 800px 800px;
    background-position: 85% 10%;
    background-repeat: no-repeat;
}

@media (max-width: 576px) {
    body {
        background-position: 50% 10%;
    }
}


.text-bg-dark {
    color: var(--page-fg) !important;
}

.text-white {
    color: var(--page-fg) !important;
}

.text-white-50 {
    color: var(--page-fg-muted) !important;
}

h1 {
    font-size: 1.75rem;
    font-weight: 350;
}

.lead {
    font-size: 1.10rem;
    font-weight: 300;
    line-height: 1.30;
}

.footer-line {
    font-size: 12px;
    margin-bottom: 0rem;
}

.text-bg-dark {
    background-color: var(--page-bg) !important;
}


/* circle animation */
.circle-loader {
    border: 2.5px solid rgba(0, 0, 0, 0.2);
    border-left-color: #5cb85c;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    width: 7em;
    height: 7em;
    margin-bottom: 64px;
}

.circle-loading {
    animation: loader-spin 1.8s infinite linear;
}

.circle-loading-fast {
    animation: loader-spin 1s infinite linear;
}

.load-complete {
    -webkit-animation: none;
    animation: none;
    border-color: #5cb85c;
    transition: border 500ms ease-out;
}

.load-error {
    -webkit-animation: none;
    animation: none;
    border-color: #dc0000;
    transition: border 500ms ease-out;
}

.checkmark {
    display: none;
}

.checkmark.draw:after {
    animation-duration: 800ms;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
}

.checkmark:after {
    opacity: 1;
    height: 3.5em;
    width: 1.75em;
    transform-origin: left top;
    border-right: 3px solid #5cb85c;
    border-top: 3px solid #5cb85c;
    content: "";
    left: 1.75em;
    top: 3.5em;
    position: absolute;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 1.75em;
        opacity: 1;
    }

    40% {
        height: 3.5em;
        width: 1.75em;
        opacity: 1;
    }

    100% {
        height: 3.5em;
        width: 1.75em;
        opacity: 1;
    }
}

.error-detail {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
    font-family: monospace;
}