/* #region - global */

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

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

body {
    font-family: 'Euclid-Circular-B', 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: #001D4A;
    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: #001D4A;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page__1-background img {
    max-width: 120rem;
    position: absolute;
    bottom: 0rem;
    right: 8rem;
    animation: up-down 5s ease infinite;
}

@keyframes up-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10rem);
    }
}

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

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

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

.page__1-tb {
    min-width: 96rem;
    display: inline-block;
}

.page__1-title {
    font-size: 7.2rem;
    font-weight: 700;
    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;
    text-align: center;
    color: #001D4A;
    background-color: #FFF;
    border-bottom: .5rem solid #10CEC8;
    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: #001D4A;
    background-color: #FF5F00;
    border-color: #10CEC8;
}

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

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

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

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

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

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

.page__2-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.page__2-arrow {
    position: absolute;
    bottom: -15rem;
    width: 18rem;
    animation: up-loop 10s linear infinite;
}

.page__2-arrow:nth-child(1),
.page__2-arrow:nth-child(2),
.page__2-arrow:nth-child(3) {
    z-index: 1;
    animation: none;
}

.page__2-arrow:nth-child(1) {
    width: 72rem;
    top: -4rem;
    left: 22rem;
}

.page__2-arrow:nth-child(2) {
    width: 36rem;
    top: 8rem;
    left: 104rem;
}

.page__2-arrow:nth-child(3) {
    width: 56rem;
    top: 38rem;
    left: 128rem;
}

.page__2-arrow:nth-child(4) {
    left: -9rem;
    animation-delay: 0s;
    animation-duration: 10s;
}

.page__2-arrow:nth-child(5) {
    left: 15rem;
    animation-delay: 1s;
    animation-duration: 17s;
}

.page__2-arrow:nth-child(6) {
    left: 45rem;
    animation-delay: 3s;
    animation-duration: 10s;
}

.page__2-arrow:nth-child(7) {
    left: 99rem;
    animation-delay: 2s;
    animation-duration: 18s;
}

.page__2-arrow:nth-child(8) {
    left: 140rem;
    animation-delay: 1s;
    animation-duration: 12s;
}

.page__2-arrow:nth-child(9) {
    left: 170rem;
    animation-delay: 3s;
    animation-duration: 20s;
}

@keyframes up-loop {
    0% {
        transform: translateY(-22rem);
    }

    100% {
        transform: translateY(-123rem);
    }
}

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

.page__2-links-background {
    background-color: #FF5F00;
    position: absolute;
    left: -6rem;
    bottom: -4rem;
    width: calc(100% + 12rem);
    height: calc(100% + 8rem);
}

.page__2-link {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    color: #FFF;
    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-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: #FFF;
}

.page__2-link-icon svg:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #001D4A;
}

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

.is-touchless a:hover .page__2-link-icon svg:nth-child(2),
.is-touch a.hovered .page__2-link-icon svg:nth-child(2) {
    fill: #FFF;
}

/* #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 {
    color: #001D4A;
    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/modal-side-arrow.svg');
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: -1rem 75rem;
    background-color: #001D4A;
    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__post {
    line-height: 2;
    width: 100%;
    padding: 8rem;
    overflow: auto;
    display: flex;
}

.modal__post>div {
    margin: 4rem;
    flex: 1;
}

.modal__text h2 {
    font-size: 4.2rem;
    line-height: 1.2;
    margin: 0 0 4rem;
}

.modal__text h2 span {
    color: #FF5F00;
}

.modal__text p {
    margin: 4rem 0;
}

.modal__image img {
    height: 100%;
    object-fit: cover;
}

.modal__logos {
    width: 100%;
    padding: 4rem;
}

.modal__logos-items {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.modal__logos-items>div {
    position: relative;
    height: 33.33%;
    padding: 2rem;
    flex: 0 0 auto;
}

.modal__logos-items img {
    height: 100%;
    margin: auto;
    object-fit: contain;
}

.modal__logos-items span {
    font-size: 1.4rem;
    margin: auto;
    display: table;
}

.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__close {
    background-color: #FF5F00;
    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: .8s;
}

.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: .8s;
    /* 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 */