/*
  Theme Name: CPL
  Author: Egloo
  Author URI: https://egloo.it
  Version: 1.2.45
*/

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: url("./assets/fonts/Montserrat-Regular.ttf"), format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url("./assets/fonts/Montserrat-Bold.ttf"), format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 800;
    src: url("./assets/fonts/Montserrat-ExtraBold.ttf"), format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 900;
    src: url("./assets/fonts/Montserrat-Black.ttf"), format("truetype");
}

@font-face {
    font-family: "Minercrafter";
    font-style: normal;
    font-weight: 400;
    src: url("./assets/fonts/Minecrafter-Regular.ttf"), format("truetype");
}

html:not(.instant) {
    scroll-behavior: smooth;
}

body {
    border: 20px solid var(--c-rose);
    background-color: var(--c-blue);
    background-repeat: repeat;
    background-position: left top;
}

body.locked {
    overflow: hidden;
}

:root {
    --c-blue: #283583;
    --c-light-blue: #07aaeb;
    --c-rose: #df3faf;
    --c-green: #119f9e;

    --site-width: 1180px;

    --ff-normal: "Montserrat", sans-serif;
    --ff-alternate: "Minercrafter", sans-serif;

    font-family: var(--ff-normal);
    font-size: 16px;
    line-height: 1.25;
    color: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: calc(var(--site-width) + 4rem);
    margin-inline: auto;
    padding: 0 2rem;
}

img:not([width]) {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

input,
textarea,
button {
    font-family: var(--ff-normal);
    font-size: 16px;
    color: var(--c-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

p:not(:last-child) {
    margin-bottom: 1.25em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-alternate);
}

.btn.intred {
    width: 6.75rem;
    position: fixed;
    bottom: 3.9rem;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background-image: url(./assets/img/bg-btn.svg);
    display: grid;
    text-align: center;
    transform: rotate(-90deg);
    right: -10px;
    align-items: center;
    line-height: 1;
    background-repeat: no-repeat;
    height: 3.8rem;
    z-index: 1;
    background-size: contain;
}

.btn.intred a {
    height: 100%;
    display: grid;
    align-items: center;
}

.btn.rose {
    display: flex;
    justify-content: center;
}

.btn.rose a,
section.new-rules .btn.rose button {
    border-radius: 2rem !important;
    background-color: var(--c-rose) !important;
    font-weight: 800 !important;
    color: black !important;
    font-size: 1.5rem !important;
    padding: 0.75rem 2.125rem !important;
    border: 3px solid black !important;
    text-align: center !important;
    text-transform: uppercase !important;
    position: relative !important;
    transition: all 300ms ease !important;
    top: 0 !important;
    left: -0.625rem !important;
    font-family: var(--ff-normal) !important;
    cursor: pointer !important;
}

.btn.rose:not(.height-auto) a,
section.new-rules .btn.rose:not(.height-auto) button {
    height: 59px !important;
}

section.new-rules .btn.rose button:hover,
.btn.rose a:hover {
    top: -0.625rem !important;
    left: 0rem !important;
}

section.new-rules .btn.rose button:hover:before,
.btn.rose a:hover:before {
    left: 0 !important;
    top: 0 !important;
}

section.new-rules .btn.rose button:before,
.btn.rose a:before {
    content: "";
    position: absolute;
    height: 59px;
    top: -0.625rem;
    left: 0.625rem;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 2rem;
    z-index: -1;
    transition: all 300ms ease;
}

section.disclaimer p {
    margin-top: 5.2rem;
    margin-bottom: 1.25rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stroked {
    -webkit-text-stroke: 2px var(--stroke-color, white);
    color: transparent;
    font-weight: 400;
    font-family: var(--ff-alternate);
}

header {
    position: absolute;
    top: 2.875rem;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
    left: 0;
}

header img {
    margin: 0 auto;
}

section.hero {
    display: flex;
    text-align: center;
    margin-bottom: 6.25rem;
    position: relative;
    min-height: 80vh;
    min-height: 80svh;
    min-height: clamp(500px, 80svh, 1500px);
}

section.hero::after {
    content: "";
    position: absolute;
    height: 50%;
    bottom: 0;
    width: 100%;
    left: 0;
    background-image: url("./assets/img/bg.svg");
    background-color: var(--c-blue);
    mask-image: linear-gradient(transparent, black);
    z-index: 1;
}

section.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60%;
    background-image: linear-gradient(to right, #110009, transparent);
    z-index: 1;
}

section.hero > .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
}

section.hero .wrapper {
    display: flex;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

section.hero .wrapper .logo {
    position: relative;
    z-index: 2;
    max-width: 32rem;
}

section.hero .wrapper .logo img {
    image-rendering: pixelated;
}

section.title {
    font-family: var(--ff-alternate);
}

section.title h1 {
    text-transform: uppercase;
    font-size: 3rem;
    line-height: 1.166667;
    font-weight: 400;
    color: var(--c-rose);
    text-align: center;
}

section.title span {
    color: var(--c-light-blue);
}

section.title h1.stroked span.accent {
    position: relative;
}

section.title h1.stroked span.accent::after {
    content: "'";
    top: 0;
    left: 50%;
    transform: translateX(26%) rotate(-45deg);
    position: absolute;
    line-height: 0;
}

section.rules {
    margin-top: 6.25rem;
}

section.rules .wrapper {
    border-radius: 1.5rem;
    background-color: var(--c-green);
    border: 3px solid black;
    box-shadow: 1.875rem -1.875rem 0 0 black;
    padding: 4rem;
    position: relative;
}

section.rules .wrapper iframe {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    display: block;
    max-width: none;
    aspect-ratio: 16/9;
}

section.rules .wrapper .btn {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateY(50%) translateX(-50%);
}

section.not-a-game {
    margin-top: 8.4375rem;
}

section.not-a-game .zones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

section.not-a-game .zones .zone.zone-quote {
    max-width: 34.0625rem;
    /*margin-left: auto;*/
    margin-left: 1.875rem;
}

@media (max-width: 767px) {
    section.not-a-game .zones .zone.zone-quote {
        margin-left: 0;
    }
}

section.not-a-game .zones .zone.zone-quote h2 {
    font-size: 3rem;
    line-height: 1.266667;
    letter-spacing: 1.44px;
    text-transform: uppercase;
}

section.not-a-game .zones .zone.zone-quote h2 span.stroked {
    --stroke-color: var(--c-rose);
}

section.not-a-game .zones .zone.zone-quote h2 span.accent {
    position: relative;
}

section.not-a-game .zones .zone.zone-quote h2 span.accent::after {
    content: "'";
    top: 0;
    left: 50%;
    transform: translateX(26%) rotate(-45deg);
    position: absolute;
    line-height: 0;
}

section.not-a-game .zones .zone.zone-data {
    max-width: 33.4375rem;
    margin-left: auto;
    position: relative;
}

section.not-a-game .zones .zone.zone-data #cat-1 {
    width: 100%;
    max-width: 14.8125rem;
    height: auto;
    position: absolute;
    bottom: calc(100% - 2.125rem);
    right: 12%;
}

@media (max-width: 767px) {
    section.not-a-game {
        --_cat-width: 9rem;
    }

    section.not-a-game .zones .zone.zone-quote {
        max-width: calc(100% - var(--_cat-width));
    }

    section.not-a-game .zones .zone.zone-quote br {
        display: none;
    }

    section.not-a-game .zones .zone.zone-data #cat-1 {
        max-width: var(--_cat-width);
        right: -1rem;
    }
}

section.not-a-game .zones .zone.zone-data .box {
    background-color: var(--c-light-blue);
    border: 3px solid black;
    border-radius: 1.5rem;
    padding: 1.25rem 1.375rem;
}

section.not-a-game .zones .zone.zone-data .box .text {
    border: 4px solid var(--c-rose);
    border-radius: 1.5rem;
    padding: 2.125rem 1.625rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

section.not-a-game .zones .zone.zone-data .box .text span {
    color: black;
}

section.new-rules {
    scroll-margin: 6.25rem;
    margin-block: 6.25rem;
}

section.new-rules p {
    text-transform: uppercase;
    font-size: 3rem;
    line-height: 1.166667;
    letter-spacing: 1.44px;
    text-align: center;
    text-wrap: balance;
    margin-bottom: 0;
}

section.new-rules p span.pink {
    color: var(--c-rose);
}

section.new-rules p img {
    margin-inline: auto;
    margin-top: 0.625rem;
    margin-bottom: 1.875rem;
}

section.new-rules .btn {
    margin-top: 6.25rem;
}

section.new-rules .btn {
    display: flex;
    align-items: center;
}

section.new-rules .btn button {
    all: revert !important;
}

section.new-rules .new-rules-content {
    position: relative;
    /*display: grid;*/
    /*grid-template-columns: 1px 1fr 1px;*/
}

section.new-rules .new-rules-content .cat-container {
    position: absolute;
}

section.new-rules .new-rules-content .floating-cat {
    /*position: absolute;*/
    /*width: 100%;*/
    height: auto;
}

section.new-rules .new-rules-content .floating-cat#cat-2 {
    width: 14.4375rem;
}

section.new-rules .new-rules-content .floating-cat#cat-3 {
    width: 13.125rem;
}

@media (max-width: 767px) {
    section.new-rules .new-rules-content .floating-cat#cat-2 {
        width: 10rem;
    }

    section.new-rules .new-rules-content .floating-cat#cat-3 {
        width: 9.5rem;
    }
}

section.new-rules .new-rules-content .cat-container#cat-container-2 {
    top: 0;
    left: -5%;
}

section.new-rules .new-rules-content .cat-container#cat-container-3 {
    top: 0;
    right: -5%;
}

@media (max-width: 767px) {
    section.new-rules .new-rules-content .cat-container#cat-container-2 {
        top: 105%;
        left: 5%;
    }

    section.new-rules .new-rules-content .cat-container#cat-container-3 {
        top: 105%;
        right: 5%;
    }
}

section.cards-swiper {
    overflow: hidden;
    margin-bottom: 8.875rem;
    /*margin-top: -4rem;*/
    margin-top: 6.25rem;
    /*padding-top: 4rem;*/
    padding-top: 4px;
}

section.cards-swiper .container {
    --site-width: 890px;
}

section.cards-swiper .swiper {
    overflow: visible;
}

section.cards-swiper .swiper .swiper-pagination {
    margin-top: 3.125rem;
    position: static;
    line-height: 0;
    --swiper-pagination-bullet-border-radius: 0;
    --swiper-pagination-bullet-inactive-color: white;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-color: var(--c-rose);
}

section.cards-swiper .swiper-slide {
    height: auto;
}

section.cards-swiper .swiper-slide .card {
    min-height: 25.5625rem;
    border: 4px solid white;
    border-radius: 1.5rem;
    height: 100%;
    padding-top: 2.5rem;
    padding-bottom: 3.125rem;
    padding-inline: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

section.cards-swiper .swiper-slide .card .top {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.72px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

section.cards-swiper .swiper-slide .card .top .icon {
    display: flex;
    justify-content: center;
}

section.cards-swiper .swiper-slide .card .bottom {
    position: relative;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.72px;
    color: var(--c-rose);
}

section.cards-swiper .swiper-slide .card .bottom img {
    max-width: 3.375rem;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
}

section.cards-swiper .swiper-slide .card .bottom p {
    position: relative;
}

section.game-changer {
    scroll-margin: 6.25rem;
}

section.game-changer .wrapper {
    border-radius: 1.5rem;
    background-color: var(--c-green);
    border: 3px solid black;
    box-shadow: 1.875rem -1.875rem 0 0 black;
    padding: 4rem;
    position: relative;
    min-height: 40.4375rem;
    display: grid;
    height: 0;
}

section.game-changer .wrapper .layers {
    display: grid;
}

section.game-changer .wrapper .layer {
    grid-column: -1/1;
    grid-row: -1/1;
}

section.game-changer .wrapper .layer.layer-fg {
    isolation: isolate;
    rotate: 354deg;
    translate: 2rem;
}

section.game-changer .wrapper .layer.layer-fg h2 {
    font-size: 3rem;
    line-height: 1.166667;
    letter-spacing: 1.44px;
    text-transform: uppercase;
}

section.game-changer .wrapper .layer.layer-fg h2 span.pink {
    color: var(--c-rose);
}

section.game-changer .wrapper .layer.layer-fg h2 span.accent {
    position: relative;
}

section.game-changer .wrapper .layer.layer-fg h2 span.accent::after {
    content: "'";
    top: 0;
    left: 50%;
    transform: translateX(26%) rotate(-45deg);
    position: absolute;
    line-height: 0;
}

section.game-changer .wrapper .layer.layer-fg h2 img {
    display: block;
    margin-bottom: 0.5em;
}

section.game-changer .wrapper .layer.layer-fg .btn {
    justify-content: start;
    margin-top: 8rem;
}

section.game-changer .wrapper .layer.layer-fg .btn a {
    font-size: 1.125rem !important;
    font-weight: 900 !important;
    line-height: 1.285714 !important;
    color: white !important;
    border: 0 !important;
    background-color: var(--c-light-blue) !important;
    height: auto !important;
}

section.game-changer .wrapper .layer.layer-fg .btn a::before {
    top: 0.625rem;
    background-color: var(--c-rose);
}

section.game-changer .wrapper .layer.layer-fg .btn a:hover {
    top: 0.625rem !important;
}

section.game-changer .wrapper .layer.layer-bg {
    place-self: end;
}

section.game-changer .wrapper .layer.layer-bg img {
    max-width: 30.375rem;
    animation: float 2s infinite alternate ease-in-out;
}

section.game-changer .wrapper .layer.layer-bg::after {
    content: "";
    height: 2.8125rem;
    width: 17.3125rem;
    background-image: radial-gradient(closest-side, black, transparent);
    display: block;
    margin-left: auto;
    margin-right: 5rem;
    opacity: 0.2;
    animation: float-shadow 2s infinite alternate ease-in-out;
}

section.game-changer .wrapper > .btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

@keyframes float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-40px);
    }
}

@keyframes float-shadow {
    from {
        opacity: 0.4;
        scale: 1;
    }
    to {
        opacity: 0.2;
        scale: 0.9;
    }
}

section.school .wrapper {
    display: flex;
    justify-content: center;
    margin-block: 8.75rem;
}

section.school .wrapper img {
    max-width: 870px;
    width: 100%;
}

section.cyber-project .wrapper {
    border-radius: 1.5rem;
    background-color: var(--c-green);
    border: 3px solid black;
    box-shadow: 1.875rem -1.875rem 0 0 black;
    padding: 4rem;
    position: relative;
    display: grid;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.72px;
    text-align: center;
    padding-block: 3.125rem;
}

section.videos {
    display: none;
    margin-top: 8.3125rem;
    margin-bottom: 9rem;
}

section.videos .wrapper {
    display: grid;
    --grid-item-width: 20rem;
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-width), 1fr));
    grid-template-columns: repeat(auto-fit, minmax(min(var(--grid-item-width), 100%), 1fr));
    gap: 1.875rem;
    row-gap: 3rem;
}

section.videos .wrapper div {
    position: relative;
}

section.videos .wrapper div img {
    border-radius: 1.5rem;
    box-shadow: 1.25rem -1.25rem 0 0 black;
    aspect-ratio: 369/517;
    object-fit: cover;
}

section.videos .wrapper div .btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: -50% 50%;
    width: 100%;
}

footer .footer-wrap {
    background-image: url("./assets/img/bg-footer.svg");
    background-size: 56rem;
    background-repeat: no-repeat;
    background-position: bottom;
}

footer {
    margin: 0.625rem 0 6.25rem 0;
    margin-top: 6.25rem;
}

footer .collaborations {
    text-align: center;
}

footer .collaborations > p {
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0.72px;
    font-weight: 700;
    color: white;
}

footer .collaborations .content {
    margin-top: 3.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

footer .collaborations .content > div {
    height: 100%;
    flex-basis: 12.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.222222;
    letter-spacing: 0.53px;
    font-weight: 400;
}

footer .collaborations .content .badges-grid {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    /*flex-wrap: wrap;*/
}

footer .awards .awards-grid {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-block-end: 12rem;
}

footer .awards .awards-grid img {
    flex-grow: 1;
    max-inline-size: 9.5625rem;
}

@media (max-width: 767px) {
    footer .collaborations .content .badges-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 0;
        grid-gap: 1rem;
    }

    footer .awards .awards-grid {
        margin-block-end: 2rem;
    }

    footer .awards .awards-grid img {
        max-inline-size: 7rem;
    }
}

footer .collaborations .content .badges-grid img {
    width: 9.5625rem;
    height: 9.5625rem;
    object-fit: contain;
}

footer .collaborations .content:nth-child(4) {
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
}

footer .collaborations .content:nth-child(4) img {
    height: auto;
}

footer .collaborations p:nth-child(3) {
    margin-top: 5.5rem;
}

footer .collaborations .content > div img {
    object-fit: contain;
    height: 9.5625rem;
}

footer .socials-wrapper {
    max-width: 51.8rem;
    margin: 0 auto;
}

footer .socials {
    margin-top: 6.25rem;
}

footer .socials .logo {
    margin-bottom: 3.125rem;
    display: flex;
    justify-content: center;
}

footer .socials .title {
    margin-bottom: 1.25rem;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

footer .socials .social {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}

@media (max-width: 767px) {
    body {
        border: 6px solid var(--c-rose);
    }

    .stroked {
        -webkit-text-stroke: 1px white;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .btn.intred {
        width: 5.75rem;
        bottom: 2.2rem;
        font-size: 1.125rem;
        right: -17px;
        height: 3.4rem;
        font-size: 1rem;
    }

    .btn.rose {
        width: 100%;
    }

    section.new-rules .btn.rose button,
    .btn.rose a {
        font-size: 1.2rem !important;
        padding: 0.75rem 1rem !important;
        display: grid;
        align-items: center;
        height: auto !important;
    }

    header img {
        max-width: 10rem;
    }

    footer {
        margin: 0.625rem 0 6rem 0;
        margin-top: 3.125rem;
    }

    footer .collaborations .content {
        display: flex;
        flex-direction: row;
        overflow: auto;
        flex-wrap: nowrap;
        justify-content: start;
        margin-inline: -1.5rem;
        padding-inline: 1.5rem;
        margin-top: 0;
    }

    footer .collaborations .content::-webkit-scrollbar {
        display: none;
    }

    footer .collaborations .content > * {
        flex-shrink: 0;
    }

    section.hero::before {
        display: none;
    }

    section.hero > .bg-image {
        object-position: 80% 0%;
    }

    section.hero {
        min-height: clamp(500px, 80svh, 800px);
    }

    section.hero .wrapper {
        align-items: end;
    }

    section.cards-swiper,
    section.hero {
        margin-bottom: 3.125rem;
    }

    section.new-rules .btn,
    section.rules {
        margin-top: 3.125rem;
    }

    section.videos,
    section.school .wrapper,
    section.new-rules {
        margin-block: 3.125rem;
        margin-block-end: 14rem;
    }

    section.new-rules {
        margin-block-end: 3rem;
    }

    section.school .wrapper,
    section.not-a-game {
        margin-top: 6rem;
    }

    section.school .wrapper {
        margin-block-end: 5rem;
    }

    section.game-changer .wrapper .layer.layer-fg h2,
    section.new-rules p,
    section.not-a-game .zones .zone.zone-quote h2,
    section.title h1 {
        font-size: 1.625rem;
        line-height: 1.1;
    }

    section.videos .wrapper div img,
    section.game-changer .wrapper,
    section.cyber-project .wrapper,
    section.rules .wrapper {
        box-shadow: 0.6rem -0.6rem 0 0 black;
    }

    section.rules .wrapper {
        padding: 1rem;
        padding-bottom: 3.5rem;
    }

    section.not-a-game .zones {
        display: flex;
        flex-direction: column;
        /*align-items: center;*/

        gap: 3rem;
        align-items: flex-start;
    }

    section.not-a-game .zones .zone.zone-data .box {
        padding: 1rem;
    }

    section.not-a-game .zones .zone.zone-data .box .text {
        font-size: 1rem;
        padding: 1rem;
    }

    section.cyber-project .wrapper {
        font-size: 1rem;
        padding: 2rem;
        line-height: 1.5;
    }

    section.game-changer .wrapper {
        padding: 2rem;
        text-align: center;
    }

    section.game-changer .wrapper .layer.layer-fg {
        rotate: none;
        translate: none;
    }

    section.game-changer .wrapper .layer.layer-fg img {
        max-width: 100%;
        margin-top: -0.2em;
        margin-bottom: 0.2em !important;
    }

    section.game-changer .wrapper .layer.layer-fg .btn {
        margin-top: 1em;
    }

    section.game-changer .wrapper .layer.layer-bg {
        padding-bottom: 2rem;
    }

    section.game-changer .wrapper .layer.layer-bg img {
        max-width: 100%;
    }

    section.game-changer .wrapper .layer.layer-bg::after {
        margin: 0;
        width: 80%;
        margin-inline: auto;
    }

    section.videos .wrapper {
        display: flex;
        overflow: auto;
        padding-block: 2rem;
        margin-inline: -1.5rem;
        padding-inline: 1.5rem;
    }

    section.videos .wrapper::-webkit-scrollbar {
        display: none;
    }

    section.videos .wrapper > * {
        flex-shrink: 0;
        max-width: 90%;
    }
}

[data-gsap-fader-child] {
    opacity: 0;
}

section.loading {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border: 20px solid var(--c-rose);
    background-color: var(--c-blue);
    background-image: url(./assets/img/bg.svg);
    background-repeat: repeat;
    background-position: left top;
    z-index: 6;
    display: grid;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all 300ms ease;
}

body.loaded section.loading {
    opacity: 0;
    visibility: hidden;
}

section.loading .content-wrap {
    max-width: 51.8125rem;
    margin: auto;
    position: relative;
    margin-top: -3.5rem;
    opacity: 0;
}

section.loading .content-wrap .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

section.loading .content-wrap .intro {
    padding-top: 6.25rem;
}

section.loading .content-wrap .text img,
section.loading .content-wrap .intro img {
    margin: 0 auto;
}

section.loading .content-wrap .text {
    margin-top: -1.95rem;
}

section.loading .content-wrap .loading-icons {
    display: flex;
    gap: 1.125rem;
    max-width: 32.75rem;
    margin: 0 auto;
    margin-top: 1.25rem;
}

section.loading .content-wrap .loading-icons img.loading-7 {
    margin-left: auto;
}

section.loading .content-wrap .loading-icons img {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

section.loading .content-wrap .loading-icons img.fade-in {
    opacity: 1;
}

@media (max-width: 767px) {
    body,
    section.loading {
        border: 6px solid var(--c-rose);
    }

    section.loading {
        height: 100%;
        height: 100swh;
    }

    section.loading .content-wrap {
        margin-top: -2rem;
    }

    section.loading .content-wrap .intro {
        padding-top: 4rem;
    }

    footer .socials .title:last-child {
        padding-top: 2rem;
    }

    footer .socials .title:last-child p {
        color: var(--c-rose);
        margin-top: -2rem;
        position: relative;
        top: 2rem;
    }

    footer .collaborations .content > div {
        flex: 1;
    }

    footer .collaborations .content > div p {
        font-size: 1rem;
    }

    footer .collaborations .content > div img {
        object-fit: contain;
        height: 3.5625rem;
    }

    footer .collaborations p:nth-child(3) {
        margin-top: 4.5rem;
    }

    footer .collaborations .content:nth-child(4) {
        margin-bottom: 5rem;
    }

    footer .socials {
        margin-top: 5.25rem;
    }
}

@media (max-width: 600px) {
    section.loading .content-wrap .loading-icons {
        display: flex;
        gap: 4.6vw;
        max-width: 32.75rem;
        margin: 0 auto;
        margin-top: 1rem;
    }

    section.loading .content-wrap .text {
        margin-top: -1.1rem;
    }

    section.loading .content-wrap .text {
        margin-top: -4.2vw;
    }

    section.loading .content-wrap .loading-icons img {
        width: 6.5vw;
    }
}

.new-card.new-card-game {
    max-inline-size: 54.9375rem;
    background-color: #283583;
    border-radius: 1.5rem;
    padding-block: 4.875rem 3.125rem;
    padding-inline: 2rem;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    outline: 4px solid black;
    position: relative;
    height: 100%;
    align-items: center;
}

.new-card.new-card-game .title span.accent {
    position: relative;
}

.new-card.new-card-game .title span.accent::after {
    content: "'";
    top: 0;
    left: 50%;
    transform: translateX(26%) rotate(-45deg);
    position: absolute;
    line-height: 0;
}

.new-card.new-card-game::before {
    border-radius: 1.5rem;
    content: "";
    position: absolute;
    inline-size: 100%;
    block-size: 100%;
    z-index: -1;
    background-color: #df3faf;
    outline: 4px solid black;
    inset-block-start: 0.625rem;
    inset-inline-start: 0.625rem;
}

.new-card.new-card-game .start {
    position: relative;
}

.new-card.new-card-game .icon {
    position: absolute;
    right: 0;
    top: -2rem;
    height: 3.5rem;
    width: auto;
}

.new-card.new-card-game .counter {
    /*color: #df3faf;*/
    font-size: 5.625rem;
    line-height: 1;
    margin-block-end: 1.375rem;

    -webkit-text-stroke: 7px var(--stroke-color, #df3faf);
    color: transparent;
    font-weight: 400;
    font-family: var(--ff-alternate);
}

.new-card.new-card-game .title {
    font-size: 3rem;
    line-height: 1.166667;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    font-family: var(--ff-alternate);
    max-width: 41.25rem;
}

.new-card.new-card-game .end {
    margin-block-start: 2rem;
}

.new-card.new-card-game .badge {
    inline-size: fit-content;
    margin-inline: auto;
    background-color: #df3faf;
    padding-inline: 3.125rem;
    padding-block: 1rem;
    border-radius: 1rem;
    font-style: italic;
    box-shadow: 0 5px 0 #05aaeb;
    margin-block-end: 3.5625rem;
    position: relative;
}

.new-card.new-card-game .badge img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.new-card.new-card-game .socials {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.new-card.new-card-game .socials p {
    margin-bottom: 0;
    text-transform: uppercase;
}

.new-card.new-card-game .socials .items {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.new-card.new-card-game .socials a {
    inline-size: 2.1875rem;
    block-size: 2.1875rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

@media only screen and (max-width: 768px) {
    .new-card.new-card-game {
        padding: 2rem;
        padding-inline: 1rem;
    }

    .new-card.new-card-game .counter {
        font-size: 2rem;
        -webkit-text-stroke-width: 2px;
    }

    .new-card.new-card-game .title {
        font-size: 2rem;
    }

    .new-card.new-card-game .icon {
        top: 0rem;
        inline-size: 2rem;
        block-size: 2rem;
    }

    .new-card.new-card-game .badge {
        padding-inline: 1rem;
        font-size: 0.875rem;
        margin-block-end: 2rem;
    }
}

section.new-rules#connettiti .container {
    --site-width: 994px;
}

section.new-rules#connettiti p.stroked {
    margin-block-end: 6.875rem;
}

@media only screen and (max-width: 768px) {
    section.new-rules#connettiti p.stroked {
        margin-block-end: 2rem;
    }

    section.new-rules#new-rules {
        margin-block-end: 14rem;
    }
}

section.favij-grid {
    margin-bottom: 6.875rem;
}

section.favij-grid .content {
    position: relative;
}

section.favij-grid .content .bg {
    width: 100%;
}

section.favij-grid .content {
    display: grid;
    grid-template-columns: [full-start] 1.2fr [box-start] 1fr [box-end full-end];
    align-items: center;
}

section.favij-grid img {
    grid-column: full;
    grid-row: 1;
}

section.favij-grid .box {
    margin-inline-end: 3rem;
    grid-column: box;
    grid-row: 1;
    /* position: absolute; */
    /* right: 3rem; */
    /* top: 50%; */
    /* transform: translateY(-50%); */
    /* width: calc(50% - 3rem); */
    background-color: var(--c-light-blue);
    border: 3px solid black;
    border-radius: 1.5rem;
    padding: 1.25rem 1.375rem;
}

section.favij-grid .box .text {
    border: 4px solid var(--c-rose);
    border-radius: 1.5rem;
    padding: 2.125rem 1.625rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

section.favij-grid .box .text span {
    color: black;
}

section.cta {
    margin-bottom: 6.875rem;
}

@media only screen and (min-width: 768px) {
    section.favij-grid .bg-mobile {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    section.favij-grid .box {
        padding: 0.5rem;
        margin-inline-end: 0;
    }

    section.favij-grid .box .text {
        padding: 1rem;
        font-size: 1.2rem;
        text-wrap: balance;
    }

    section.favij-grid .content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    section.favij-grid .bg-desktop {
        display: none;
    }

    section.favij-grid .bg-mobile {
        outline: 2px solid black;
        border-radius: 2rem;
    }

    section.favij-grid,
    section.cta {
        margin-block-end: 3.125rem;
    }
}
