/* <<< --- Presentation-50-50 --- >>> */


.presentation-50-50 {
    width: 100%;
    height: 700px;
    background-repeat: no-repeat;
    background-size: auto var(--presentation-bg-height);
}

@media screen and (min-width: 900px) and (max-width: 1920px) {
    .presentation-50-50 {
        padding: 100px 0;
    }
}

.presentation-50-50.-content-right {
    background-position: center left;
}
.presentation-50-50.-content-left {
    background-position: center right;
}

@media screen and (min-width: 1920px) {
    .presentation-50-50 {
        height: calc(500px + calc(var(--padding-section)*2));
    }
    .presentation-50-50.-content-right {
        background-position: center right;
    }
    .presentation-50-50.-content-left {
        background-position: center left;
    }
}

#number-adherents {
    background-image: url(../imgs/banner-adherents.jpg);
}
#number-clubs {
    background-image: url(../imgs/banner-clubs.jpg);
}

.presentation-50-50 .pattern {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 1920px;
    height: 100%;
}

.presentation-50-50 .pattern img {
    position: absolute;
    top: 50%;
    --center-marge : calc(calc(calc(100% - 1160px) / 2) / 2);
    width: auto;
    height: 350px;
    filter: var(--filter-grey);
    pointer-events: none;
}

.presentation-50-50.-content-right .pattern img {
    right: var(--center-marge);
    transform: translateY(-50%) translateX(50%);
}

.presentation-50-50.-content-left .pattern img {
    left: var(--center-marge);
    transform: translateY(-50%) translateX(-50%);
}

.presentation-50-50 .section-content {
    gap: 50px;
    height: 100%;
    justify-content: center;
}

.presentation-50-50.-content-right .section-content {
    padding-left: 56%;
}
.presentation-50-50.-content-left .section-content {
    padding-right: 56%;
}

.presentation-50-50-title {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    height: auto;
}

.presentation-50-50-title .counter {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: 'rift';
    font-size: 128px;
    font-weight: 900;
    line-height: 110px;
    font-style: italic;
    text-align: left;
    text-wrap: nowrap;
    color: var(--color);
    padding: 0 0 5px 35px;
    width: 100%;
    height: auto;
}

.presentation-50-50-title .counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left;
}

#number-adherents .counter::before {
    background-image: url(../imgs/before-number-adherents.svg);
}
#number-clubs .counter::before {
    background-image: url(../imgs/before-number-clubs.svg);
}

.presentation-50-50-title .subtitle {
    font-family: 'rift';
    font-style: italic;
    font-size: 70px;
    font-weight: 900;
    line-height: 80px;
    text-align: left;
    text-wrap: nowrap;
    color: var(--black);
    text-transform: uppercase;
}

.presentation-50-50-description {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-align: justify;
    text-align-last: left;
    width: 100%;
    height: auto;
    max-height: 250px;
    color: var(--black-2);
    text-wrap: wrap;
    overflow: hidden;
}

@media screen and (max-width: 2350px) {
    .presentation-50-50.-content-right, .presentation-50-50.-content-left {
        background-position: center;
    }
}

@media screen and (max-width: 1260px) {
    .presentation-50-50 .pattern {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .presentation-50-50.-content-right {
        background-position: 61%;
    }
    .presentation-50-50.-content-left {
        background-position: 39%;
    }
    .presentation-50-50.-content-right .section-content {
        padding-left: 40%;
    }
    .presentation-50-50.-content-left .section-content {
        padding-right: 40%;
    }
    .presentation-50-50-title .counter {
        font-size: 96px;
        line-height: 85px;
        padding: 0 0 2px 28px;
    }
    #number-adherents .counter {
        padding: 0 0 2px 22px;
    }
    .presentation-50-50-title .subtitle {
        font-size: 60px;
        line-height: 70px;
    }
    .presentation-50-50-description {
        font-size: 20px;
    }
}

@media screen and (max-width: 900px) {
    .presentation-50-50 {
        height: auto;
        padding-top: calc(var(--presentation-bg-height) + var(--padding));
    }
    .presentation-50-50.-content-right {
        background-position: top left;
    }
    .presentation-50-50.-content-left {
        background-position: top right;
    }
    #number-adherents {
        background-image: url(../imgs/banner-adherents-responsive.jpg);
    }
    #number-clubs {
        background-image: url(../imgs/banner-clubs-responsive.jpg);
    }
    .presentation-50-50 .section-content {
        padding: 0 !important;
    }
    .presentation-50-50-description {
        max-height: inherit;
    }
}

@media screen and (max-width: 600px) {
    .presentation-50-50.-content-right {
        background-position: top center;
    }
}

@media screen and (max-width: 500px) {
    .presentation-50-50-title .counter {
        font-size: 72px;
        line-height: 67px;
    }
    .presentation-50-50-title .subtitle {
        font-size: 54px;
        line-height: 50px;
    }
    .presentation-50-50-description {
        font-size: 18px;
    }
}

@media screen and (max-width: 400px) {
    .presentation-50-50-title .counter {
        line-height: 65px;
        padding: 0 0 2px 25px;
    }
    .presentation-50-50-title .subtitle {
        font-size: 48px;
    }
}