@import url('global.css');


/* HEADER */
header,
.nav,
.nav ul {
    display: flex;
    align-items: center;
    flex-direction: row;
}

header {
    height: var(--header-height);
    justify-content: space-between;
    position: absolute;
    width: calc(100% - var(--sm) * 2);
    max-width: calc(var(--container-width) - var(--sm) * 2);
    z-index: 10000;
}

.logo img {
    height: 9rem;
}

.logo a {
    display: block;
}

.nav {
    gap: var(--lg);
}

.nav ul {
    gap: var(--lg);
    font-size: var(--fs-sm);
}

.nav ul.social-links {
    gap: var(--xs);
    
}

::-webkit-scrollbar {
    width: 5px;
    background: var(--secondary);
}

::-webkit-scrollbar-track {
    box-shadow: none;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--secondary);
    overflow-x: hidden;
}

.container {
    margin-inline: auto;
    width: 100%;
    max-width: var(--max-container);
    padding-left: var(--container);
    padding-right: var(--container);
    overflow: visible;
}

section h1 {
    margin-bottom: var(--gutter);
    font-weight: 300;
}

h2 {
    margin-bottom: var(--gutter);
}

h3 {
    margin-bottom: var(--gutter);
}

.hero {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100svh;
    flex-direction: column;
    justify-content: end;
    padding-block: var(--xl);
    pointer-events: none;
}

.reveal1 {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--xl)
}

.reveal2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--xs)
}

.reveal2 span {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--xs)
}

.draggable-boxes {
    position: absolute;
    overflow: hidden;
    top: 0;
    height: 100svh;
    width: 100svw;
    z-index: 1;
}

.box {
    top: 50%;
    width: 30vw;
    aspect-ratio: 1/1;
    position: absolute;
    transform: translate(-50%, -50%);
}

.box1 {
    left: 53%;
    background: center no-repeat url("/images/box/1.jpg");
    background-color: #2c458f;
}

.box2 {
    left: 50%;
    background: center no-repeat url("/images/box/2.jpg");
    background-color: #13121e;
}

.box3 {
    left: 49%;
    background: center no-repeat url("/images/box/3.jpg");
    background-color: #e38bb6;
}

.box4 {
    left: 50%;
    background: center no-repeat url("/images/box/4.jpg");
    background-color: #db5353;
}

.box5 {
    left: 52%;
    background: center no-repeat url("/images/box/5.jpg");
    background-color: rgb(132, 0, 255);
}


.arrow-container {
    position: absolute;
    left: -300px;
}

@media(width < 576px) {
    .box {
        top: 50%;
        width: 20rem;
        height: 20rem;
        position: absolute;
        transform: translate(-50%, -50%);
    }


    .logo img {
        height: 6rem;
    }
}


@media(width < 992px) {
    .nav ul {
        display: none;
    }

    .nav ul.social-links {
        display: flex;
        pointer-events:all
    }

    .reveal2 .emoji {
        display: none;
    }

}



@media(width < 1200px) {
    .nav ul {
        gap: var(--sm);
        font-size: var(--fs-sm);
    }

    .nav ul.social-links {
        gap: var(--xs);
    }
}

section {
    padding-block: var(--xl);
}

.slider {
    overflow: visible;
}

.swiper-slide {
    width: auto;
    display: flex;
    flex-direction: column;
}

.img-box {
    height: 35rem;
}

.img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.img-center {
    margin:auto;
    text-align:center;
}

.text-box {
    padding: var(--xs);
    background: var(--opacity);
}

.text-box-2 {
    padding-block: var(--container);
    background: var(--opacity);
}

@media(width < 900px) {
    .text-box-2 {
    padding-block: var(--md);
}
}


.gallery-container {
    position: relative
}

.swiper.slider .swiper-wrapper {
    transition-duration: .5s !important
}

.swiper-control.swiper-control-absolute {
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -40px;
    height: 80px
}

.swiper-button-next,
.swiper-button-prev {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-image: url(../images/icon/arrow-right.png);
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    margin-top: 0;
    background-color: var(--secondary);
    border: 1px solid var(--tertiary);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%)
}


@media(width < 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}


.swiper-button-prev {
    left: -40px;
    transform: rotate(180deg)
}

.swiper-button-next {
    right: -40px
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--xs);
}

@media(width > 0px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(width > 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(width > 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(width > 1450px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.card {
    background-color: var(--opacity);
    padding: var(--gutter);
    display: flex;
    flex-direction: column;
    gap: var(--md);
    justify-content: space-between;
}


.card>div {
    min-height: 52px;
}
p:not(:last-child) {
    margin-bottom: var(--xs);
}

.panel {
    display: flex;
    padding-block: var(--md);
    border-top: 1px solid var(--tertiary);
    gap: var(--xl);
    background-color: var(--secondary);
}

.panel-text {
    width: 55%;
}

.panel-text>*:first-child {
    padding-bottom: var(--xl);
}

.panel>*:first-child {
    width: 10%;
}

.circle {
    aspect-ratio: 1/1;
    background-color: var(--opacity);
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.circle img {
    max-width: 80%;
    object-fit: contain;
}


@media(width < 1200px) {
    .panel {
        display: flex;
        flex-direction: column;
        padding-block: var(--lg);
        border-top: 1px solid var(--tertiary);
        gap: var(--sm);
        background-color: var(--secondary);
    }

    .panel-text {
        width: 100%;
    }

    .panel-text>*:first-child {
        padding-bottom: 0;
    }

    .panel>*:first-child {
        width: 10%;
    }

    .circle {
        height: 35vh;
        background-color: var(--opacity);
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .circle img {
        height: 80%;
        object-fit: contain;
    }

}

.chars-random {
    white-space: pre-line;
}

.card-wrapper {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


.card-container {

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;
    justify-items: center;

    >* {
        grid-area: 1 / 1 / 2 / 2;
    }
}

section.annuncement {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scroll {
    display: flex;
    width: 100%;
    font-size: var(--fs-bar);
    line-height: 0.8;
    transition: opacity 200ms ease-in-out;
}

.scroll:hover {
    opacity: 0.5;
}

.scroll div {
    padding: 2rem 0;
    text-transform: uppercase;
    white-space: nowrap;
    will-change: transform;
    display: inline-flex;
    align-items: center;
    gap: var(--lg);
    padding-inline: var(--xl);
}


.scroll img {
    height: 80%;
    aspect-ratio: 1/1;
}

.scroll.text1 div {
    color: var(--tertiary);
}


.scroll.text2 div {
    color: var(--tertiary);
}


.text1 {
    width: 100vw;
}

.text2 {
    width: 100vw;
}

footer {
    display: flex;
    justify-content: space-between;
    padding-block: 50svh var(--lg);
}

.footer-logo img {
    height: 20rem;
}

footer div {
    display: flex;
    gap: var(--xxl);
    align-items: end;
}

footer div ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.end-links {
    display: flex;
    flex-direction: row;
    gap: var(--lg);
}

@media(width < 992px) {
    footer {
        flex-direction: column;
        gap:var(--sm)
    }

    footer div {
        flex-direction: column;
        align-items: start;
    }

    footer ul.end-links{
        flex-direction: column;
        gap: 10px;
    }
}