html, body {
    height: 100%;
    margin: 0;
    min-width: 375px;
    -webkit-text-size-adjust: none;
}

body {
    margin: 0;
    color: #BCB4C0;
    font: 600 15px/25px "Quicksand", sans-serif;
    background: #211E23;
    background-size: cover;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    border-style: none;
    max-width: 100%;
}

a {
    color: #9c70af;
    outline: none;
    webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

a:hover {
    text-decoration: none;
}

* {
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input, textarea, select {
    font: 100% "Arial", sans-serif;
    vertical-align: middle;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

input:not([type="radio"], [type="checkbox"]), textarea, select {
    font: 100% Arial, Helvetica, sans-serif;
    vertical-align: middle;
    -webkit-appearance: none;
}

form, fieldset {
    margin: 0;
    padding: 0;
    border-style: none;
    min-width: 0;
}

fieldset {
    /*max-width: 100%;*/
    /*display: table-cell;*/
}

header,
nav,
section,
article,
aside,
footer,
figure,
menu,
dialog {
    display: block;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

dl {
    margin: 0 0 10px;
}

nav ul, nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
    list-style: none outside;
}

p {
    margin: 0 0 15px;
}

h1 {
    font-size: 40px;
    line-height: 42px;
    margin: 0 0 20px;
}

h2 {
    font-size: 30px;
    line-height: 32px;
    margin: 0 0 18px;
}

h3 {
    font-size: 24px;
    line-height: 26px;
    margin: 0 0 16px;
}

h4 {
    font-size: 22px;
    line-height: 24px;
    margin: 0 0 14px;
}

h5 {
    font-size: 20px;
    line-height: 22px;
    margin: 0 0 12px;
}

h6 {
    font-size: 18px;
    line-height: 20px;
    margin: 0 0 10px;
}

a {
    text-decoration: none;
    outline: none;
}

button,
input[type="submit"],
input[type="file"]::-webkit-file-upload-button {
    cursor: pointer;
}

textarea:-moz-placeholder {
    color: #000000;
}

textarea::-moz-placeholder {
    color: #000000;
    opacity: 1;
}

textarea::-webkit-input-placeholder {
    color: #000000;
}

textarea:-ms-input-placeholder {
    color: #000000;
}

textarea::placeholder {
    color: #000000;
}

input:-moz-placeholder {
    color: #000000;
}

input::-moz-placeholder {
    color: #000000;
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: #000000;
}

input:-ms-input-placeholder {
    color: #000000;
}

input::placeholder {
    color: #000000;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

input:focus:-ms-input-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

/* =============================================================================
	MAIN
	========================================================================== */

#wrapper {
    background: url("/images/bg-1.png") no-repeat 50% 50%;
    background-color: #0B0121;
    background-size: cover;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

#main {
    text-align: center;
    padding: 10px 0;
    display: flex;
    align-items: center;
    position: relative;
    -webkit-box-flex: 5000;
    -webkit-flex: 5000 1 auto;
    -ms-flex: 5000 1 auto;
    flex: 5000 1 auto;
}

* html #wrapper {
    height: 100%;
}

.container {
    max-width: 768px;
    width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.inner-container {
    max-width: 295px;
    width: 100%;
    margin: 0 auto;
}

.logo {
    display: block;
    background: url("../images/svg-logo.svg") no-repeat;
    background-size: cover;
    width: 251px;
    height: 148px;
    text-indent: -9999px;
    overflow: hidden;
    margin: 0 auto 32px;
}

.logo a {
    display: block;
    height: 100%;
}

h1 {
    color: #F4F3F5;
    font: 600 27px/35px "Quicksand", sans-serif;
    margin: 0 0 8px;
    text-align: center;
    letter-spacing: 0.008em;
}

h1 br {
    display: none;
}

.sfp {
    display: block;
    margin: 0 0 52px;
    font-size: 15px;
    line-height: 25px;
    color: #A69BAB;
    letter-spacing: 0.33px;
}

.download-txt {
    display: block;
    margin: 0 0 19px;
    letter-spacing: 0.53px;
    color: #F4F3F5;
    text-transform: uppercase;
}

.list-market li {
    font-size: 19.2px;
    line-height: 32px;
    margin: 0 0 20px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(192, 31, 229, 1) 0%, rgba(54, 51, 227, 1) 100%);
    padding: 1px;
    box-shadow: 0px 160px 128px rgba(0, 0, 0, 0.2), 0px 66.8443px 53.4755px rgba(0, 0, 0, 0.143771), 0px 35.7382px 28.5905px rgba(0, 0, 0, 0.119221), 0px 20.0345px 16.0276px rgba(0, 0, 0, 0.1), 0px 10.6402px 8.51215px rgba(0, 0, 0, 0.0807786), 0px 4.42762px 3.5421px rgba(0, 0, 0, 0.0562291);
}

.holder-link {
    background: #000000;
    border-radius: 5px;
}

.list-market a {
    display: block;
    position: relative;
    padding: 15px 11px 15px 35px;
    color: #F4F3F5;
    background: linear-gradient(135deg, rgba(192, 31, 229, 0.2) 0%, rgba(54, 51, 227, 0.2) 100%);
    border-radius: 5px;
    overflow: hidden;
}

.list-market a:hover {
    opacity: 0.8;
}

.list-market .icon {
    position: absolute;
    left: 23px;
    top: 50%;
    width: 25px;
    -webkit-transform: translateX(0) translateY(-50%);
    -moz-transform: translateX(0) translateY(-50%);
    -ms-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
}

#footer {
    padding: 44px 0;
    width: 100%;
    font-size: 12px;
    line-height: 1;
    color: #A69BAB;
    text-align: center;
}

#footer p {
    margin: 0;
}

#footer a {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    text-decoration: underline;
    color: #A69BAB;
}

#footer a:hover {
    text-decoration: none;
}

/* ====== popup =====*/
.fancybox-bg {
    opacity: 1 !important;
    background: url("/images/img-1.jpg") repeat-x 50% 50%;
    background-size: cover;
}

.holder-popup {
    display: none;
    position: static;
    overflow: visible;
    padding: 70px 0;
    max-width: 100%;
    width: 100%;
    font-size: 15px;
    line-height: 25px;
    font-weight: 600;
    background: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fancybox-slide--html .fancybox-close-small {
    right: 40px;
    top: 40px;
}

.fancybox-close-small {
    background: url("/images/svg-3.svg") no-repeat;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
}

.closed-popup {
    position: absolute;
    left: 35px;
    top: 40px;
    border: none;
    background: none;
    padding: 0 0 0 40px;
    font-size: 15px;
    line-height: 1;
    color: #D3CDD5;
    letter-spacing: 0.33px;
}

.closed-popup:hover {
    opacity: 0.8;
}

.closed-popup:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    margin: -7px 0 0;
    background: url("/images/svg-4.svg") no-repeat;
    width: 30px;
    height: 15px;
}

.title-popup {
    display: block;
    margin: 0 0 40px;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
}

.link {
    text-decoration: underline;
    color: #BCB4C0;
}

.link:hover {
    text-decoration: none;
}


@media screen and (max-width: 1300px) and (max-height: 900px) {
    #main {
        padding: 40px 0 0;
    }
}

@media screen and (max-width: 700px) and (max-height: 850px) {
    #main {
        padding: 0;
    }
}

@media screen and (max-width: 760px) {
    .holder-popup {
        padding: 123px 0;
    }
}

@media screen and (max-height: 685px) {
    .inner-container {
        max-width: 336px;
        margin: 0 auto;
    }

    .logo {
        width: 150px;
        height: 88px;
        margin: 0 auto 8px;
    }

    h1 {
        font-size: 20px;
        line-height: 29px;
        margin: 0 0 5px;
    }

    h1 br {
        display: block;
    }

    .sfp {
        margin: 0 0 21px;
        font-size: 10px;
        line-height: 20px;
    }

    .download-txt {
        margin: 0 0 14px;
        font-size: 10px;
        line-height: 1;
    }

    .list-market {
        font-size: 0;
        line-height: 0;
    }

    .list-market {
        display: flex;
        justify-content: center;
        margin: 0 -8px;
    }

    .list-market li {
        flex: 0 0 160px;
        width: 160px;
        margin: 0 8px;
        font-size: 12px;
        line-height: 20px;
    }

    .list-market a {
        padding: 13px 11px 13px 26px;
    }

    #footer {
        padding: 22px 0;
        font-size: 10px;
        line-height: 1;
    }

    .list-market .icon {
        width: 14px;
        left: 14px;
    }

    .holder-popup {
        padding: 123px 0;
    }
}

@media screen and (max-height: 374px) {
    #main {
        padding: 18px 0 0;
    }

    .logo {
        width: 119px;
        height: 70px;
        margin: 0 auto 8px;
    }

    #footer {
        padding: 18px 0;
    }

}
