@import url('fonts.css');

/* General */

body {
    background-color: #E94A42;
    color: #FFFFFF;
    font: 1.125rem/1.5 var(--bs-font-sans-serif);
    /* 1.125rem ≈ 18px (16px * 1.125) */
    font-family: 'Rival', sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden !important;
}

footer {
    background-color: #B12B24;
    bottom: 0;
    padding-top: 10vh;
    padding-bottom: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer img {
    width: 70%;
}

p {
    font: 1.125rem/1.5 var(--bs-font-sans-serif);
    font-family: 'Rival', sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

h1,
h2 {
    text-transform: uppercase;
    font-family: 'MayenneSans', sans-serif;
}

h2 {
    font-size: 3.4rem;
    /* 55px */
}

h3 {
    font-size: 2.2rem;
    font-family: 'Rival', sans-serif;
    font-weight: 900;
}

.highlight-h2 {
    position: relative;
    display: inline-block;
    color: white;
    padding: 1rem 1.5rem;
    /* 16px → 1rem, 24px → 1.5rem */
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: -1.54px;
    line-height: 2.5rem;
}

.highlight-h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
}

.h2-dark-red-bg::before,
.stats-dark-red::before {
    background-color: #B12B24 !important;
}

.h2-yellow-bg::before,
.stats-yellow::before {
    background-color: #E49B27 !important;
}

.h2-pink-bg::before,
.stats-pink::before {
    background-color: #F29095 !important;
}

.h2-light-red-bg::before,
.card-light-bg,
.stats-light-red::before {
    background-color: #E94A42 !important;
}

.stats-container p {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
}

.stats {
    position: relative;
    display: inline-block;
    color: white;
    padding: 0rem 1.8rem;
    /* 16px → 1rem, 24px → 1.5rem */
    z-index: 1;
    text-transform: uppercase;
    font-size: 3.8rem;
    line-height: 4.7rem;
    /* 63px */
    font-weight: 400;
    min-width: 160px;
}

.stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
    transform: skewX(25deg);
}

/* Cards */

.card {
    border-radius: 70px;
    background-color: #B12B24;
    border: none;
    align-items: center;
    padding: 10% 2vw;
    color: white;
    box-sizing: border-box;
}

.card .img-container {
    height: 20vh !important;
    align-items: center;
    justify-content: center;
    display: flex;
}

.card img {
    width: 70%;
    max-height: 80%;
}

.card .description {
    font-size: 16px;
    word-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    height: 20%;
}

.card-container {
    display: flex;
    overflow-x: hidden;
    /* force les cartes sur une seule ligne */
    white-space: nowrap;
    cursor: grab;
    width: 100vw;
    height: 60vh;
}

.card-container .card {
    /* Espacement entre les cartes */
    display: flex;
    flex: 0 0 auto;
    width: calc(24% - 1rem);
    /* Largeur fixe pour chaque carte */
    margin-right: 20px;
    /* Marge entre les cartes */
    /* Largeur fixe pour chaque carte */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-container .card:last-child {
    margin-right: 800px;
    /* Supprime la marge à droite de la dernière carte */
}

.scroll-btn-card {
    position: absolute;
    background: transparent;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    bottom: 12vh;
    opacity: 0.8;
}

.scroll-btn-card:hover {
    opacity: 1;
}

.left-btn-card {
    left: 40%
}

.right-btn-card {
    left: 45%
}

/* Header */

.hero-section p {
    text-align: center;
    font-size: 1.56rem;
    /* 25px */
    font-weight: 900;
}

.hero-section img {
    width: 50%;
}

.container-fluid {
    position: relative;
    overflow-y: visible;
}


#section1::before,
#section1::after,
#section2::before,
#section2::after,
#section2 .bg-drawing,
#section2 .img-collectivite-labellisee,
#section3::before,
#section3::after,
#section3 .corde-a-sauter,
#section4::before,
#section4::after,
#section5 .heart-hands,
#section5 .hockey-img,
#section6::before,
#section6::after,
#section8 .feu-artifice,
#section8 .baskets,
#section7 .flamme-img,
#section9::before {
    content: "";
    position: absolute;
    background-repeat: no-repeat;
    z-index: -1;
    /* Pour que ça reste en arrière-plan */
}

#section6,
#section4,
#section5,
#section3,
#section8 {
    z-index: 0;
    padding-top: 5vh;
    padding-bottom: 20vh;
}

#section5,
#section3,
#section7 {
    background-color: #B12B24;
}

/* First section */

#section1::before {
    background-image: url('../assets/images/tennis.webp');
    background-size: 31vw;
    width: 32vw;
    height: 32vw;
    top: 15vh;
    left: -12vw;
}

#section1::after {
    background-image: url('../assets/images/illustrations/dessin-4.svg');
    background-size: auto;
    width: 40vw;
    /* Ajuste en fonction du besoin */
    height: 40vh;
    top: 10vh;
    left: 50vw;
}


#section1 a {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 900;
}

#section1 .introduction {
    letter-spacing: 0;
    font-weight: 500;
    line-height: 1.5rem;
    width: 46.53vw;
}

#section1 .h2-dark-red-bg {
    font-size: 2.1rem;
}

@keyframes arrowBounce {

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

    50% {
        transform: translateY(3px);
    }
}

/* Appliquer l'animation aux flèches */
.white-arrow {
    animation: arrowBounce 1s infinite ease-in-out;
}


/* Second section */

#section2 {
    z-index: 1;
    padding-bottom: 20vh;
}

#section2::before {
    background-image: url('../assets/images/illustrations/dessin-7.svg');
    background-size: auto;
    width: 30vw;
    height: 30vh;
    top: 5vh;
    left: -2vw;
}

#section2::after {
    background-image: url('../assets/images/illustrations/dessin-6.svg');
    background-size: auto;
    width: 35vw;
    height: 35vh;
    top: 79vh;
    left: -4vw;
}

#section2 .bg-drawing {
    background-image: url('../assets/images/illustrations/dessin-3.svg');
    background-size: auto;
    width: 40vw;
    height: 40vh;
    top: -15vh;
    left: 65vw;
}

#section2 .img-collectivite-labellisee {
    background-image: url('../assets/images/terre-de-jeux-labellisee.svg');
    background-size: 30vw;
    width: 30vw;
    height: 30vh;
    bottom: -13vh;
    left: 11vw;
}

#section2 .illustration {
    margin-left: -3vw;
}

/* Third section */

#section3::before {
    background-image: url('../assets/images/illustrations/dessin-9.svg');
    background-size: auto;
    width: 20vw;
    height: 33vh;
    top: 15vh;
    left: 1vw;
}

#section3 .corde-a-sauter {
    background-image: url('../assets/images/illustrations/dessin-10.svg');
    background-size: auto;
    width: 50vw;
    height: 50vh;
    top: -2vh;
    left: 82vw;
    z-index: 2;
}

/*Fourth section*/

#section4 {
    overflow-y: hidden !important;
    padding-bottom: 15vh;
}

#section4::before {
    background-image: url('../assets/images/illustrations/dessin-terrain.svg');
    background-size: 50vw;
    width: 50vw;
    height: 50vw;
    top: 42vh;
    right: 0;
}

/*Fifth section*/

#section5 {
    padding-bottom: 5vh;
}

#section5 .heart-hands {
    background-image: url('../assets/images/illustrations/dessin-coeur.svg');
    background-size: auto;
    width: 50vw;
    height: 50vh;
    top: -10vh;
    left: 8vw;
    z-index: 2;
}

#section5 .hockey-img {
    background-image: url('../assets/images/illustrations/dessin-hockey.svg');
    background-size: auto;
    width: 50vw;
    height: 50vh;
    top: 75vh;
    right: -28vw;
    z-index: 2;
}

/* Sixth section */

#section6::before {
    background-image: url('../assets/images/illustrations/dessin-12.svg');
    background-size: auto;
    width: 45vw;
    height: 68vh;
    bottom: 0vh;
    right: 1vw;
}

/* Seventh section */
#section7 {
    padding: 0;
    padding-top: 5vh;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

#section7 h3 {
    font-size: 1.6rem;
}

#section7 .flamme-img {
    background-image: url('../assets/images/illustrations/dessin-flamme.svg');
    background-size: auto;
    width: 60vw;
    height: 100vh;
    top: -5vh;
    left: -1vw;
    z-index: 1;
}

.frise-wrapper {
    position: relative;
    padding: 0;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.frise-container {
    width: 100vw;
    overflow-x: hidden;
    white-space: nowrap;
    cursor: grab;
}

.frise-container img {
    display: block;
    width: auto;
    height: auto;
    user-select: none;
    /* Empêcher la sélection de texte */
    pointer-events: none;
    /* Empêcher les événements de pointeur sur l'image */
}


/* Boutons de défilement */
.scroll-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    bottom: 3vh;
    opacity: 0.9;
}

.scroll-btn:hover {
    opacity: 1;
}

.left-btn {
    left: 45%;
}

.right-btn {
    right: 45%;
}

/* Section eight */

#section8 {
    padding-bottom: 5vh;
}

#section8 .illustration {
    margin-left: -5vw;
}

#section8 .stats-container-column {
    margin-left: -5vw;
    gap: 2vh;
    display: flex;
    flex-direction: column;
    padding-top: 7vh;
}

#section8 .card {
    width: 85%;
    padding-top: 8%;
    padding-bottom: 8%;
}

#section8 .feu-artifice {
    background-image: url('../assets/images/illustrations/dessin-15.svg');
    background-size: auto;
    width: 50vw;
    height: 25vw;
    bottom: 20vh;
    right: 0vw;
}

#section8 .baskets {
    background-image: url('../assets/images/illustrations/dessin-14.svg');
    background-size: auto;
    width: 20vw;
    height: 20vw;
    top: -4vh;
    left: 33vw;
}

/* Section 9 */

#section9 {

    padding-bottom: 15vh;
}

#section9::before {
    background-image: url('../assets/images/illustrations/dessin-16.svg');
    background-size: auto;
    width: 40vw;
    height: 40vh;
    top: 0vh;
    left: 70vw;
}

/* Carousel */

/* Ajuste la largeur des colonnes dans le carousel */
.carousel-item .row {
    display: flex;
    justify-content: center;
}

.carousel-item .col-4 {
    flex: 0 0 33.33%;
    /* Chaque carte prend 1/3 de l'espace */
}

/* Style pour créer l'effet de décalage */
.carousel-inner {
    padding-left: 20px;
    padding-right: 20px;
}

/* Sur les petits écrans, afficher moins de cartes */
@media (max-width: 768px) {
    .carousel-item .col-4 {
        flex: 0 0 50%;
        /* Afficher 2 cartes sur les petits écrans */
    }
}

@media (max-width: 576px) {
    .carousel-item .col-4 {
        flex: 0 0 100%;
        /* Afficher 1 carte sur les très petits écrans */
    }
}


/* Responsif */

.illustration-mobile,
.tennis-mobile-img,
.cards-mobile {
    display: none;
}

/* Responsif écrans ordinateur */

/* Media query pour cibler les écrans de taille lg (992px et plus) et appliquer les styles md */
@media (min-width: 1024px) and (max-width: 1030px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        flex: 0 0 auto;
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .col-lg-1 { width: 8.333333% !important; }
    .col-lg-2 { width: 16.666667% !important; }
    .col-lg-12, .col-lg-5, .col-lg-11 .col-lg-7, .col-lg-10,.col-lg-9, .col-lg-4, .col-lg-3,.col-lg-8, .col-lg-6    { width: 100% !important; }
    #section8 .baskets {
        background-size: 30vw !important;
        width: 30vw !important;
        height: 30vw !important;
    }

    #section3,#section7, #section8, #section9 {
        padding-top: 8vh !important;
    }
}


/* Styles pour les écrans iPad en orientation paysage */
@media screen and (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {

    body, main {
        overflow-x: hidden;
    }

    #section1 .h2-dark-red-bg {
        font-size: 1.7rem;
    }

    #section1::before {
        left: -12vw;
        width: 22vw;
        height: 22vw;
    }

    .stats {
        font-size: 2.6rem;
    }

    #section2::before {
        width: 28vw;
        height: 28vh;
        top: 9vh;
        left: -1.5vw;
    }

    #section3::before {
        top: 22vh;
        left: 2.5vw;
    }

    #section4::before {
        width: 45vw;
        height: 45vw;
        top: 48vh;
        right: 0;
    }

    #section5 .heart-hands {
        width: 14vw;
        height: 14vw;
        left: 2.5vw;
    }

    #section5 .hockey-img {
        width: 28vw;
        height: 28vw;
        right: -7vw;
    }

    #section8 .baskets {
        width: 14vw;
        height: 14vw;
        top: -4.5vh;
        left: 28vw;
    }

    .left-btn {
        left: 35%;
    }

    .right-btn {
        right: 35%;
    }

    .scroll-btn-card {
        bottom: 7vh;
    }

    .stats-container p {
        font-size: 0.95rem;
    }

    .stats {
        line-height: 2.6rem;
        padding: 0rem 0.7rem;
        min-width: 95px;
    }
}


@media screen and (max-width: 1600px) {

    #section1 .h2-dark-red-bg {
        font-size: 1.8rem;
    }

    #section1::before {
        left: -15vw;
        width: 25vw;
        height: 25vw;
        background-size: contain;
    }

    .card {
        padding: 0;
    }

    .stats {
        font-size: 2.8rem;
    }

    #section2::before {
        width: 30vw;
        height: 30vh;
        top: 10vh;
        left: -2vw;
    }

    #section2::after,
    #section2::before,
    #section3::before,
    #section3 .corde-a-sauter,
    #section6::before,
    #section8 .baskets,
    #section8 .feu-artifice {
        background-size: contain;
    }

    #section3::before {
        top: 25vh;
        left: 3vw;
    }

    #section4::before {
        background-size: cover;
        width: 50vw;
        height: 50vw;
        top: 50vh;
        right: 0;
    }

    #section5 .heart-hands {
        width: 15vw;
        height: 15vw;
        background-size: contain;
        left: 3vw;
    }

    #section5 .hockey-img {
        width: 30vw;
        height: 30vw;
        background-size: contain;
        right: -8vw;
    }

    #section7 p {
        z-index: 2;
    }

    #section8 .baskets {
        width: 15vw;
        height: 15vw;
        top: -5vh;
        left: 30vw;
    }

    #section8 .stats-container-column .card {
        width: 100%;
    }

    #section9::before {
        background-size: contain;
        width: 30vw;
        height: 30vw;
        top: 8vh;
        right: -8vw;
        left: auto;
    }

    .left-btn {
        left: 40%;
    }

    .right-btn {
        right: 40%;
    }

    .scroll-btn-card {
        bottom: 8vh;
    }

    .stats-container p {
        font-size: 1rem;
    }

    .stats {
        line-height: 2.8rem;
        padding: 0rem 0.8rem;
        min-width: 100px;
    }

}

@media screen and (min-width: 1601px) and (max-width: 1920px) {
    #section1::before {
        left: -15vw;
        width: 35vw;
        height: 35vw;
    }

    #section1 .introduction {
        width: 40vw;
    }

}

/* Ultra-large / 4K */
@media screen and (min-width: 1921px) and (max-width: 2560px) {
    #section1::before {
        left: -12vw;
        width: 30vw;
        height: 30vw;
    }

    #section1 .introduction {
        width: 34.7vw;
    }
}

@media screen and (max-width: 1030px) {
    /* General */

    body,
    main {
        overflow-x: hidden;
        width: 100vw !important;
    }

    footer {
        text-align: center;
        padding: 10% 5vh;
    }

    footer img {
        width: 50%;
    }

    h2 {
        font-size: 1.5rem;
        /* 55px */
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .highlight-h2 {
        padding: 0.8rem 1rem;
        line-height: 2rem;
    }

    /* Cards */

    .card {
        padding: 10% 2vw;
        width: 100% !important;
        margin-right: 0;
    }

    .card .img-container {
        height: 20vh !important;
    }

    .card img {
        width: 90%;
        max-height: 100%;
    }

    .card .description {
        font-size: 16px;
        word-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        height: 20%;
    }

    .card-container {
        width: 100%;
        height: 60vh;
    }

    .card-container .card {
        margin-right: 0 !important;
    }

    .card-container .card:last-child {
        margin-right: 0;
        /* Supprime la marge à droite de la dernière carte */
    }

    .left-btn-card {
        left: 5%
    }

    .right-btn-card {
        left: 25%
    }

    #section1,
    #section2,
    #section7,
    #section6,
    #section4,
    #section5,
    #section3,
    #section8 {
        padding-left: 10px;
        padding-right: 10px;
    }

    #section3,
    #section4,
    #section6,
    #section7 {
        padding-top: 0;
    }

    #section1::before,
    #section1::after,
    #section1 .link-container,
    .illustration-desktop,
    #section2 .bg-drawing,
    #section2 .img-collectivite-labellisee,
    #section3 .corde-a-sauter,
    #section3::before,
    #section5 .hockey-img,
    #section6::before,
    #section7 .flamme-img,
    #section8 .feu-artifice,
    #section8 .illustration,
    #section9::before,
    .cards-desktop {
        display: none;
    }

    .illustration-mobile,
    .tennis-mobile-img,
    .cards-mobile {
        display: block;
    }


    /* First section */

    #section1 .tennis-mobile-img {
        width: 100%;
        height: auto;
        padding: 0 !important;
    }

    #section1 .tennis-mobile-img img {
        padding: 0;
    }

    #section1 .introduction {
        width: 100%;
    }

    #section1 .h2-dark-red-bg {
        font-size: 2.1rem;
    }

    /* Second section */

    #section2::before {
        background-size: contain;
        width: 70vw;
        top: 15vh;
        left: -8vw;
    }

    #section2,
    #section9 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #section2::after {
        background-size: contain;
        width: 80vw;
        top: 63vh;
        left: -8vw;
    }

    #section2 .illustration {
        margin-left: -10vw;
        margin-top: 10vh !important;
    }

    #section2 .illustration img {
        width: 110vw !important;
    }

    #section2 .illustration-mobile {
        margin-top: 5rem;
        height: 2vh;
    }

    .scroll-btn-card {
        bottom: auto;
        display: block;
    }

    #section3 {
        padding-bottom: 12vh;
        padding-left: 20px;
        padding-right: 20px;
    }

    /*Fourth section*/

    #section4 {
        padding-bottom: 50vh;

        padding-left: 20px;
        padding-right: 20px;
    }

    #section4::before {
        background-size: 140vw;
        top: auto;
        width: 100vw;
        height: 100vw;
        bottom: 0;
    }

    /*Fifth section*/

    #section5 {
        padding-bottom: 5vh;
        padding-top: 10vh;
    }

    #section5 .heart-hands {
        background-size: 50vw;
        width: 50vw;
        height: 50vw;
    }

    .section5-container {
        flex-direction: column;
        margin-top: 0rem !important;
        padding-top: 0 !important;
    }

    .section5-container .row {
        flex-direction: column;
        width: 100%;
    }

    /* Sixth section */

    #section6 {
        padding-bottom: 5vh;
    }

    .section6-container,
    .section6-container .row {
        flex-direction: column;
    }

    .comite-section {
        order: 3;
    }

    /* Seventh section */
    #section7 {
        padding-top: 0;
        padding: 0;
    }

    #section7 h3 {
        font-size: 1.4rem;
    }

    .frise-wrapper {
        position: relative;
        padding: 0;
    }

    .frise-container {
        scroll-behavior: smooth;
    }

    .frise-container img {
        transform: translateX(-5%);
    }

    .left-btn {
        left: 25%;
    }

    .right-btn {
        right: 25%;
    }

    /* Section eight */

    #section8 {
        padding-bottom: 10vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #section8 .stats-container-column {
        margin-left: 0;
        padding-top: 7vh;
        justify-content: center;
        align-items: center;
    }

    #section8 .card {
        width: 85%;
        padding-top: 8%;
        padding-bottom: 8%;
    }

    #section8 .illustration-mobile {
        width: 130vw;
        height: 25vw;
        margin-left: -17vw;
    }

    #section8 .baskets {
        background-size: 40vw;
        width: 40vw;
        height: 40vw;
        top: -2vh;
        left: 15vw;
    }

    /* Section 9 */

    #section9 {
        padding-bottom: 15vh;
    }

    /* Carousel */

    .carousel-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        width: 100%;
        position: relative;
        /* Masquer la barre de défilement sur Firefox */
        scrollbar-width: none;

        /* Masquer la barre de défilement sur Internet Explorer et Edge */
        -ms-overflow-style: none;
    }

    .carousel-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
        margin-right: 20px;
    }

    .carousel-slide:last-child {
        margin-right: 0;
    }

    .left-btn-carousel {
        left: 5%;
    }

    .right-btn-carousel {
        left: 25%;
    }

}


@media (min-width: 768px) and (max-width: 1030px) {

    h2 {
        font-size: 2.5rem;
        /* 55px */
    }

    h3 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1.5rem;
    }

    /* Cards */

    .card {
        padding: 10% 2vw;
        width: 100% !important;
        margin-right: 0;
    }

    .card .img-container {
        height: 20vh !important;
    }

    .card img {
        width: auto;
        max-height: 100%;
    }

    .card .description {
        font-size: 1.8rem;
    }

    .card-container {
        width: 100%;
        height: 60vh;
    }

    .stats-container p {
        font-size: 2.5rem;
    }

    .stats {
        line-height: 5rem;
        padding: 0rem 0.8rem;
        min-width: 100px;
        font-size: 4.5rem !important;
    }
    .cards-mobile {
        padding: 0;
    }

    #section1,
    #section2,
    #section7,
    #section6,
    #section4,
    #section5,
    #section3,
    #section8 {
        padding-left: 10px;
        padding-right: 10px;
    }

    #section3,
    #section4,
    #section6,
    #section7 {
        padding-top: 3vh;
    }

    /* Second section */

    #section2::after {
        top: 80vh;
    }

    #section2 .illustration-mobile {
        margin-top: 5rem;
        height: 1.5vh;
    }

    .scroll-btn-card {
        bottom: auto;
        display: block;
    }

    #section3 {
        padding-bottom: 10vh;
        padding-left: 20px;
        padding-right: 20px;
    }

    /*Fourth section*/

    #section4 {
        padding-bottom: 50vh;

        padding-left: 20px;
        padding-right: 20px;
    }

    #section4::before {
        background-size: 120vw;
        top: auto;
        width: 90vw;
        height: 100vw;
        bottom: -20vh;
    }

    /*Fifth section*/

    #section5 .heart-hands {
        background-size: 30vw;
        width: 100%;
        height: 100%;
    }

    /* Seventh section */
    #section7 {
        padding-top: 0;
        padding: 0;
    }

    #section7 h3 {
        font-size: 1.8rem;
    }

    .frise-wrapper {
        position: relative;
        padding: 0;
    }

    .frise-container {
        scroll-behavior: smooth;
    }

    .frise-container img {
        transform: translateX(-5%);
    }

    .left-btn {
        left: 25%;
    }

    .right-btn {
        right: 25%;
    }

    /* Section eight */

    #section8 {
        padding-bottom: 15vh;
    }

    #section8 .stats-container-column {
        margin-left: 0;
        padding-top: 7vh;
        justify-content: center;
        align-items: center;
    }

    #section8 .card {
        width: 85%;
        padding-top: 8%;
        padding-bottom: 8%;
    }

    #section8 .baskets {
        background-size: 40vw;
        width: 40vw;
        height: 40vw;
        top: -4vh;
        left: 15vw;
    }

    /* Section 9 */

    #section9 {
        padding-bottom: 15vh;
    }

    /* Carousel */

    .left-btn-carousel {
        left: 5%;
    }

    .right-btn-carousel {
        left: 25%;
    }

}