/*
*
* @Copyright 2023 VOID SOFTWARE, S.A.
*
*/

:root {
    --mobile-navbar-height: 60px;
    --desktop-navbar-height: 96px;
    --cursor-color: #c2c2c2;
}

@font-face {
    font-family: Nunito;
    src: url(../assets/fonts/Nunito-VariableFont_wght.ttf);
}

@font-face {
    font-family: Nunito Sans;
    src: url(../assets/fonts/NunitoSans-VariableFont_wght.ttf);
}

html,
body {
    display: block;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    overflow-x: clip;
}

body > .screen-container:not(:last-of-type) {
    margin-bottom: 200px;
}

.cursor {
    display: none;
    z-index: 100;
}

.small {
    height: 10px;
    width: 10px;
    background-color: var(--cursor-color);
    border-radius: 10px;
    filter: drop-shadow(0 0 5px var(--cursor-color)) drop-shadow(0 0 20px var(--cursor-color));
    
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: height 0.2s, width 0.2s;
}

.big {
    height: 50px;
    width: 50px;
    border: 3px solid var(--cursor-color);
    border-radius: 100px;
    filter: drop-shadow(0 0 5px var(--cursor-color)) drop-shadow(0 0 20px var(--cursor-color));
    
    position: fixed;
    pointer-events: none;
    transform: translate(calc(-50%), -50%);
    transition: height 0.5s, width 0.5s, filter 0.5s;
}

.hover__big {
    height: 100px;
    width: 100px;
    filter: drop-shadow(0 0 5px var(--cursor-color)) drop-shadow(0 0 20px var(--cursor-color)) drop-shadow(0 0 40px var(--cursor-color));
    
    transition: height 0.5s, width 0.5s, filter 0.5s;
}

.hover__small {
    height: 8px;
    width: 8px;
    
    transition: height 0.2s, width 0.2s;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

nav {
    width: 100%;
    height: var(--mobile-navbar-height);
    position: fixed;
    top: 0;
    z-index: 10;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

nav > .navbar-logo {
    height: 36px;
}

.navbar-logo > img {
    height: 100%;
}

.navbar-links-group {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

#menu-toggle {
    display: block;
    margin: auto 0;
    height: 24px;
    position: relative;
}

#menu-toggle input {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    position: relative;
    
    background: #cdcdcd;
    border-radius: 3px;
    
    z-index: 1;
    
    transform-origin: 4px 0px;
    
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.3s ease-out;
}

#menu-toggle span:first-child {
    transform-origin: 0% 0%;
}

#menu-toggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menu-toggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -13px);
}

#menu-toggle input:checked~span:nth-last-child(3) {
    transform: rotate(-45deg) translate(-5px, 14px);
}

#menu-toggle input:checked~span:nth-last-child(2) {
    opacity: 0;
    transform: unset;
}

#navbar-links {
    background-color: #000;
    position: absolute;
    top: var(--mobile-navbar-height);
    left: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 0 0 20px;
    visibility: hidden;
    gap: 24px;
}

#navbar-links.open {
    opacity: 1;
    height: calc(100vh - var(--mobile-navbar-height));
    visibility: visible;
}

#navbar-links a {
    color: #FFF;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    text-decoration: none;
}

.welcome-container {
    min-height: 550px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.welcome-container h1 {
    text-align: center;
    font-family: Nunito;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 57px;
    letter-spacing: -0.48px;
    margin-top: calc(var(--mobile-navbar-height) + 70px);
}

.welcome-container p {
    color: #D0D0D0;
    text-align: center;
    font-family: Nunito Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.welcome-container > :not(.matrix-background) {
    z-index: 1;
}

.welcome-container > img {
    max-height: 28px;
}

.screen-container {
    width: 100vw;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

.screen-container.card-container {
    background-color: #fff;
}

.card-container {
    border: 1px solid #fff;
}

.sticky-content-wrapper {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.sticky-content-wrapper > .screen-container:not(:last-of-type) {
    margin-bottom: 100px;
}

.contact-us-link-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    padding: 50px 20px;
    background: url('../assets/images/grid.svg') bottom center no-repeat, linear-gradient(180deg, #00000000 60%, #083E0B 100%);
}

.contact-us-link-container h1 {
    color: #FFF;
    text-align: center;
    font-family: Nunito;
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 52px;
    letter-spacing: -0.16px;
}

.contact-us-link-container p {
    color: #D0D0D0;
    text-align: center;
    font-family: Nunito Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.contact-us-link-container a {
    text-align: center;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;

    background: linear-gradient(90deg, #39B54A -5.59%, #97F2A4 109.93%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-us-link-container button {
    padding: 16px 24px;
    border: none;
    border-radius: 99px;
    background-color: #FFF;
}

.card {
    color: #000;
    height: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
}

.card-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
    align-items: flex-start;
}

.info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 44px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.logo-container img {
    max-height: 40px;
}

.info-container h1 {
    color: #000;
    font-family: Nunito;
    font-size: 38px;
    font-style: normal;
    font-weight: 800;
    line-height: 56px;
    letter-spacing: -0.192px;
}

.info-container h2 {
    font-family: Nunito Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 21px;
    letter-spacing: 0.56px;
    text-transform: uppercase;
}

.info-container p {
    color: #555;
    font-family: Nunito Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

#sense-finity-img {
    height: 50px;
}

.matrix-background {
    background-size: 50px 50px;
    background-image:
    linear-gradient(to right, #fff 2px, transparent 1px),
    linear-gradient(to bottom, #fff 2px, transparent 1px);
    background-attachment: scroll;
    background-position: top center;
    
    width: 100%;
    height: calc(100% - var(--mobile-navbar-height));
    margin-top: var(--mobile-navbar-height);
    
    position: absolute;
    top: 0;
    left: 0;
    opacity: .618;
}

.portuguese-flag-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: clip;
}

.portuguese-flag-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(50% 69.17% at 50% 0%, rgba(0, 0, 0, 0.00) 0%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.40) 0%, rgba(57, 181, 74, 0.40) 40.1%, rgba(237, 28, 36, 0.40) 67.71%, rgba(4, 2, 2, 0.4) 100%);
}

.shooting-ball {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    position: absolute;
    z-index: 1;
}

.ball {
    width: 20px;
    height: 20px;
    
    border-radius: 50%;
    display: block;
}

.ball-red {
    background-color: #f00;
}

.ball-green {
    background-color: #39B54A;
}

.trail {
    display: block;
    width: 500px;
    height: 4px;
}

#shooting-green-ball-horizontally {
    animation: move-x 3s linear infinite;
    top: calc(var(--mobile-navbar-height) + 190px);
}

#shooting-green-ball-horizontally > .trail {
    width: 450px;
    transform: translateX(-2px);
    background: linear-gradient(to right, #39B54A 50%, rgba(0, 0, 0, 0));
}

#shooting-green-ball-vertically {
    animation: move-y 4s linear infinite;
    left: calc(50% + 316px);
    top: 45%;
    flex-direction: column;
}

#shooting-green-ball-vertically > .trail {
    height: 135px;
    width: 4px;
    background: linear-gradient(to top, #39B54A 50%, rgba(0, 0, 0, 0));
}

#shooting-red-ball-vertically {
    animation: move-y 3.5s linear infinite reverse;
    left: calc(50% - 134px);
    top: 45%;
    flex-direction: column-reverse;
}

#shooting-red-ball-vertically > .trail {
    height: 135px;
    width: 4px;
    background: linear-gradient(to bottom, #f00 50%, rgba(0, 0, 0, 0));
}

#shooting-red-ball-vertically-2 {
    animation: move-y 2.2s linear infinite reverse;
    left: calc(50% - 334px);
    top: 45%;
    flex-direction: column-reverse;
}

#shooting-red-ball-vertically-2 > .trail {
    height: 135px;
    width: 4px;
    background: linear-gradient(to bottom, #f00 50%, rgba(0, 0, 0, 0));
}

.symboled-title {
    display: inline-flex;
}

.numbers-container {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 44px;
    align-content: center;
    justify-content: center;
}

.numbers-container > * {
    text-align: center;
}

.numbers-container h1 {
    text-align: center;
    font-family: Nunito;
    font-size: 100px;
    font-style: normal;
    font-weight: 700;
    line-height: 132px;
}

.numbers-container p {
    color: #FFF;
    text-align: center;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.text-orange-gradient {
    background: linear-gradient(90deg, #EF7A42 0%, #FFCB37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue-gradient {
    background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan-gradient {
    background: linear-gradient(90deg, #1EFADF 0%, #ACF42D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-pink-gradient {
    background: linear-gradient(90deg, #FC67FA 0%, #F4C4F3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-red-gradient {
    background: linear-gradient(90deg, #F45C43 0%, #EB3349 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-yellow-gradient {
    background: linear-gradient(90deg, #FFE351 0%, #FFE259 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-1 {
    background: linear-gradient(90deg, #D35BC7 0%, #F3344B 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-2 {
    background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-3 {
    background: linear-gradient(90deg, #D4BBFF 0%, #8A3FFC 98.96%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-4 {
    background: linear-gradient(90deg, #FF5E62 0%, #F96 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-5 {
    background: linear-gradient(90deg, #0062FF 0%, #6FA3FF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-6 {
    background: linear-gradient(90deg, #F857A6 0%, #FF5858 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-7 {
    background: linear-gradient(90deg, #182848 0%, #4B6CB7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-8 {
    background: linear-gradient(90deg, #314755 0%, #26A0DA 28.16%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-work-package-9 {
    background: linear-gradient(90deg, #56AB2F 0%, #A8E063 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scroll-effect-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.scroll-effect-title {
    text-transform: uppercase;
    text-align: center;
    font-family: Nunito Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 1.6px;
    background: linear-gradient(99deg, #8BFFAC -3.75%, #1AA541 116.67%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
}

.scroll-effect-text {
    color: #fff;
    font-family: Nunito;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.32px;
    position: relative;
}

.scroll-effect-gradient {
    position: absolute;
    top: -10%;
    left: 0;
    height: 110%;
    width: 100%;
    transition: background-size 0.2s ease-out;
    background: linear-gradient(180deg, transparent, #000 3rem) no-repeat bottom center/100% 100%;
}

.sponsor-group {
    display: grid;
    grid-template-columns: repeat(2, 140px);
    grid-auto-rows: 140px;
    margin: 0 auto;
    align-content: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.sponsor-group > div {
    padding: 15px;
    box-sizing: border-box;
    
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #E9E9E9;
}

.sponsor-group img {
    max-width: 100px;
    max-height: 100px;
}

.green-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #434343;
    margin: 30px 20px 0 20px;
    padding-top: 20px;
}

footer > img {
    height: 36px;
}

.rights-reserved {
    color: #848895;
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 27.3px;
}

.designed-by {
    color: #D0D0D0;
    font-family: Nunito Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.designed-by > * {
    display: inline;
}

.designed-by a:link {
    background: linear-gradient(88deg, #FFA8A8 1.21%, #E785FF 99.17%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-container > img {
    margin: 20px 0 40px 0;
}

/* For Desktop */
@media only screen and (min-width: 760px) {
    * {
        cursor: none;
    }

    body, html {
        scroll-snap-points-y: repeat(10vh);
        scroll-snap-type: y proximity;
    }
    
    .cursor {
        display: unset;
    }

    body .screen-container {
        margin: unset;
    }
    
    nav {
        height: 96px;
        padding: 0 125px;
        background: rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    
    nav > .navbar-logo {
        height: 48px;
    }

    #menu-toggle {
        display: none;
    }
    
    #navbar-links {
        visibility: visible;
        position: static;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding: 0;
        opacity: 1;
        transition: unset;
        background: transparent;
    }
    
    #navbar-links a {
        color: rgba(255, 255, 255, 0.60);
        font-family: Nunito;
        font-size: 14px;
        letter-spacing: 0.28px;
        transition: color .2s ease;
    }
    
    #navbar-links a:hover {
        color: #fff;
    }

    .screen-container {
        height: 100vh;
        padding: 0 10%;
    }
    
    .welcome-container {
        padding: 0 30%;
        gap: 44px;
        height: 100vh;
        min-height: unset;
        justify-content: center;
        align-items: center;
    }

    .contact-us-link-container {
        padding: 0 30%;
    }
    
    .welcome-container h1 {
        font-size: 64px;
        line-height: 72px;
        letter-spacing: -0.64px;
        margin-top: 50px;
    }

    .screen-container.card-container {
        background-color: unset;
    }

    .card-container {
        display: flex;
        justify-content: center;
        align-items: center;

        transform: translateZ(0);
        position: sticky;
        top: 0;
    }

    .card {
        background-color: #fff;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        height: 75vh;
        width: 100%;

        padding: 64px;
        box-sizing: border-box;
        
        border-radius: 32px;
        box-shadow: 0px -24px 64px 0px rgba(0, 0, 0, 0.08);
    }

    .card > * {
        width: 45%;
    }

    .info-container h1 {
        font-size: 48px;
    }

    .card-reverse {
        flex-direction: row-reverse;
    }
    
    .portuguese-flag-background {
        width: 100vw;
        height: 100%;
    }
    
    .matrix-background {
        background-position: top center;
        
        height: calc(100% - var(--desktop-navbar-height));
        margin-top: var(--desktop-navbar-height);
    }
    
    .matrix-background::after {
        top: calc(var(--desktop-navbar-height) * -1);
        height: calc(100% + var(--desktop-navbar-height));
    }
    
    #shooting-green-ball-horizontally {
        top: calc(var(--desktop-navbar-height) + 140px);
    }
    
    .numbers-container {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 84px;
    }
    
    .numbers-container h1 {
        font-weight: 800;
    }

    .scroll-effect-text {
        font-size: 64px;
        line-height: 80px;
        letter-spacing: -0.64px;
    }

    .sticky-content-wrapper {
        width: 100vw;
        overflow-x: clip;
        background-color: transparent;
        padding-top: unset;
        padding-bottom: unset;
    }

    .sticky-content-wrapper > .screen-container:not(:last-of-type) {
        margin: unset;
    }

    .sticky-content-wrapper > :first-child {
        background: radial-gradient(50% 50% at 50% 50%, #F00 0%, rgba(0, 0, 0, 0.00) 100%);
        background-position: center;
    }

    .card-container {
        scroll-snap-align: start;
        border: none;
    }

    .col-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .col-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    footer {
        margin: unset;
        border: unset;
        padding: 50px 90px 40px 90px;
        gap: 40px;

    }

    footer > img {
        height: 48px;
    }

    .contact-container {
        position: relative;
        width: 100%;
    }

    .contact-container > img {
        margin: unset;
        position: absolute;
        right: 0;
        bottom: 50%;
        transform: translateY(50%);
    }
}

@keyframes move-x {
    0% {
        right: calc(0% - 470px);
    }
    
    100% {
        right: calc(100% + 470px);
    }
}

@keyframes move-y {
    0% {
        top: calc(0% - 150px);
    }
    
    50% {
        opacity: 1;
    }
    
    70% {
        opacity: 0;
    }
    
    100% {
        top: calc(100%);
        opacity: 0;
    }
}
