/* #region - global */

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

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

body {
    font-family: 'Montserrat', 'GE SS Two', sans-serif;
    font-size: 2.1rem;
    background-color: #000;
    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: #76102B;
    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-circles,
.page__2-circles {
    position: absolute;
    top: 50%;
    left: calc(50% - 50rem);
    width: 235rem;
    height: 235rem;
    transform: translate(-50%, -50%);
}

.page__1-circles div:nth-child(2),
.page__2-circles div:nth-child(2) {
    opacity: .4;
}

.page__1-circles span,
.page__2-circles span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page__1-circles span>svg,
.page__2-circles span>svg {
    width: 100%;
    height: 100%;
}

.page__1-circles-inner:before {
    content: '';
    border-radius: 50%;
    box-shadow: 0 0 5rem 1rem rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(.69);
}

.page__1-circles-outer span:nth-child(2),
.page__2-circles-outer span:nth-child(2) {
    animation: clockwiseRotate 25s linear infinite;
}

.page__1-circles-outer span:nth-child(4),
.page__2-circles-outer span:nth-child(4) {
    animation: counterClockwiseRotate 35s linear infinite;
}

.page__1-circles-outer span:nth-child(5),
.page__2-circles-outer span:nth-child(5) {
    animation: clockwiseRotate 45s linear infinite;
}

@keyframes clockwiseRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes counterClockwiseRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

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

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

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

.page__1-tb {
    max-width: 86rem;
    margin-left: 10rem;
}

.page__1-title {
    font-size: 15rem;
    font-weight: 500;
    line-height: 1;
    color: #FFF;
    margin-bottom: 8rem;
}

.page__1-title span {
    display: block;
}

.page__1-title span:nth-child(1) {
    font-weight: 700;
}

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

.page__1-buttons a {
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #76102B;
    background-color: #FFF;
    border-bottom: .5rem solid #CCC;
    border-radius: 5rem;
    min-width: 28rem;
    padding: 3rem 1rem 2.5rem;
    margin-right: 1rem;
}

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

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

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

.page__2-background {
    background-color: #76102B;
}

.page__2-circles {
    left: 50%;
    transform: translate(-50%, -50%) scale(.55);
}

.page__2-icons>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page__2-icons>div>div {
    border-radius: 50%;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 0;
}

.page__2-icons span {
    --icon-size: 14rem;
    color: #FFF;
    background-color: #CD163F;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--icon-size);
    height: var(--icon-size);
    margin: calc(var(--icon-size) / -2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__2-icons span:nth-child(odd) {
    background-color: #CD163F;
}

.page__2-icons span:nth-child(even) {
    background-color: #EF3C39;
}

.page__2-icons-g0 span {
    --icon-size: 20rem;
}

.page__2-icons-g1>div {
    --circle-r: 80rem;
    width: var(--circle-r);
    height: var(--circle-r);
    animation: counterClockwiseRotate 25s linear infinite;
}

.page__2-icons-g1 span:nth-of-type(1) {
    transform: rotate(245deg) translate(calc(var(--circle-r) / 2)) rotate(-245deg);
}

.page__2-icons-g1 span:nth-of-type(2) {
    transform: rotate(317deg) translate(calc(var(--circle-r) / 2)) rotate(-317deg);
}

.page__2-icons-g1 span:nth-of-type(3) {
    transform: rotate(29deg) translate(calc(var(--circle-r) / 2)) rotate(-29deg);
}

.page__2-icons-g1 span:nth-of-type(4) {
    transform: rotate(101deg) translate(calc(var(--circle-r) / 2)) rotate(-101deg);
}

.page__2-icons-g1 span:nth-of-type(5) {
    transform: rotate(173deg) translate(calc(var(--circle-r) / 2)) rotate(-173deg);
}

.page__2-icons-g1 svg {
    animation: clockwiseRotate 25s linear infinite;
}

.page__2-icons-g2>div {
    --circle-r: 120rem;
    width: var(--circle-r);
    height: var(--circle-r);
    animation: clockwiseRotate 35s linear infinite;
}

.page__2-icons-g2 span:nth-of-type(1) {
    transform: rotate(209deg) translate(calc(var(--circle-r) / 2)) rotate(-209deg);
}

.page__2-icons-g2 span:nth-of-type(2) {
    transform: rotate(281deg) translate(calc(var(--circle-r) / 2)) rotate(-281deg);
}

.page__2-icons-g2 span:nth-of-type(3) {
    transform: rotate(353deg) translate(calc(var(--circle-r) / 2)) rotate(-353deg);
}

.page__2-icons-g2 span:nth-of-type(4) {
    transform: rotate(65deg) translate(calc(var(--circle-r) / 2)) rotate(-65deg);
}

.page__2-icons-g2 span:nth-of-type(5) {
    transform: rotate(137deg) translate(calc(var(--circle-r) / 2)) rotate(-137deg);
}

.page__2-icons-g2 svg {
    animation: counterClockwiseRotate 35s linear infinite;
}

.page__2-icons-g3>div {
    --circle-r: 160rem;
    width: var(--circle-r);
    height: var(--circle-r);
    animation: counterClockwiseRotate 45s linear infinite;
}

.page__2-icons-g3 span:nth-of-type(1) {
    transform: rotate(173deg) translate(calc(var(--circle-r) / 2)) rotate(-173deg);
}

.page__2-icons-g3 span:nth-of-type(2) {
    transform: rotate(245deg) translate(calc(var(--circle-r) / 2)) rotate(-245deg);
}

.page__2-icons-g3 span:nth-of-type(3) {
    transform: rotate(317deg) translate(calc(var(--circle-r) / 2)) rotate(-317deg);
}

.page__2-icons-g3 span:nth-of-type(4) {
    transform: rotate(29deg) translate(calc(var(--circle-r) / 2)) rotate(-29deg);
}

.page__2-icons-g3 span:nth-of-type(5) {
    transform: rotate(101deg) translate(calc(var(--circle-r) / 2)) rotate(-101deg);
}

.page__2-icons-g3 svg {
    animation: clockwiseRotate 45s linear infinite;
}

.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: #1B2442;
    border-radius: 5rem;
    padding: 1rem 2rem;
    display: inline-block;
}

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

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

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

.page__2-links {
    background-color: #FFF;
    border-radius: 20rem;
    position: absolute;
    bottom: 10rem;
    right: 8rem;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
}

.page__2-links:before {
    content: '';
    background-color: #FFF;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 20rem;
}

.page__2-link {
    font-size: 3.2rem;
    font-weight: 700;;
    line-height: 1.4;
    text-transform: uppercase;
    color: #76102B;
    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;
    border: .4rem solid #EF3C39;
    border-radius: 50%;
    position: relative;
    width: 18.8rem;
    height: 18.8rem;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page__2-link-icon svg {
    width: 100%;
    height: 100%;
    fill: #76102B;
}

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

.is-touchless a:hover .page__2-link-icon svg,
.is-touch a.hovered .page__2-link-icon svg {
    fill: #FFF;
    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-image: url('../images/pattern.svg');
    background-color: #FFF;
    background-size: contain;
    background-position: center;
    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: #F16322;
    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(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 */
}

/* #endregion */