/* media query */
:root {
  --primary-color: #ffffff;
  --secondary-color: #D02C4F;
  --tertiary-color: #662885;
  --color1: #000000;
  --color2: #F18820;
}
@media (min-width:768px) {
    html {
        font-size: 0.5208333333333333vw;
    }
    .hide_desk {
        display: none !important;
    }
    footer p a:hover {
        text-decoration: underline;
    }
    .btn-primary:hover{
        transform: scale(1.1);
    }
    .sec2_slide {
        transition-duration: 0.3s;
        transform-style: preserve-3d;
        will-change: transform;
        transform: translateY(-8rem);
        opacity: 0;
    }
    .sec2_slide1.active{
        animation: slideIn1 0.9s ease-out 0s forwards;
    }
    .sec2_slide2.active{
        animation: slideIn2 0.9s ease-out 0.4s forwards;
    }
    .sec2_slide3.active{
        animation: slideIn3 0.9s ease-out 0.8s forwards;
    }
    @keyframes slideIn1 {
        0% {
            transform: translateY(-8rem);
            opacity: 0;
        }
        100% {
            transform: translateY(0) rotate(-2deg);
            opacity: 1;
        }
    }
    @keyframes slideIn2 {
        0% {
            transform: translateY(-8rem);
            opacity: 0;
        }
        100% {
            transform: translateY(-3rem);
            opacity: 1;
        }
    }
    @keyframes slideIn3 {
        0% {
            transform: translateY(-8rem);
            opacity: 0;
        }
        100% {
            transform: translateY(0) rotate(2deg);
            opacity: 1;
        }
    }
    .sec2_slide_container {
        margin: 0 auto 2rem auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .secondary_btn:hover::after {
        width: 100%;
    }
    .sec2_slide:hover{
        border: solid var(--secondary-color) 0.5rem;
    }
    .sec6_slide {
        transition-duration: 1.2s;
        transform-style: preserve-3d;
        will-change: transform;
        transform: translateY(-5rem);
        opacity: 0;
    }
    .sec6_slide1{
        transition-delay: 0.2s;
    }
    .sec6_slide2{
        transition-delay: 0.6s;
    }
    .sec6_slide3{
        transition-delay: 1s;
    }
    .sec6_slide.active{
        transform: translateY(0);
        opacity: 1;
    }
    .sec6_slide_container {
        margin: 6.15rem auto;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .scrolled header {
    background-color: var(--primary-color);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}
.scrolled header .p {
    display: none;
}
.scrolled .logo_h img:first-child{
    opacity: 0;
}
.scrolled .logo_h img:nth-child(2){
    opacity: 1;
}
.scrolled header ul li a {
    color: var(--tertiary-color);
}
.video_holder:hover {
    transform: scale(1.1);
}
.scrolled .logo_h {
    width: 21.5rem;
}
.scrolled header {
    height: 9.1rem;
}

.scrolled header .btn-primary{
    display: flex;
}
.scrolled header ul{
    margin-left: auto;
}
.scrolled header ul li:last-child:hover a span{
    color: var(--primary-color);
}
.media_holder a img{
    transform-style: preserve-3d;
    will-change: transform;
    transition-duration: 0.3s;
}
.media_holder a img:hover{
    transform: scale(1.2);
}

footer p span:nth-child(2):hover {
    text-decoration: underline;
}
}

@media (max-width:767px) {
    html {
        font-size: 2.325581395348837vw;
    }
    .hide_mob {
        display: none !important;
    }
    footer{
        padding: 5rem 0 11rem 0;
        height: auto;
    }
    footer .container {
        flex-direction: column;
        justify-content: center;
    }
    .logo_1 {
        order: 1;
    }
    footer p{
        order: 2;
    }
    footer p,
    footer p * {
        font-size: 1.4rem;
    }
    footer p span:nth-child(2),
    footer p a {
        text-decoration: underline;
    }
    .media_holder {
        order: 3;
    }
    .logo_2 {
        order: 4;
    }
    .logo_1,
    footer p,
    .media_holder{
        margin-bottom: 4rem;
    }
    h3, h3 * {
        font-size: 2rem;
    }
    h6, h6 * {
        font-size: 1.6rem;
    }
    p,
    p *{
        font-size: 1.8rem;
        line-height: 130%;
    }
    .container{
        max-width: 33rem;
    }
    h2,
    h2 *{
        font-size: 8rem;
        line-height: 75%;
    }
    header ul {
        display: none;
    }
    header {
        background-color: var(--primary-color);
        height: 6.8rem;
        background-color: var(--tertiary-color);
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
    }
    header .container{
        max-width: initial;
    }
    .logo_h {
        width: 17rem;
        height: 7rem;
        border-radius: 0 0 1.588rem 0;
        background-color: var(--primary-color);
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
    }
    .logo_h img{
        opacity: 0;
        width: 12.9rem;
    }
    .logo_h img:last-child{
        opacity: 1;
        position: initial;
        transform: initial;
    }
    .logo_h img:first-child{
        display: none;
    }
    header .p {
        position: initial;
        width: calc(100% - 17rem);
        height: auto;
        background-color: transparent;
        border-radius: 0;
        transform: initial;
        margin-left: auto;
    }
    header .p p, header .p p span{
        font-size: 1.8rem;
        line-height: 120%;
        text-align: center;
    }
    .section1,
    .sec1_slide{
        max-height: initial;
        height: 100vh;
        min-height: 80rem;
        padding-bottom: 9rem;
    }
    .sec1_slide1{
        background-image: url(../img/mobile/christophe.jpg);
    }
    .sec1_slide2{
        background-image: url(../img/mobile/jean.webp);
    }
    .sec1_slide3{
        background-image: url(../img/mobile/formateur.webp);
    }
    .video_holder {
        display: none;
    }
    .sec1_slide_container .slick-prev,
    .sec1_slide_container .slick-next {
        width: 2.952rem;
        height: 4.096rem;
        bottom: initial;
        top: 8.3rem;
    }
    .sec1_slide_container .slick-prev {
        border-radius: 3.28rem 0 0 3.28rem;
        left: 1.35rem;
    }
    .sec1_slide_container .slick-next {
        border-radius: 0 3.28rem 3.28rem 0;
        left: 4.498rem;
        right: initial;
    }
    .sec1_slide_container .slick-prev::before,
    .sec1_slide_container .slick-next::before {
        width: 0.853rem;
        height: 1.473rem;
    }
    .sec1_txt {
        width: 100%;
        right: initial;
        left: 0;
        top: initial;
        bottom: 14rem;
    }
    .sec1_txt p {
        font-size: 1.6rem;
        margin-bottom: 0;
    }
    .sec1_txt p strong{
        display: block;
        padding-top: 2rem;
    }
    .sec1_txt p strong,
    .sec1_txt p span {
        font-size: 3.234rem;
        font-weight: 700;
    }
    .sec1_txt p b {
        font-size: 1.6rem;
        font-weight: 600;
    }
    .section1 h1,
    .section1 .h1 {
        font-size: 2.4rem;
        line-height: 129%;
        margin-bottom: 0;
        text-align: center;
    }
    .sec1_slide h1,
    .sec1_slide .h1 {
        padding-top: 0;
        margin: 0 auto;
        width: 100%;
        font-weight: 600;
        position: relative;
        z-index: 2;
    }
    .sec1_slide h1 img,
    .sec1_slide .h1 img {
        width: 6.2rem;
        display: block;
        margin: 0 auto 0.9rem auto;
    }
    .sec1_slide h1 b,
    .sec1_slide .h1 b {
        display: block;
        font-size: 1.6rem;
        font-weight: 400;
    }
    .sec1_slide h1 span,
    .sec1_slide .h1 span {
        font-size: 1.8rem;
        font-weight: 500;
        background-color: var(--tertiary-color);
        padding: 0 0.4rem;
        border-radius: 0.2rem;
        display: inline-block;
        margin-top: 1.3rem;
    }
    .sec1_slide .h1 span:nth-child(2){
        margin-top: 0;
        display: block;
    }
    .sec1_slide .h1_2 span {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
    .sec1_slide .h1_2 span:nth-child(1){
        width: 33.5rem;
    }
    .sec1_slide .h1_2 span:nth-child(2){
        margin-top: 0;
        width: 19.5rem;
    }
    
    .sec1_slide{
        display: flex;
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 37rem;
        position: relative;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }
    .sec1_slide::before {
        content: '';
        z-index: 1;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(78, 78, 78, 0.53) 53%, rgba(255, 255, 255, 0) 100%);
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .blc_vid {
        width: 90%;
    }
    .blc_vid iframe {
        height: 22rem;
    }
    /* Section1 End */
    /* Section2 Start */
    .section2 {
        padding: 6rem 0;
            background-image: url(../img/mobile/sec2_bg.jpg);
    }
    .section2 .container {
        max-width: 40.8rem;
        max-width: initial;
    }
    .section2 h3{
        width: 33rem;
        margin: 0 auto 4rem auto;
    }
    .section2 p{
        max-width: 33rem;
        margin-bottom: 5rem;
    }
    .section2 h4 {
        max-width: 33rem;
        margin: 0 auto;
        font-weight: 600;
        letter-spacing: 0;
    }
    .sec2_slide_container {
        width: 100%;
        margin: 5rem auto 4rem auto !important;
    }
    .sec2_slide {
        width: 26rem;
        height: 41.5rem;
        padding: 2.2rem 0;
        margin: 0 auto;
        transform-style: preserve-3d;
        will-change: transform;
        border: solid var(--secondary-color) 0.5rem;
        width: 37rem;
        height: auto;
    }
    .sec2_slide_text{
        justify-content: center;
    }
    .sec2_slide_container .slick-arrow {
        width: 1.5rem;
        height: 2.5rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        transform: initial;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }
    .sec2_slide_container .slick-dots {
        width: 9rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        bottom: -5.3rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .sec2_slide_container .slick-dots li,
    .sec2_slide_container .slick-dots li button {
        width: 2.2rem;
        height: 2.2rem;
        margin: 0 auto;
        padding: 0;
    }
    .sec2_slide_container .slick-dots li button {
        background-color: transparent;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
    }
    .sec2_slide_container .slick-dots li.slick-active button {
        background-color: rgba(255, 255, 255, 0.5);
    }
    .sec2_slide_container .slick-dots li button:before {
        display: none;
    }
    .sec2_slide_container .slick-arrow::before{
        display: none;
    }
    .sec2_slide_container .slick-prev {
        background-image: url(../img/mobile/arrow_left.svg);
        left: 2.4rem;
    }
    .sec2_slide_container .slick-prev::after{
        content: var(--prev-label);
        font-size: 1.8rem;
        color: var(--primary-color);
        position: absolute;
        top: 5rem;
        left: -1rem;
        display: block;
        width: 10rem;
        text-align: left;
    }
    .sec2_slide_container .slick-next::after{
        content: var(--next-label);
        font-size: 1.8rem;
        color: var(--primary-color);
        position: absolute;
        top: 5rem;
        right: -1rem;
        display: block;
        width: 10rem;
        text-align: right;
    }
    .sec2_slide_container .slick-next {
        background-image: url(../img/mobile/arrow_right.svg);
        right: 2.4rem;
    }
    .section2 .btn-primary{
        margin-top: 0;
    }
    .sec2_slide_text{
        text-align: center;
    }
    .sec2_slide_text h5 {
        font-size: 3rem;
        line-height: 130%;
        margin-bottom: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    .sec2_slide_text h6{
        padding: 0;
        text-align: center;
    }
    .sec2_slide_text h6 span{
        font-weight: 400;
        font-size: 1.8rem;
        line-height: 130%
    }
    .sec2_slide1 img{
        transform: rotate(-2deg);        transform-style: preserve-3d;
        will-change: transform;
    }
    .sec2_slide3 img{
        transform: rotate(2deg);        transform-style: preserve-3d;
        will-change: transform;
    }
    .sec2_slide_text h6 b,
    .sec2_slide_text h6 {
        font-size: 2rem;
        line-height: 130%;
        text-align: center;
    }
    .sec2_slide_text p {
        font-size: 1.6rem;
        line-height: 2.4rem;
        text-align: center;
        max-width: 21.3rem;
        max-width: initial;
        margin-bottom: 1rem;
    }
    .sec2_slide3 .sec2_slide_text p{
        max-width: 23.3rem;
    }
    .sec2_slide_text p b{
        font-size: 1.6rem;
    }
    .secondary_btn{
        font-size: 1.6rem;
        text-decoration: underline;
    }
    .sec2_slide_container .slick-list {
        padding: 0 !important;
    }
    
    /* Section2 End */
    /* Section3 Start */
    .section3 {
        background-image: url(../img/mobile/sec5_bg.png);
        min-height: 70.2rem;
        padding: 0;
    }
    .section3 .container {
        max-width: 33rem;
        justify-content: center;
        flex-direction: column;
    }
    .section3 .img {
        width: 19rem;
        margin-bottom: 2.2rem;
    }
    .sec3_text {
        width: 100%;
    }
    .sec3_text h3 {
        font-size: 2rem;
    }
    .sec3_text p {
        font-weight: 500;
    }
    /* Section4 Start */
    .section4 {
        padding: 6rem 0;
        background-image: none;
    }
    .section4 h3{
        letter-spacing: initial;
        font-size: 2.4rem;
        line-height: 129%;
        margin-bottom: 4rem;
        max-width: 33rem;
        margin-right: auto;
        margin-left: auto;
    }
    .section4 .container{
        max-width: 33rem;
    }
    .section4 .d-flex{
        flex-direction: column;
    }
    .sec4_txt{
        width: 100%;
        margin-bottom: 4rem;
    }
    .sec4_txt p {
        font-size: 1.8rem;
        max-width: 33rem;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    .sec4_slide_container{
        width: 100%;
    }
    .sec4_slide {
        width: 25.2rem;
        height: 25.2rem;
        border-radius: 1.26rem;
        width: 32rem;
        height: 32rem;
    }
    .sec4_slide_container .slick-list {
        padding: 0 !important;
    }
    .sec4_slide h5 {
        font-size: 1rem;
        bottom: 1.1rem;
        left: 1.6rem;
        width: 18rem;
        font-size: 1.4rem;
        width: 24rem;
    }
    .section4 h4 {
        font-size: 2rem;
        padding: 0 1rem;
        margin-bottom: 4rem;
    }
    /* Section4 End */
    /* Section5 End */
    /* Section5 Start */
    .section5 {
        background-image: url(../img/mobile/sec5_bg.png);
        min-height: 70.2rem;
        padding: 0;
    }
    .section5 .container {
        max-width: 33rem;
        justify-content: center;
        flex-direction: column;
    }
    .section5 .img {
        width: 19rem;
        margin-bottom: 2.2rem;
    }
    .sec5_text {
        width: 100%;
    }
    .sec5_text h3 {
        font-size: 2rem;
    }
    .sec5_text p {
        font-weight: 500;
    }
    /* Section5 End */
    /* Section6 Start */
    .section6 {
        padding: 6rem 0;
            background-image: url(../img/mobile/sec6_bg.jpg);
    }
    .section6 .container {
        max-width: 40.8rem;
        max-width: initial;
    }
    .section6 h3{
        width: 33rem;
        margin: 0 auto 4rem auto;
    }
    .section6 p{
        max-width: 33rem;
        text-align: left;
        margin-bottom: 4rem;
    }
    .section6 h4 {
        max-width: 36rem;
        margin: 0 auto;
    }
    .sec6_slide_container {
        width: 100%;
        margin: 4rem auto 8rem auto !important;
    }
    .sec6_slide {
        width: 30rem;
        height: 25.6rem;
        padding: 3.9rem 2rem;
        margin: 1rem auto;
        transform-style: preserve-3d;
        will-change: transform;
        transition-duration: 1s;
        width: 33rem;
        height: 27.6rem;
    }
    .sec6_slide_container .slick-list {
        padding: 0 4rem !important;
    }
    .sec6_slide p{
        margin-bottom: auto;
        font-size: 2rem;
        line-height: 140%;
    }
    .sec6_slide_container .is-prev .sec6_slide,
    .sec6_slide_container .is-next .sec6_slide{
        background-color: rgba(245, 245, 245, 0.85);
    }
    .sec6_slide_container .is-prev .sec6_slide{
        transform: rotate(-2deg);
    }
    .sec6_slide_container .is-next .sec6_slide{
        transform: rotate(2deg);
    }
    .sec6_slide_container .slick-arrow {
        width: 1.5rem;
        height: 2.5rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        transform: initial;
        top: calc(100% + 2rem);
        z-index: 1;
        width: 2.25rem;
        height: 3.75rem;
    }
    .sec6_slide_container .slick-dots {
        width: 9rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        bottom: -5.3rem;
        left: 50%;
        transform: translateX(-50%);
        width: 11.4rem;
    }
    .sec6_slide_container .slick-dots li,
    .sec6_slide_container .slick-dots li button {
        width: 3rem;
        height: 3rem;
        margin: 0 auto;
        padding: 0;
    }
    .sec6_slide_container .slick-dots li button {
        background-color: transparent;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
    }
    .sec6_slide_container .slick-dots li.slick-active button {
        background-color: rgba(255, 255, 255, 0.5);
    }
    .sec6_slide_container .slick-dots li button:before {
        display: none;
    }
    .sec6_slide_container .slick-arrow.slick-disabled{
        display: none;
    }
    .sec6_slide_container .slick-arrow::before{
        display: none;
    }
    .sec6_slide_container .slick-prev {
        background-image: url(../img/mobile/arrow_left.svg);
        left: 12rem;
    }
    .sec6_slide_container .slick-next {
        background-image: url(../img/mobile/arrow_right.svg);
        right: 12rem;
    }
    /* Section6 End */
    /* Section7 Start */
    .section7 {
        background-image: url(../img/mobile/sec7_bg.png);
        padding: 6rem 0;
    }
    .section7 p {
        font-size: 1.8rem;
        line-height: 130%;
        padding: 0 0 0.01rem;
    }
    .section7 .d-flex{
        margin-bottom: 4rem;
        flex-direction: column;
        justify-content: center;
    }
    .jauge {
        width: 24rem;
        height: 19.4rem;
        background-image: url(../img/mobile/jauge.png);
        background-size: contain;
        background-position: top left 8rem;
        background-repeat: no-repeat;
        position: relative;
        margin-bottom: 2.7rem;
    }
    .sec7_text {
        width: 100%;
    }
    .sec7_text p {
        padding: 0;
        line-height: 150%;
        margin-bottom: 0;
    }
    .price1,
    .price2 {
        font-size: 2.5rem;
    }
    .progress{
        left: 11.1rem;
    }
    .progress.active {
        height: 8.6rem;
    }
    /* Section7 End */
    /* Section8 Start */
    .section8 {
        padding: 6rem 0;
    }
    .section8 .container {
        max-width: 33rem;
        max-width: 35.7rem;
    }
    .section8 h3,
    .section8 p {
        padding: 0 1.85rem;
    }
    .section8 .d-flex{
        width: 100%;
        height: auto;
        padding: 0 1.35rem;
    }
    .sec8_card {
        width: 16.5rem;
    }
    .sec8_card p {
        font-size: 1.8rem;
        text-align: center;
    }
    .sec8_card1,
    .sec8_card2 {
        margin-bottom: 1.2rem;
    }
    .sec8_card1 img {
        width: 13rem;
        margin-bottom: 1.4rem;
    }
    .sec8_card2 img {
        width: 9.5rem;
        margin-bottom: 1.2rem;
    }
    .sec8_card3 img {
        width: 8.2rem;
        margin-bottom: 1.5rem;
    }
    .sec8_card4 img {
        width: 8.5rem;
        margin-bottom: 2.1rem;
    }
    .capture{
        width: 100%;
    }
    .section8.active .capture img{
        width: 100%;
    }
    /* Section8 End */
    /* Section9 Start */
    .section9 {
        padding: 5rem 0;
        padding: 0;
        height: 48.6rem;
    }
    .section9 .container {
        max-width: 33rem;
    }
    .section9 .d-flex{
        flex-direction: column;
        justify-content: center;
    }
    .section9 h3 {
        margin-bottom: 4rem;
    }
    .sec9_card {
        width: 100%;
        height: 26.2rem;
    }
    .sec9_card1 {
        margin-bottom: 1rem;
    }
    .sec9_card img {
        width: 5rem;
    }
    .sec9_card2 img {
        width: 18.5rem;
        top: -3.5rem;
    }
    .section9::before{
        background-image: url(../img/mobile/sec9_bg.png);
    }
    .section9::after{
        height: 48.6rem;
        background-image: url(../img/mobile/sec9_bg2.png);
    }
    .primary_btn_fixed{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 9rem;
        max-width: initial;
        border-radius: 0;
        z-index: 10;
    }
.sec1_slide1 h1 {
    width: 32rem;
}
.sec1_slide2 h1 {
    width: 40rem;
}
.sec1_slide3 h1 {
    width: 34rem;
}
.sec2_slide_holder {
    margin-bottom: 2rem;
}
.sec2_slide_holder:last-child{
    margin-bottom: 0;
}
.sec4_slide_container .slick-next {
    right: -3.5rem;
}
.credits_popup {
    width: 40rem;
    padding: 3.5rem 0rem 3.5rem 0;
    border-radius: 4rem;
}
.close {
    width: 2rem;
    height: 2rem;
    right: 0.3rem;
    top: 1.25rem;
}
.close:before, .close:after{
    height: 2rem;
}
.credits_popup p{
    font-size: 1.6rem;
}
}