
/* Regular font */
@font-face {
    font-family: 'Atom-Regular';
    src: url('Atom-Regular.ttf') format('truetype');
    font-weight: 400; /* Normal weight */
    font-style: normal; /* Regular style */
}

/* Bold font */
@font-face {
    font-family: 'Atom-Bold';
    src: url('Atom-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold weight */
    font-style: normal; /* Regular style */
}

body {
    background-color: #0f1c23;
    font-family: 'Atom', sans-serif;
    text-align: center;
    padding: 0;
    border: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    /* Убираем отступы */
    padding: 0;
    margin: 0;
    /* Отключаем скролл и лонгтап на IOS */
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    /* Ставим высоту на 100% */
    height: 100%;
}

#unity-container {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

#unity-canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* Сохраняет пропорции */
}

canvas {
    width: 100%;
    height: 100%;
    outline: none;
}

#loading-cover {
    position: fixed;
    height: 100%
}

.column {
    display: flex;
    flex-direction: column;
}

.page {
    width: 100%;
    height: 100%;
    position: relative;
    justify-items: center;
}

.page * {
    position: inherit;
    text-align: center;
    color: white;
}

.hidden {
    visibility: hidden;
    height: 0;
}

.title {
    font-family: 'Atom-Bold', sans-serif;
}

.description {
    font-family: 'Atom-Regular', sans-serif;
}

.navigation {
    position: absolute;
    display: inline-block;
}

    .navigation * {
        position: relative;
    }

.button {
    color: black;
    background-color: white;
    border-radius: 45px;
    border-width: 0px;
    font-family: 'Inter-Medium', sans-serif;
}

    .button:hover {
        cursor: pointer;
    }

    .button:active {
        opacity: 70%;
    }

.button--blue {
    background-color: #00E7FF;
}

.progress-bar {
    align-content: center;
    align-self: center;
}

.progress-bar__background {
    top: 0;
    left: 0;
    position: absolute;
    text-align: left;
    width: inherit;
    height: inherit;
}

.progress-bar__fillin {
    top: 0;
    left: 0;
    width: 0;
    height: 60%;
    padding: 5px 5px 0 5px;
    position: absolute;
}

.awaiter__spinner {
    animation-name: rotation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-animation-name: rotation;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotation;
    -moz-animation-duration: 5s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -o-animation-name: rotation;
    -o-animation-duration: 5s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
    animation-name: rotation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

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

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(720deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
