
@font-face {
    font-family: 'BodoniBkBT';
    src:url('../fonts/BOD_B.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #B7D95C;
    --color-text: #FFFFFF;
    --color-bg: #02130D;
    --radius: 24px;
    --font-display: 'BodoniBkBT', serif;
}

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

html,
body {
    width: 100%;
    height: 100%;
}


body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            135deg,
            rgba(0,0,0,.55),
            rgba(0,0,0,.35)
        ),
        linear-gradient(
            180deg,
            rgba(2,18,13,.65),
            rgba(2,10,8,.90)
        ),
        url('../img/bgFolhas_1080p.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

/* LOADER GERAL */

.app-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1614;
    z-index: 99999;
    transition:
        opacity .4s ease,
        visibility .4s ease;
}

.app-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-progress {
    width: 220px;
    height: 3px;
    border-radius: 999px;
    overflow: hidden;
    background:
        rgba(
            255,
            255,
            255,
            .08
        );
}

.loader-progress-bar {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background:
        #c4d66b;
    transition:
        width .35s ease;
}

@keyframes loaderFloat {
    0%,
    100% {
        transform:
            translateY(0);
    }
    50% {
        transform:
            translateY(-6px);
    }
}

/*
|--------------------------------------------------------------------------
| OFFLINE BANNER
|--------------------------------------------------------------------------
*/

.offline-banner {

    position: fixed;

    top: 24px;
    left: 50%;

    transform:
        translateX(-50%)
        translateY(-16px);

    display: flex;
    align-items: center;
    gap: 10px;

    padding:
        12px 22px;

    border-radius:
        999px;

    background:
        rgba(
            22,
            28,
            24,
            .95
        );

    backdrop-filter:
        blur(12px);

    color:
        #ffffff;

    font-size:
        14px;

    font-weight:
        600;

    letter-spacing:
        .02em;

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            .25
        );

    opacity: 0;

    pointer-events: none;

    transition:
        all .35s ease;

    z-index: 999999;
}

.offline-banner.visible {

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}

.offline-dot {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background:
        #b7d95c;

    box-shadow:
        0 0 12px
        rgba(
            183,
            217,
            92,
            .8
        );
}

@media (max-width:768px)
{
    .offline-banner {

        max-width: 90vw;

        text-align: center;

        font-size: 13px;

        padding:
            10px 16px;
    }
}