/* #region - global */

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

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

body {
    font-family: 'Neo-Sans', sans-serif;
    font-size: 2.1rem;
    background-color: #63666A;
    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: #8D1737;
    background-color: #FFF;
    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__2-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.page__1-tb {
    display: table;
    margin: auto;
}

.page__1-title {
    line-height: 1;
    color: #63666A;
    margin-bottom: 15rem;
}

.page__1-title span {
    position: relative;
    margin-bottom: 8rem;
    display: block;
}

.page__1-title span:nth-child(1) {
    font-size: 8rem;
}

.page__1-title span:nth-child(2) {
    font-size: 12rem;
    margin-left: 40rem;
}

.page__1-title span:nth-child(3) {
    font-size: 6rem;
    margin-left: 10rem;
}

.page__1-buttons {
    display: flex;
    justify-content: center;
}

.page__1-buttons a {
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #FFF;
    background-color: #8D1737;
    border-bottom: .5rem solid #A69F88;
    border-radius: 5rem;
    min-width: 28rem;
    padding: 3rem 2rem;
    margin-right: 6rem;
}

.is-touchless .page__1-buttons a:hover,
.is-touch .page__1-buttons a.hovered {
    color: #FFF;
    background-color: #A69F88;
    border-color: #8D1737;
}

.page__1-buttons a:last-child {
    margin: 0;
}

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

.page__2-back {
    position: relative;
    width: 6rem;
    height: 6rem;
    margin-bottom: 9rem;
}

.page__2-back a {
    width: 100%;
    height: 100%;
    display: block;
    transition: none;
}

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

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

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

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

.page__2-logo {
    margin: 0 0 4rem;
    z-index: 1;
}

.page__2-links {
    position: relative;
    padding: 0 12rem;
    margin: -2rem;
    display: flex;
    flex-wrap: wrap;
}

.page__2-link {
    width: calc(33% - 4rem);
    margin: 2rem;
    display: flex;
    align-items: center;
    transition: none;
}

.page__2-link-logo.hide {
    visibility: hidden;
}

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

.page__2-link-logo {
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);
    border-radius: 2rem;
    position: relative;
    width: 100%;
    height: 24rem;
    overflow: hidden;
}

.is-touchless a:hover .page__2-link-logo,
.is-touch a.hovered .page__2-link-logo {
    background-color: #F2F2F2;
}

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

.page__2-link-logo.hide {
    display: none;
}

.page__2-footer {
    color: #FFF;
    background-color: #000;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12rem;
}

.page__2-ticker {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page__2-ticker * {
    box-sizing: content-box;
}

.page__2-ticker a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding-left: 100%;
    display: flex;
    align-items: center;
}

.page__2-ticker-content {
    font-size: 2.8rem;
    white-space: nowrap;
    padding-right: 100%;
    margin: 0 -2rem;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: ticker;
    animation-duration: 90s;
}

.page__2-ticker-content>span {
    margin: 0 2rem;
    display: inline-block;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

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

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

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

.modal__content {
    width: 100%;
    height: 100%;
    perspective: 320rem;
}

.modal__card {
    position: absolute;
    top: 0;
    left: 50%;
    max-width: 128rem;
    transform-style: preserve-3d;
    transition: all .6s cubic-bezier(0.4, 0.31, 0.13, 0.95);
    transition-property: transform, width, height, top, left;
    will-change: transform, width, height, top, left;
}

.is-flipped .modal__card {
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    transform: translate(-50%, -50%) rotateY(180deg);
}

.no-front .modal__card {
    position: relative;
    top: 0;
    left: 0;
    margin: auto;
    transition-timing-function: ease;
    transition-duration: .8s;
}

.no-front.is-flipped .modal__card {
    top: 0 !important;
    left: 0 !important;
    transform: rotateY(180deg);
}

.modal__card-front,
.modal__card-back {
    background-color: #FFF;
    border-radius: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.modal__card-front .page__2-link-logo {
    box-shadow: none;
    border-radius: 0;
    width: auto;
    margin: auto;
}

.modal__card-back {
    transform: rotateY(180deg);
}

.modal__card-back:before {
    content: '';
    background-color: #8D1737;
    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__iframe.hide-scrollbar {
    margin: 0 -1.8rem 0 0;
    overflow: hidden;
}

.modal__iframe-mask {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.modal__iframe-mask span {
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: all;
}

.modal__iframe-mask span:nth-child(1) {
    height: 28rem;
}

.modal__iframe-mask span:nth-child(2) {
    width: 27rem;
    height: 100%;
    left: auto;
    right: 0;
}

.modal__iframe-mask span:nth-child(3) {
    height: 21rem;
    top: auto;
    bottom: 0;
}

.modal__iframe-mask span:nth-child(4) {
    width: 29rem;
}

.modal__close {
    background-color: #8D1737;
    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;
}

/* #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: .4s;
}

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

/**/

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

.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: .6s;
    /* 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(40rem);
}

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

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

/* #endregion */