/* #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;
    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: #FFF;
    background: #46144B;
    background: -moz-linear-gradient(top,  #46144B 0%, #2B3E72 100%);
    background: -webkit-linear-gradient(top,  #46144B 0%,#2B3E72 100%);
    background: linear-gradient(to bottom,  #46144B 0%,#2B3E72 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#46144B', endColorstr='#2B3E72',GradientType=0 );    
    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 {
    background: #46144B;
    background: -moz-linear-gradient(top,  #46144B 0%, #2B3E72 100%);
    background: -webkit-linear-gradient(top,  #46144B 0%,#2B3E72 100%);
    background: linear-gradient(to bottom,  #46144B 0%,#2B3E72 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#46144B', endColorstr='#2B3E72',GradientType=0 );    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles {
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: overlay;
    filter: brightness(2);
}

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

.page__1-logo,
.page__2-logo {
    position: relative;
    max-width: 35rem;
    margin: 0 0 9rem auto;
}

.page__1-logo:before,
.page__2-logo:before {
    content: '';
    background-color: #FFF;
    border-radius: 50%;
    position: absolute;
    top: -50rem;
    right: -30rem;
    width: 80rem;
    height: 80rem;
    z-index: -1;
}

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

.page__1-tb {
    display: inline-block;
}

.page__1-title {
    font-size: 12rem;
    line-height: 1.2;
    margin: 0 0 10rem;
}

.page__1-title span {
    display: block;
}

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

.page__1-buttons a {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    color: #00FFFF;
    background-color: #C55FA0;
    border-bottom: .5rem solid #00FFFF;
    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 {
    color: #C55FA0;
    background-color: #00FFFF;
    border-color: #C55FA0;
}

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

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

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

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

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

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

.page__2-globe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    pointer-events: none;
}

.page__2-globe canvas {
    width: 100%;
    height: 100%;
}

.page__2-links {
    position: relative;
    top: 20rem;
    margin: -2rem;
    display: flex;
    justify-content: space-evenly;
}

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

.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: #C55FA0;
    border: .5rem solid #00FFFF;
    border-radius: 50%;
    position: relative;
    width: 18rem;
    height: 18rem;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__2-link-icon svg {
    fill: #00FFFF;
}

.is-touchless a:hover .page__2-link-icon,
.is-touch a.hovered .page__2-link-icon {
    background-color: #00FFFF;
    border-color: #C55FA0;
}

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

/* #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 {
    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: #46144B;
    background: -moz-linear-gradient(top,  #46144B 0%, #2B3E72 100%);
    background: -webkit-linear-gradient(top,  #46144B 0%,#2B3E72 100%);
    background: linear-gradient(to bottom,  #46144B 0%,#2B3E72 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#46144B', endColorstr='#2B3E72',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__close {
    background-color: #C55FA0;
    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: .4s;
}

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

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

.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 */