/* #region - global */

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

html {
    font-size: 62.5%;
    overflow: hidden;
}

body {
    font-family: 'Lato', 'GE SS Two', sans-serif;
    font-size: 2.1rem;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    pointer-events: none;
}

svg {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: all .5s cubic-bezier(0.4, 0.31, 0.13, 0.95);
    transition-property: color, background, border;
}

.app {
    color: #4AC6C6;
    background-color: #1B2442;
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

main {
    width: 100%;
    height: 100%;
}

main>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8rem;
}

iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

[data-name='mojs-shape'] {
    z-index: 99;
    pointer-events: none;
}

body.is-loading {
    pointer-events: none;
}

.page,
.modal {
    display: none;
}

.page.active,
.modal.active {
    display: block;
}

.version {
    font-size: 1.4rem;
    color: #FFF;
    background-color: #000;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: .5rem 1rem;
}

.svg {
    display: none;
}

/* #endregion */
/* #region - page 1 */

.page__1-background,
.page__3-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page__1-background canvas {
    transform: translateX(30%);
}

.page__1-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.page__1-logo,
.page__2-logo {
    position: relative;
    max-width: 12rem;
    margin-bottom: 7rem;
}

.page__1-logo a,
.page__2-logo a {
    transition: none;
}

.page__1-title {
    font-size: 12rem;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 7rem;
}

.page__1-title span {
    display: block;
}

.page__1-title span:nth-child(2) {
    color: #EA134B;
}

.page__1-buttons,
.page__3-buttons {
    display: flex;
    justify-content: flex-start;
}

.page__1-buttons a,
.page__3-buttons a {
    font-family: 'Avenir', 'GE SS Two', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #1B2442;
    background-color: #FFF;
    border-bottom: .5rem solid #EA134B;
    border-radius: 5rem;
    min-width: 28rem;
    padding: 3rem 4rem;
    margin-right: 6rem;
}

.is-touchless .page__1-buttons a:hover,
.is-touch .page__1-buttons a.hovered,
.is-touchless .page__3-buttons a:hover,
.is-touch .page__3-buttons a.hovered {
    color: #FFF;
    background-color: #EA134B;
    border-color: #4AC6C6;
}

/* #endregion */
/* #region - page 2 */

.page__2-language {
    text-transform: uppercase;
    background-color: #FFF;
    border-radius: 5rem;
    position: absolute;
    top: 8rem;
    right: 8rem;
    padding: .5rem;
}

.page__2-language a {
    color: #1B2442;
    border-radius: 5rem;
    padding: 1rem 2rem;
    display: inline-block;
}

.page__2-language a.active {
    color: #FFF;
    background-color: #EA134B;
}

.is-touchless .page__2-language a:hover,
.is-touch .page__2-language a.hovered {
    color: #FFF;
    background-color: #EA134B;
}

.page__2-logo {
    z-index: 1;
}

.page__2-video {
    margin: -24rem -8rem 4rem;
    pointer-events: none;
}

.page__2-video video {
    display: block;
}

.page__2-links {
    position: relative;
    margin: -2rem -10rem;
    display: flex;
    justify-content: center;
}

.page__2-link {
    font-size: 3.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    color: #4AC6C6;
    margin: 2rem 10rem;
    display: flex;
    align-items: center;
    transition: none;
}

.page__2-link span {
    display: block;
}

.page__2-link span:nth-child(2) {
    color: #EA134B;
}

.page__2-link-icon,
.page__2-link-icon svg {
    transition: all .8s cubic-bezier(0.4, 0.31, 0.13, 0.95);
}

.page__2-link-icon {
    text-align: center;
    background-color: #EA134B;
    border-radius: 50%;
    position: relative;
    width: 15rem;
    height: 15rem;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__2-link-icon svg {
    stroke-width: 3;
    stroke: #FFF;
    fill: #4AC6C6;
}

.is-touchless a:hover .page__2-link-icon,
.is-touch a.hovered .page__2-link-icon {
    background-color: #4AC6C6;
}

.is-touchless a:hover .page__2-link-icon svg,
.is-touch a.hovered .page__2-link-icon svg {
    fill: #EA134B;
    transform: rotate(360deg);
}

.page__2-footer {
    background-color: #4AC6C6;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10rem;
}

.page__2-footer:after {
    content: '';
    background-image: url('../images/pattern.svg');
    background-size: 10rem;
    background-position: center;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
}

/* #endregion */
/* #region - page 3 */

.page__3-ll {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page__3-logo {
    position: absolute;
    width: 12rem;
    height: 12rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.page__3-logo:before {
    content: '';
    background-color: #1B2442;
    border: .2rem solid #4AC6C6;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40rem;
    height: 40rem;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.page__3-logo a {
    width: 100%;
    transition: none;
}

.page__3-links>ul {
    list-style-type: none;
    position: absolute;
    top: calc(50% - 9rem);
    left: calc(50% - 4rem);
    transform: translate(-50%, -50%);
}

.page__3-links>ul>li {
    color: #4AC6C6;
    position: absolute;
    top: 0;
    left: 0;
    width: 10rem;
    height: 10rem;
    opacity: 0;
    transition:
        all .5s cubic-bezier(0.4, 0.31, 0.13, 0.95),
        transform .8s cubic-bezier(0.25, 0.21, 0.17, 0.96),
        opacity .8s cubic-bezier(0.54, 0.24, 0.25, 0.7);
    pointer-events: none;
}

.page__3-links>ul>li a {
    --rotation: -30deg;
    display: block;
}

.page__3-links>ul>li:nth-child(1) a {
    transform: rotate(calc(var(--rotation) * 1));
}

.page__3-links>ul>li:nth-child(2) a {
    transform: rotate(calc(var(--rotation) * 2));
}

.page__3-links>ul>li:nth-child(3) a {
    transform: rotate(calc(var(--rotation) * 3));
}

.page__3-links>ul>li:nth-child(4) a {
    transform: rotate(calc(var(--rotation) * 4));
}

.page__3-links>ul>li:nth-child(5) a {
    transform: rotate(calc(var(--rotation) * 5));
}

.page__3-links>ul>li:nth-child(6) a {
    transform: rotate(calc(var(--rotation) * 6));
}

.page__3-links>ul>li:nth-child(7) a {
    transform: rotate(calc(var(--rotation) * 7));
}

.page__3-links>ul>li:nth-child(8) a {
    transform: rotate(calc(var(--rotation) * 8));
}

.page__3-links>ul>li:nth-child(9) a {
    transform: rotate(calc(var(--rotation) * 9));
}

.page__3-links>ul>li:nth-child(10) a {
    transform: rotate(calc(var(--rotation) * 10));
}

.page__3-links>ul>li:nth-child(11) a {
    transform: rotate(calc(var(--rotation) * 11));
}

.page__3-links>ul>li:nth-child(12) a {
    transform: rotate(calc(var(--rotation) * 12));
}

.page__3-links.reveal>ul>li {
    --rotation: 30deg;
    --translate: -36rem;
    opacity: 1;
    pointer-events: all;
}

.page__3-links.reveal>ul>li:nth-child(1) {
    transform: rotate(calc(var(--rotation) * 1)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(2) {
    transform: rotate(calc(var(--rotation) * 2)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(3) {
    transform: rotate(calc(var(--rotation) * 3)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(4) {
    transform: rotate(calc(var(--rotation) * 4)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(5) {
    transform: rotate(calc(var(--rotation) * 5)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(6) {
    transform: rotate(calc(var(--rotation) * 6)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(7) {
    transform: rotate(calc(var(--rotation) * 7)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(8) {
    transform: rotate(calc(var(--rotation) * 8)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(9) {
    transform: rotate(calc(var(--rotation) * 9)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(10) {
    transform: rotate(calc(var(--rotation) * 10)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(11) {
    transform: rotate(calc(var(--rotation) * 11)) translateX(var(--translate));
}

.page__3-links.reveal>ul>li:nth-child(12) {
    transform: rotate(calc(var(--rotation) * 12)) translateX(var(--translate));
}

.page__3-link span {
    display: block;
}

.page__3-link span:nth-child(2) {
    color: #EA134B;
}

.page__3-link-icon,
.page__3-link-icon svg {
    transition: all .8s cubic-bezier(0.4, 0.31, 0.13, 0.95);
}

.page__3-link-icon {
    text-align: center;
    background-color: #EA134B;
    border-radius: 50%;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__3-link-icon svg {
    stroke: #FFF;
    fill: #4AC6C6;
}

a[data-subnav].active .page__3-link-icon,
.is-touchless a:hover .page__3-link-icon,
.is-touch a.hovered .page__3-link-icon {
    background-color: #4AC6C6;
}

a[data-subnav].active .page__3-link-icon svg,
.is-touchless a:hover .page__3-link-icon svg,
.is-touch a.hovered .page__3-link-icon svg {
    fill: #EA134B;
    transform: rotate(360deg);
}

.page__3-sublinks {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 10rem;
    opacity: 0;
    transform: translate(100%, -50%);
    transition:
        transform .8s cubic-bezier(0.25, 0.21, 0.17, 0.96),
        opacity .8s cubic-bezier(0.54, 0.24, 0.25, 0.7);
    pointer-events: none;
}

.page__3-link.active~.page__3-sublinks {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.page__3-sublink .page__3-link-icon {
    max-width: 8rem;
    margin: 6rem auto;
}

.page__3-link-text {
    font-size: 1.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    z-index: 1;
    transform: translate(-50%, 0);
}

.page__3-link [data-name='mojs-shape'] {
    z-index: 0;
}

.page__3-buttons {
    position: absolute;
    left: 8rem;
    bottom: 8rem;
    pointer-events: all;
}

/* #endregion */
/* #region - modal */

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

.modal__background {
    background-color: rgba(27, 36, 66, .7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal__content {
    background-color: #FFF;
    border-radius: 2rem;
    position: relative;
    max-width: 128rem;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    display: flex;
}

.modal__content:before {
    content: '';
    background: #EA134B;
    background: -moz-linear-gradient(top, #EA134B 0%, #1B2442 100%);
    background: -webkit-linear-gradient(top, #EA134B 0%, #1B2442 100%);
    background: linear-gradient(to bottom, #EA134B 0%, #1B2442 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EA134B', endColorstr='#1B2442', GradientType=0);
    position: relative;
    width: 2rem;
    height: 100%;
    z-index: 3;
}

.modal__preloader {
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .4s cubic-bezier(0.54, 0.24, 0.25, 0.7);
}

.modal__preloader:before {
    content: 'Loading...';
}

.modal.has-loaded .modal__preloader {
    opacity: 0;
    pointer-events: none;
}

.modal__iframe {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal__video {
    width: calc(100% - 2rem);
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal__video video {
    width: 100%;
    display: block;
}

.modal__slider {
    position: relative;
    width: calc(100% - 2rem);
}

.modal__slider .swiper-container {
    height: 100%;
}

.modal__slider .swiper-slide {
    height: auto;
    padding: 6rem;
    overflow: hidden;
}

.modal__slider-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 6rem);
    z-index: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.modal__slider-nav .swiper-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal__slider-nav .swiper-button-next,
.modal__slider-nav .swiper-button-prev {
    background: url('../images/arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 3rem;
    background-color: #767E8D;
    border-radius: 50%;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 6rem;
    height: 6rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    pointer-events: all;
    transition: all .3s cubic-bezier(0, 0, .2, 1);
    -webkit-tap-highlight-color: transparent;
}

.modal__slider-nav .swiper-button-next {
    transform: scaleX(-1);
}

.modal__slider-nav .swiper-button-next.swiper-button-disabled,
.modal__slider-nav .swiper-button-prev.swiper-button-disabled {
    opacity: .2;
}

.modal__slider-pagination .swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    display: flex;
    transform: translateX(-50%);
}

.modal__slider-pagination .swiper-pagination-bullet {
    background-color: #767E8D;
    width: 2rem;
    height: 2rem;
    margin: 0 1rem;
    flex: 1 0 auto;
    opacity: 1;
    transition: all .5s ease;
}

.modal__slider-pagination .swiper-pagination-bullet-active {
    background-color: #4AC6C6;
    opacity: 1;
}

.modal__slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal__close {
    background-color: #767E8D;
    background-image: url('../images/close.svg');
    background-size: 3rem;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 6rem;
    height: 6rem;
    z-index: 4;
    display: table;
}

.modal__6 .modal__slider-nav,
.modal__6 .modal__slider-pagination {
    display: none;
}

/* #endregion */
/* #region - revealer */

.revealer .animate {
    --transform-easing: cubic-bezier(0.25, 0.21, 0.17, 0.96);
    --opacity-easing: cubic-bezier(0.54, 0.24, 0.25, 0.7);
    will-change: transform, opacity;
}

/**/

.revealer .animate.fade-in {
    opacity: 0;
    transition: opacity var(--opacity-easing);
    transition-duration: .8s;
}

.revealed .animate.fade-in {
    opacity: 1;
    transition-duration: .8s;
    /* on enter */
}

/**/

.revealer .animate.fade-up,
.revealer .animate.fade-down {
    opacity: 0;
    transition:
        transform var(--transform-easing),
        opacity var(--opacity-easing);
    transition-duration: .4s;
}

.revealer .animate.fade-up {
    transform: translateY(40rem);
}

.revealer .animate.fade-down {
    transform: translateY(-40rem);
}

.revealed .animate.fade-up,
.revealed .animate.fade-down {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .4s;
    /* on enter */
}

/**/

.revealer .animate.fade-left,
.revealer .animate.fade-right {
    opacity: 0;
    transition:
        transform var(--transform-easing),
        opacity var(--opacity-easing);
    transition-duration: .8s;
}

.revealer .animate.fade-left {
    transform: translateX(96rem);
}

.revealer .animate.fade-right {
    transform: translateX(-96rem);
}

.revealed .animate.fade-left,
.revealed .animate.fade-right {
    opacity: 1;
    transform: translateX(0);
    transition-duration: .8s;
    /* on enter */
}

/**/

.revealer .animate.zoom-in {
    opacity: 0;
    transition:
        transform var(--transform-easing),
        opacity var(--opacity-easing);
    transition-duration: .8s;
}

.revealer .animate.zoom-in {
    transform: scale(.5);
}

.revealed .animate.zoom-in {
    opacity: 1;
    transform: scale(1);
    transition-duration: .8s;
    /* on enter */
}

/* #endregion */