/* 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;
    margin: 0;
    min-height: 100%;
    min-width: 100%;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

canvas {
    vertical-align: middle;
}

.canvas-app-container {
    /* A positioned parent for loading visuals */
    width: 100%;
    height: 100%;
    position: absolute;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #444156;
    box-shadow: 0px 0px 15px 3px black;
}

.canvas-app-progress {
    position: absolute;
    background-color: #e9516b;
    height: 6px;
    margin-top: -6px;
    width: 100%;
    visibility: hidden;
}

.canvas-app-progress-bar {
    font-size: 12px;
    height: 6px;
    color: rgb(255, 255, 255);
    background-color: #1a72eb;
    text-align: center;
    line-height: 20px;
    visibility: hidden;
}

* {
    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("bg_1.png");
    pointer-events: none;
    background-size: auto 100%;
    background-position: top left;
    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("splash/back_packs.svg");
    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%;
}

.title {
    height: 59.17%;
}

.title_font {
    font-family: "Inter-Bold";
    text-align: center;
    color: #FFFFFF;
}

.subtitle {
    height: 35%;
    border-radius: 50px;
    margin-left: 25.9375%;
    margin-right: 25.9375%;
    background-color: #37354C;
}

.subtitle_font {
    font-family: "Inter-Bold";
    font-size: 26px;
    letter-spacing: 0.4em;
    line-height: 42px;
    text-align: center;
    color: #8F8FBC;
}

.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;
}

.bottom_ad_container {
    position: fixed;
    bottom: -300px;
    width: 100%;
    height: 140px;
    margin: 0px;
    padding: 0px;
    display: none;
    transform-origin: center bottom;
    transition: bottom 0.5s ease-out;
    -webkit-transition: bottom 0.5s ease-out;
    -moz-transition: bottom 0.5s ease-out;
    -ms-transition: bottom 0.5s ease-out;
    -o-transition: bottom 0.5s ease-out;
    align-items: flex-end;
    justify-content: center;
}

.background_color {
    background-color: #32323e;
}

.logo {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 4.59%;
}

.logo_omg {
    width: 46.875%;
}

.progress {
    position: relative;
    width: 90.625%;
    height: 16.637%;
    top: 28.96478873%;
    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: relative;
    width: 100%;
    height: 100%;
    top: -150%;

    font-family: 'Inter-Bold';
    text-align: center;
    color: #37354C;
}