html, body {
    min-height: 100%;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: none;
}


.splash {
    /* background-image: url('/splash_desk.svg'); */
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    height: 100%;
    width: 100%;
}

.static-splash {
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    z-index: 100200;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    /* remove for prod */
    /* display: none;  */
}

.light .static-splash {
    background-color: #eaeaea;
    color: rgb(28, 36, 47);
}

.dark .static-splash {
    color: #ddd;

    --base: #1c242f;
    --base-1: #202a37;
    --base-2: #181f28;
    --base-3: #111821;

    background: linear-gradient(to bottom, var(--base-1), var(--base-2) 40%, var(--base-3) 100%);
}

.dark .static-splash::before {
    content: '';
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at 30% 30%,
    rgba(64, 115, 255, .12) 0%,
    rgba(64, 115, 255, .06) 30%,
    rgba(64, 115, 255, 0) 60%);
    mix-blend-mode: screen;
}

.static-splash.hide {
    transition: opacity 1s ease-in-out;
    opacity: 0;
}

.static-splash__logo {
    width: 150px;
    height: 60px;
}

.light .dotLoader {
    --c: rgb(28, 36, 47) 92%, #0000;
}

.dark .dotLoader, .dotLoaderWhite {
    --c: #fff 92%, #0000;
}

.static-splash__loader {
    margin-top: 30px;
}


.history-page__footer .dotLoader {
    margin: auto;
}

.dotLoader {
    width: 90px;
    height: 14px;
    background: radial-gradient(circle closest-side, var(--c)) calc(100% / -4) 0,
    radial-gradient(circle closest-side, var(--c)) calc(100% / 4) 0;
    background-size: calc(100% / 2) 100%;
    animation: l14 1.5s infinite;
}

@keyframes l14 {
    0% {
        background-position: calc(100% / -4) 0, calc(100% / 4) 0
    }
    50% {
        background-position: calc(100% / -4) -14px, calc(100% / 4) 14px
    }
    100% {
        background-position: calc(100% / 4) -14px, calc(3 * 100% / 4) 14px
    }
}

@keyframes l15 {
    90%, 100% {
        background-position: -30px 30px, -20px 40px, -10px 50px
    }
}

.static-splash__title {
    font-size: 22px;
    font-family: "Gotham_Pro_Medium";
    margin-top: 30px;
    text-align: center;
    width: 485px;
    line-height: 40px;
}

@media (max-width: 480px) {
    .static-splash__title {
        width: 85%;
    }
}

.static-splash__description {
    font-size: 15px;
    text-align: center;
    font-family: "Gotham_Pro_Regular";
    margin-top: 35px;
    width: 262px;
    line-height: 20px;
}

.static-splash__description-by {
    font-size: 15px;
    text-align: center;
    font-family: "Gotham_Pro_Regular";
    width: 262px;
    line-height: 20px;
}


.static-splash__try-again {
    visibility: hidden;
}

.static-splash__try-again button {

    border-radius: 6px;
    border: 1px solid transparent;
    min-width: 120px;

    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    font-size: 14px;
    padding: 14px;
    padding-left: 28px;
    padding-right: 28px;
    font-family: Gotham_Pro_Medium;

    text-transform: uppercase;
    position: relative;
    z-index: 1000;

    transition: all .5s ease;
    margin-top: 35px;
    cursor: pointer;
}


.dark .static-splash button {
    background-color: #283646;
    color: #0796EA;
}

.dark .static-splash button:hover {
    background-color: #bfc2c9;
}

.dark .static-splash button:active {
    background-color: transparent;
    border-color: #dddddd;
    color: #dddddd;
}

.light .static-splash button {
    background-color: #d6d6d6;
    color: #0075ba;
}

.light .static-splash button:hover {
}

.light .static-splash button:active {
    background: transparent;
    border-color: #404040;
    color: #404040;
}

@media screen and (max-width: 480px) {
    html.scrolling, body.scrolling {
        /*[Vadim] testing, disabled since it makes flickering */
        /*position: fixed;*/
        /*width: 100%;*/
    }

    html.focused, body.focused {
        -webkit-overflow-scrolling: auto;
        /*todo: [vadim] research why*/
        overflow: auto !important;
    }
}

@media screen and (max-width: 1024px) {
    .splash {
        /* background-image: url('./splash_mob.svg'); */

    }
}

#sumsub-websdk-container {
    width: 100%;
}


.landingLoader {
    margin: 0 auto;
}

.landingLoader > div {
    width: 9px;
    height: 9px;
    background-color: #fff;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.6s infinite ease-in-out both;
    animation: sk-bouncedelay 1.6s infinite ease-in-out both;
    margin-right: 5px;

    &:last-child {
        margin: 0;
    }
}

.landingLoader.isBlack > div {
    background-color: #000;
}

.landingLoader .bounce-one {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.landingLoader .bounce-two {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}