@font-face {
    font-family: 'text-font';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/FiraSansCondensed-Regular.woff2?stamp=d158789b') format('woff2');
}

@font-face {
    font-family: 'title-font';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/FiraSansCondensed-Medium.woff2?stamp=d158789b') format('woff2');
}

:root {
    --safe-area-top: env(safe-area-inset-top);
    --safe-area-bottom: env(safe-area-inset-bottom);
    --safe-area-left: env(safe-area-inset-left);
    --safe-area-right: env(safe-area-inset-right);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000000;
    overflow: hidden;
}

.preloader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
}

.preloader-image {
    object-fit: contain;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 1000ms ease;
}

.game-wrapper {
    position: absolute;
    top: 0px;
}

/*SPINNER*/
.loader {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/*PROGRESS BAR*/
.progress-bar-wrapper {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 25%;
    padding-top: 10%;
    visibility: hidden;
}

.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    padding: 1px;
    border-radius: 1px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-fill {
    display: block;
    height: 1vh;
    background-color: #00baff;
    border-radius: 1px;
    width: 0%;

    transition: width 500ms ease-in-out;
}