.homepage {
    position: relative;
    height: 90vh;
    width: 100%;
}

.homepage .swiper-section {
    height: 100%;
    width: 100%;
    background-color: black;
}

/* First Slide with video */
.welcome-slide > .welcome-content {
    position: fixed;
    top: 50%;
    text-align: center;
    padding: 0 20px;
    z-index: 99;
    transform: translate(-50%, -50%);
    width: 100%;
    left: 50%;
}

.welcome-slide > .welcome-content h1 {
    margin-bottom: 20px;
    position: relative;
}

.welcome-slide > .welcome-content h1:after {
    content: "";
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 1px;
    background-color: var(--white-color);
}

.welcome-slide > .welcome-content h1 {
    text-transform: uppercase;
}

.welcome-slide > .welcome-content p {
    width: 80%;
    margin: 40px auto 30px auto;
    display: block;
    font-weight: 300;
}

.welcome-slide > .welcome-content .btnsContainer {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.welcome-slide > .welcome-content a {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
}


/* Others slides */
.homeCard {
    height: 100%;
    width: 100%;
    justify-content: flex-end;
    position: relative;
    display: flex;
}

.homeCard .homeCard-background {
    position: absolute;
    height: 100%;
    width: 100%;
}

.homeCard .homeCard-content {
    width: 80%;
    z-index: 99;
    position: absolute;
    bottom: 70px;
    left: 20px;
}

.homeCard .homeCard-content h2 {
    transform: translateY(30px);
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1), transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: fit-content;
    margin-bottom: 20px;
    position: relative;
    line-height: 1;
}

.homeCard .homeCard-content h2:after {
    content: "";
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 0;
    height: 1px;
    background-color: transparent;
    transition: all 0.3s ease 1s;
}

.homeCard.swiper-slide-active .homeCard-content h2 {
    opacity: 1;
    transform: translateY(0);
}

.homeCard.swiper-slide-active .homeCard-content h2:after {
    background-color: var(--white-color);
    width: 64px;
}

.homeCard .homeCard-content p {
    max-width: 670px;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1), transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    margin: 30px 0 20px 0;
}

.homeCard.swiper-slide-active .homeCard-content p {
    transform: translateY(0);
    opacity: 1;
}

.homeCard .homeCard-content a {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s cubic-bezier(0.645, 0.045, 0.355, 1), transform 1s cubic-bezier(0.645, 0.045, 0.355, 1), border-bottom-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), scale 0.5s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.3s ease;
}

.homeCard.swiper-slide-active .homeCard-content a {
    transform: translateX(0);
    opacity: 1;
}

/* Swiper Progress bar */
.swiper-section .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background-color: var(--secondary-color);
}

/* Swiper buttons */
.swiper-section .swiper-button-prev,
.swiper-section .swiper-button-next {
    border-radius: 50%;
    border: 1px solid white;
}

.swiper-section .swiper-button-prev {
    left: auto;
    top: auto;
    bottom: 80px;
    right: 20px;
}

.swiper-section .swiper-button-next {
    left: auto;
    top: auto;
    bottom: 40px;
    right: 20px;
}


    /* Version Tablette */
    @media screen and (min-width: 768px) {
        /* First Slide with video */
        .welcome-slide .video-container {
            width: 100%;
        }

        .welcome-slide > .welcome-content {
            width: 75%;
        }

        /* Others slides */
        .homeCard .homeCard-content {
            left: 40px;
        }

        .homeCard .homeCard-content h2::after {
            top: calc(100% + 20px);
        }

        .homeCard .homeCard-content p {
            margin: 40px 0 30px 0;
        }


        /* Swiper buttons */
        .swiper-section .swiper-button-prev {
            bottom: 90px;
        }

        .swiper-section .swiper-button-prev,
        .swiper-section .swiper-button-next {
            right: 40px;
        }
    }


        /* Version Desktop */
        @media screen and (min-width: 992px) {
            /* First Slide with video */
            .welcome-slide > .welcome-content h1 {
                margin-left: auto;
                margin-right: auto;
                max-width: 950px;
            }
            
            /* Others slides */
            .homeCard .homeCard-content {
                left: 60px;
            }

            /* Swiper buttons */
            .swiper-section .swiper-button-prev {
                bottom: 100px;
            }

            .swiper-section .swiper-button-prev,
            .swiper-section .swiper-button-next {
                right: 60px;
            }
        }