/* Disable user selection to avoid strange bug in Chrome on Windows:
* Selecting a text outside the canvas, then clicking+draging would
* drag the selected text but block mouse down/up events to the engine.
*/
html {
    width: 100%;
    height: 100%;
    background-size: auto 100%, auto 100%;
    background-position: top left, top right;
    background-repeat: repeat-x, repeat-x;
    background-color: rgb(66, 64, 85);
    padding: 0;
    margin: 0;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    min-height: 100%;
    min-width: 100%;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

canvas {
    vertical-align: middle;
}

* {
    margin: 0;
    padding: 0;
}

#canvas {
    outline: none;
    border: 0;
    width: 100%;
}

div {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    position: fixed;
    /* Prevent overscroll */
    background-color: rgb(66, 64, 85);
}

.logger {
    background-color: rgba(82, 79, 79, 1);
    width: 200px;
    font-size: xx-small;
    color: white;
    position: absolute;
    z-index: 999;
}

.background-part {
    height: 100%;
    width: 100%;
    background-image: url("../images/bg_1.png");
    pointer-events: none;
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat-x;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: -1;
}

.splash_container {
    position: absolute;
    z-index: 10;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;
    background: #444156;
    background-image: url("../images/back_packs.png");
    background-repeat: repeat-x, no-repeat;
    background-attachment: fixed;
    background-size: auto 100%;
    background-position: center;

    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
}

.splash_view {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header {
    position: relative;
    width: 100%;
    height: 11%;
    top: 24.472%;
}

.splash_header {
    background-position: center 25px;
    background-size: 534px 118px;
    background-repeat: no-repeat;
    width: 550px;
    height: 180px;
}

.container_header {
    margin-top: 5px;
    width: 550px;
    height: 180px;
}

.splash_images {
    width: 100%;
    height: 63.492%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.background_color {
    background-color: #32323e;
}

.logo {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 3.59%;
}

.logo_omg {
    width: 85%;
}

.progress {
    position: relative;
    width: 90.625%;
    height: 16.637%;
    top: 38%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.bar {
    width: 100%;
    height: 26.455%;
}

.bar_back {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 4px solid #37354C;
    box-shadow: 0px 4px 0px 0px #37354C;
    background-color: #9F9FD0;
    position: relative;
    top: -4px;
    left: -4px;
}

.bar_back_shadow {
    position: relative;
    width: 100%;
    height: 50%;
    top: 50%;
    background: #0000001A;
    border-radius: 0 0 50px 50px;
}

.bar_fill {
    position: relative;
    width: 100%;
    height: 100%;
    top: -50%;
    border-radius: 50px;
}

.bar_front_fill {
    width: 75%;
    height: 100%;
    border-radius: 50px;
    background: #FFE866;
}

.bar_front_shadow {
    position: relative;
    width: 75%;
    height: 51%;
    top: -50%;
    background: #FFD100;
    border-radius: 0 0 50px 50px;
}

.bar_front_text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    line-height: 100%;

    font-family: system-ui, sans-serif;
    font-size: 4vh;
    font-weight: 500;
    text-align: center;
    color: #37354C;
}