@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaFuturisC.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaFuturisC-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    font-size: 10px;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button,
input,
optgroup,
select,
textarea {
    font: inherit;
    color: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

:hover,
:active,
:focus {
    outline: none;
}

img {
    vertical-align: middle;
    border-style: none;
}

body {
    font-family: 'Futura', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #b01010 url('../images/bg.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #000;
    min-width: 320px;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.close-btn {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    border: none;
    background: none;
    padding: 0;
    width: 40px;
    height: 40px;
    color: #6d6d6d;
}

.close-btn:before,
.close-btn:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    border-bottom: 2px solid;
    margin: -1px 0 0 -8px;
    transform: rotate(45deg);
}

.close-btn:after {
    transform: rotate(-45deg);  
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.visual-wrapper {
    position: relative;
    overflow: hidden;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.visual-title {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 0;
}

.visual-title__inner {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
}

.visual-title__inner:before {
    content: '';
    display: block;
    padding-top: calc(100 * 100% / 1024);
}

.visual-title__frame {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    visibility: hidden;
}

.visual-title__frame.is-active {
    visibility: visible;
}

.visual-title__frame:nth-child(1) {
    background-image: url('../images/title-1.png');
}

.visual-title__frame:nth-child(2) {
    background-image: url('../images/title-2.png');
}

.visual {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1024px;
    height: 1024px;
    margin-top: -512px;
    margin-left: -512px;
}

.visual__image-1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pic-1.png') center center no-repeat;
    background-size: cover;
    z-index: 1;
}

.visual__image-2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pic-2.png') center center no-repeat;
    background-size: cover;
    z-index: 3;
}

.visual__ball {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.visual__ball-frame {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    visibility: hidden;
}

.visual__ball-frame.is-active {
    visibility: visible;
}

.visual__ball-frame:nth-child(1) {
    background-image: url('../images/ball-1.png');
}

.visual__ball-frame:nth-child(2) {
    background-image: url('../images/ball-2.png');
}

.visual__ball-frame:nth-child(3) {
    background-image: url('../images/ball-3.png');
}

.visual__ball-frame:nth-child(4) {
    background-image: url('../images/ball-4.png');
}

.visual__ball-frame:nth-child(5) {
    background-image: url('../images/ball-3.png');
}

.visual__ball-frame:nth-child(6) {
    background-image: url('../images/ball-2.png');
}

.visual__ball-frame:nth-child(7) {
    background-image: url('../images/ball-1.png');
}

.visual__ball-frame:nth-child(8) {
    background-image: url('../images/ball-5.png');
}

.visual__ball-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    background: none;
    transform: translate(-50%, -50%);
    z-index: 9;
    border: none;
    padding: 0;
    width: 220px;
    border-radius: 50%;
    cursor: pointer;
}

.visual__ball-btn:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.visual__ball-btn-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 32px;
    line-height: 1.2;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
    animation: blick 1s steps(1, end) infinite;
}

@keyframes blick {
    0%,
    100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 20px #ffd8a6, 0 0 20px #ffd8a6, 0 0 25px #ffd8a6, 0 0 25px #ffd8a6, 0 0 30px #ffd8a6, 0 0 30px #ffd8a6;
    }
}

.visual__bubble {
    position: absolute;
    bottom: 50%;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 3;
    font-size: 10px;
    line-height: 1.25;
    pointer-events: none;
    transform: scale(0);
    transition: 0.35s ease-in-out;
}

html.is-bubbles-open .visual__bubble {
    transform: scale(1);
}

.visual__bubble_left {
    background-image: url('../images/bubble-left.png');
    right: 50%;
    width: 60.6em;
    height: 41.5em;
    padding: 10em 17em 0 8.5em;
    margin: 0 286px 19px 0;
    transform-origin: right bottom;
}

.visual__bubble_right {
    background-image: url('../images/bubble-right.png');
    left: 50%;
    width: 67.9em;
    height: 46.5em;
    margin: 0 0 -27px 263px;
    padding: 11em 4em 0 19.5em;
    line-height: 1.2;
    transform-origin: left bottom;
}

.visual__bubble > div {
    font-size: 3.3em;
    font-weight: bold;
}

.visual-popup {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: rgba(10,182,247,.85);
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    padding: 20px 0 10px;
    transform: translateY(calc(100% - 10px));
    transition: 0.35s ease-in-out;
}

.visual-popup a {
    color: #fff;
    text-decoration: underline;
}

html.is-text-popup-open .visual-popup {
    transform: translateY(0);
}

.visual-popup p {
    margin: 0 0 10px;
}

.visual-popup__content {
    max-width: 930px;
    margin: 0 auto;
    padding: 0 15px;
}

.visual-popup__close {
    position: absolute;
    background: rgba(10,182,247,.85);
    color: #fff;
    width: 60px;
    height: 40px;
    border-radius: 6px 0 0 0;
    border: none;
    padding: 0;
    right: 0;
    bottom: 100%;
}

.visual-popup__close:before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    left: 50%;
    top: 50%;
    margin: -7px;
    transform: translateY(4px) rotate(-135deg);
}

html.is-text-popup-open .visual-popup__close:before {
    transform: translateY(-4px) rotate(45deg);
}

.card-popup {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease-in-out;
}

html.is-popup-open .card-popup {
    opacity: 1;
    visibility: visible;
}

.card-popup__bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    background: #000;
    background: rgba(0,0,0,.5);
    cursor: pointer;
}

.card-popup__content {

}

.card {
    width: 620px;
    height: 100%;
    max-height: 900px;
    position: relative;
    z-index: 2;
    font-size: 24px;
    line-height: 1.6;
    color: #433a34;
    cursor: pointer;
    transform: rotateZ(-360deg) scale(0);
    transition: 0.5s ease-in-out;
}

html.is-popup-open .card {
    transform: rotateZ(0deg) scale(1);
}

.card__bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.card__bg-top {
    background: url('../images/card-top.png') center top no-repeat;
    background-size: 100% 100%;
}

.card__bg-top:before {
    content: '';
    display: block;
    padding-top: 40%;
}

.card__bg-content {
    flex-grow: 1;
    min-height: 1px;
    background: url('../images/card-content.png') center center no-repeat;
    background-size: 100% 100%;
}

.card__bg-bottom {
    background: url('../images/card-bottom.png') center bottom no-repeat;
    background-size: 100% 100%;
}

.card__bg-bottom:before {
    content: '';
    display: block;
    padding-top: 40%;
}

.card__content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 39% 20%;
    display: flex;
    align-items: center;
}

.card__content-inner {
    width: 100%;
    max-height: 100%;
    cursor: auto;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-color: #66aaee #ccc;
    scrollbar-width: thin;
}

.card__content-inner::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.card__content-inner::-webkit-scrollbar-track {
    background: #f8f0de;
    border-radius: 6px;
}

.card__content-inner::-webkit-scrollbar-thumb {
    background: #a59183;
    border-radius: 6px;
}

.card__share {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 20% 20%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: 0.5s ease-in-out;
    transform-origin: center bottom;
    transition-delay: .5s;
}

html.is-popup-open .card__share {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.card__share-title {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 5px;
}

.ya-share2__badge {
    background: none !important;
}

.ya-share2__icon {
    height: 42px !important;
    width: 42px !important;
    background-size: 36px 36px !important;
}