html{
    scroll-behavior: smooth;
}
/*VIDEO SECTION*/
#myVideo {

    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;

  }

/*HERO SECTION*/
.header-main{
    background: none;
}

main {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-image: url(../images/render_factory_1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main-flex{
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    text-align: center;
    flex-direction: column;
}

.main-intro{
    min-height: fit-content;
    min-width: 50%;
}

main .main-intro h1{
    font-size: 8rem;
    line-height: 1.15;
    padding: 60px 0;
    color: var(--color-03);
}
main .main-intro h1 samp{
    text-decoration: underline;
    text-decoration-color:  var(--color-04);
    text-decoration-thickness: 0.4rem;
}

main p{
    margin-top: 57px;
    font-size: 3rem;
    line-height: 1.5;
    color: var(--color-03);
}

main a{
    margin-top: 160px;
    font-size: 2rem;
    font-weight: bold;
    display: block;
    padding: 16px 20px;
    border-style: solid;
    border-width: 6px;
    border-radius: 26px;
    border-color: var(--color-04);
}

main a:hover{
    border-color: var(--color-05);
    transition: 300ms;
}

main .button{
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}


/*header backround that appearwhen scroling*/
.header-backround{
    position: sticky;
    top: 0px;
    width: 100%;
    height: 120px;
    background-color: var(--color-01);
    z-index: 900;
}

/*SERVICES SECTION*/

.index-services{
    width: 100%;
    min-height: 100vh;
    height: auto;


}

.index-services-flex{
    /*height: calc(100vh - 120px);*/
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 50px;
}

/*left side*/

.index-services-list{
    width: fit-content;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 50px;
}



.index-services-list-box{
    display: flex;
    flex-direction: row;
    gap: 0px 30px;
}

.index-services-list-box .icon{
    width: 13rem;
    height: 13rem;
    border-radius: 25px;
    background-color: var(--color-02);
}

.index-services-list-box h3{
    align-content: center;
    text-align: left;
}

.index-services-list-box:nth-child(1) .icon{
    background-image: url(../images/clapper-open.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.index-services-list-box:nth-child(2) .icon{
    background-image: url(../images/lesson.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.index-services-list-box:nth-child(3) .icon{
    background-image: url(../images/lightbulb-on.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.index-services-list-box:nth-child(4) .icon{
    background-image: url(../images/explosion.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

.index-services-list-box:nth-child(5) .icon{
    background-image: url(../images/tv-music.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

/*make the gap of the icon boxs*/
.index-services-list-box:nth-child(2n+0){
    padding-left: 163px;
}

/*right side*/

.index-services-texte{
    width: 50%;
    height: auto;
    min-height: 100%;
    padding-bottom: 50px;
}

.index-services-texte-box{
    width: fit-content;
    height: 100%;
    min-height: fit-content;
    padding: 30px;
    background-color: var(--color-02);
    border-radius: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} 

.index-services-texte .image{
    width: 90%;
    margin: 0 auto;
    height: 20rem;
    background-image: url(../images/render_speaker_2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 25px;

}

.index-services-texte p{
    color: var(--color-01);
}

/* WORKS SECTION */

.index-works{
    background-color: var(--color-03);
    padding: 30px 0;
    text-align: center;
}


.index-works-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.index-works-list-items{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    row-gap: 10px;
    width: 49%;
    background-color: var(--color-02);
    border-radius: 50px;
    padding: 30px;
    margin: 10px 0px;
}

.index-works-list-items-player{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    justify-content: space-between;
}

.index-works-list-items-texte{
    text-align: center;
    align-content: center;

}

.index-works-list-items-texte p{
    padding-top: 2rem;
    color: var(--color-01);
}

.index-works-list-items .prestations{
    border-top: solid;
    border-width: 4px;
    margin-top: auto;
    padding: 10px 10px 0px 10px;
    color: var(--color-05);
    border-radius: 25px;
    
}

.index-works-list-items .prestations p{
    width: 100%;
    color: var(--color-01);
    text-align: center;
}


.index-works-list-items-video{

    width: 100%;
    height: auto;

}

.index-works-list-items video{
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 25px;
    object-fit: cover;
}


.index-works-list-items iframe{
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 25px;
    align-self: center;
    border: none;
}


.index-works-list-items .icon_clap{
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
    background-image: url(../images/clapper-open.svg);
    background-repeat: no-repeat;
}
.index-works-list-items .icon_light{
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
    background-image: url(../images/lightbulb-on.svg);
    background-repeat: no-repeat;
}
.index-works-list-items .icon_lesson{
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
    background-image: url(../images/lesson.svg);
    background-repeat: no-repeat;
}
.index-works-list-items:nth-child(3) p{
    text-wrap: wrap;
}


/* ABOUT SECTION */

.index-about{
    width: 100%;
    min-height: calc(100vh - 120px);
    height: auto;
}

.index-about-flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.index-about-picture{
    width: 50%;
    text-align: center;
    padding-top: 50px;
    align-items: center;
}

.index-about-picture-logo{
    position: relative;
}

.index-about-picture .portrait{
    position: relative;
    width: 100%;
    border-radius: 50px;
}

.index-about-picture .logo{
    position: absolute;
    width: 10%;
    bottom: 30px;
    right: 30px;
}

.index-about-picture h2 {
    padding: 20px;
    color: var(--color-02);
}

.index-about-picture p {
    color: var(--color-03);
}

.index-about-texte{
    width: 50%;
}

.index-about-texte p{

    padding: 20px;
    padding-top: 50px;
    text-align: center;
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1.4;
    font-family: MainFont;


}

.index-about-texte p samp{
    text-decoration: underline;
    text-decoration-color:  var(--color-04) ;
    text-decoration-thickness: 0.3rem;
}

/* REVIEWS SECTION */

.index-reviews{
    width: 100%;
    height: auto;
    min-height: calc(100vh - 120px);
    background-color: var(--color-03);
}

.index-reviews-flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.index-reviews-flex h2{
    text-align: center;
    margin: 20px;
}


.index-reviews-list-item{
    margin: 50px 0 50px 0;
    border-radius: 50px;
    align-self: center;
    position: relative;
}

.index-reviews-list-item-profil{
    position: absolute;
    top: -50px;
    width: fit-content;
    text-align: center;
    background-color: var(--color-03);
    border-radius: 50px;
    padding: 30px;
}

.index-reviews-list-item-profil-image{
    position: relative;
    width: 250px;
    margin: 0 auto;

}

.index-reviews-list-item-profil-image img{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
}

.index-reviews-list-item-profil-image .back{
    width: 250px;
    outline: solid;
    outline-width: 4px;
    border-radius: 25px;
    outline-color: var(--color-05);
}

.index-reviews-list-item-profil-image-back{
    position: static;
    width: 250px;
    height: 250px;
}


.index-reviews-list-item-profil h2{
    width: 100%;
    height: auto;
    margin: 0;
    font-size: 4rem;
}

.index-reviews-list-item-texte .profil-info{
    color: var(--color-01);
}

.index-reviews-list-item-texte{
    width: calc(100% - 140px);
    margin-left: 140px;
    padding: 30px 20px 30px 200px;
    background-color: var(--color-02);
    border-radius: 50px;
}

.index-reviews-list-item-texte .texte{
    padding: 50px 10px 0 0;
    color: var(--color-01);
    font-weight: 600;
    font-size: 2.6rem;
}

.index-reviews-list-item-texte .texte samp{
    font-size: 1.6rem;
}


/* CONTACT SECTION */

.index-contact{
    width: 100%;
    min-height: calc(100vh - 120px);
    height: auto;
    background-color: var(--color-02);
}

.index-contact-flex{

    min-height: calc(100vh - 120px);
    height:auto ;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


.index-contact-infos{
    width: 50%;
    min-height:  calc(100vh - 120px);
    height: auto;

    padding: 0 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}



.index-contact-infos .bold{
    color: var(--color-01);
    font-size: 4.5rem;
    line-height: 1.5;
    font-weight: bold;
    padding-top: 80px;
    font-family: MainFont;
}

.index-contact-infos samp{
    text-decoration: underline;
    text-decoration-color:  var(--color-05);  
    text-decoration-thickness: 0.3rem;
}

.index-contact-infos-box{
    width: 51rem;
    height: 30vh;
    padding: 40px;
    background-color: var(--color-01);
    border-radius: 50px 50px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.index-contact-infos-box p{
    color: var(--color-03);
}

.index-contact-form{
    width: 50%;
    height: 100vh;
    padding: 80px 30px;
}

.index-contact-form-box{
    width: 100%;
    height: 100%;
    background-color: var(--color-05);
    border-radius: 50px;
    align-content: center;
}

.index-contact-form-box div{
    width: 95%;
    height: 95%;
    margin: 0 auto;
    background-image: url(../images/1000.jpeg);
    background-size: cover;
    background-position: center;
    border-radius: 40px;
}

.index-contact-form-mobile{
    width: 100%;
    height: 100%;
    display: none;
    background-color: var(--color-05);
    border-radius: 50px;
    align-content: center;
}

.index-contact-form-mobile div{
    display: none;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-image: url(../images/1000.jpeg);
    background-size: cover;
    background-position: center;
    border-radius: 25px;
}

/* MOBILE VERSION */

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

    /* HERO SECTION */

    main {
        background-image: url(../images/render_light-mobile_3.jpg);
    }

    .main-flex{
        align-items: flex-end; 
        justify-content: center;       
    }


    main .main-intro h1{
        font-size: 4rem;
        line-height: 1.15;
        padding: 30px 0;
    }

    main p{
        margin-top: 0px;
        font-size: 2.5rem;
        line-height: 1.5;
    }

    main a{
        margin: 30px 0;
    }
    /* header backround*/
    .header-backround{
        height: 60px;
    }

    /* SERVICES SECTIONS */

    .index-services-flex{
        flex-direction: column;

    }

    .index-services-list{
        width: 100%;
        min-height: fit-content;
    }

    .index-services-list-box{
        flex-direction: column;
        gap: 10px 0;
        margin: 15px 0;
    }

    .index-services-list-box:nth-child(2n+0){
        padding-left: 0px;
        align-items: flex-end;
    }

    .index-services-list-box:nth-child(2n+0) h3{
        text-align: right;
    }

    .index-services-texte{
        width: 100%;
        height: 100%;
        min-height: fit-content;
        padding-bottom: 50px;
    }

    .index-services-texte-box{
        width: 100%;
        height: 100%;
        min-height: fit-content;
        padding: 20px;
        background-color: var(--color-02);
        border-radius: 50px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    } 


    /* WORKS SECTION */

    .index-works-list-items{
        width: 100%;
    }

    .index-works-list-items-player{
        flex-direction: column;
        column-gap: 0px;
        row-gap: 20px;
    }

    .index-works-list-items iframe{
        width: 100%;
    }

    /* ABOUT SECTION */

    .index-about-flex{
        flex-direction: column;
        align-items: center;
    }

    .index-about-picture{
        width: 100%;
        align-items: center;
    }

    .index-about-picture .portrait {
        width: 80vw;
        border-radius: 50px;
    }

    .index-about-picture .logo {
        width: 8vw;
    }

      
    .index-about-texte p{
        width: 100%;
        font-size: 3rem;
    }
    .index-about-texte{
        width: 100%;
        padding: 30px 0;

    }

    /* REVIEWS SECTION*/

    .index-reviews-list-item{
        margin: 0px 0;
    }

    .index-reviews-list-item-profil{
        position: relative;
        top: 0px;
        margin: 0 auto -30px auto; 
        padding: 0px 30px;
        border-radius: 30px;
    }
 

    
.index-reviews-list-item-profil-image{
    width: 150px;
    margin: 0 auto;
}

.index-reviews-list-item-profil-image img{
    width: 150px;
}

.index-reviews-list-item-profil-image .back{
    width: 150px;
}

.index-reviews-list-item-profil-image-back{
    width: 150px;
    height: 150px;
}

    .index-reviews-list-item-texte{
        width: 100%;
        margin: 0 0 100px 0;
        padding: 30px 20px 20px 20px;
        background-color: var(--color-02);
        border-radius: 50px;
    }

    .index-reviews-list-item-texte .texte{
        font-size: 2rem;
    }
    




    /* CONTACT SECTION */

    .index-contact-flex{
        height: calc(100vh - 60px);
        min-height: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .index-contact-infos{
        width: 100%;
        height: calc(100vh - 60px);
    }
    

    .index-contact-infos-box{
        width: 100%;
        height: 30vh;

    }
    
    
    .index-contact-infos .bold{
        font-size: 3rem;
        padding: 30px 0;
    }

    .index-contact-infos-box p{
        color: var(--color-03);
        font-size: 2rem;
    }



    .index-contact-form{
        display: none;
    }

    .index-contact-form-mobile{
        width: 100%;
        height: 50vw;
        display: none;
        padding: 20px;
    }

    .index-contact-form-mobile div{
        display: block;

    }

    

}

@media (min-width: 600px) and (max-width: 1500px) {

    /* SERVICE SECTION */
    .index-services-flex{
        flex-direction: column;
    }
    .index-services-list{
        width: 100%;
        align-self: center;
        justify-content: space-between;
    }
    .index-services-list-box:nth-child(2n) {
        align-self: flex-end;
    }

    .index-services-texte{
        align-self: center;
        width: 100%;
        height: auto;
        min-height: 100%;
    }
    /* WORK SECTION */
    .index-works-list-items-player{
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
    }
    .index-works-list-items-video{
        height: 100%;
        align-content: center;
    }

    /* ABOUT SECTION*/


    .index-about-texte p{
        font-size: 3.3rem;
    }
    /* CONTACT */
    .index-contact-flex{
        flex-direction: column;
        align-items: center;
    }
    .index-contact-form{
        display: none;
    }


}

@media (min-width: 600px) and (max-width: 900px) {
    /* header backround*/
    .header-backround{
        height: 60px;
    }
    /* WORK SECTION */
    .index-works-list-items-texte p{
        font-size: 2.5rem;
    }
    .index-works-list-items .prestations p{
        font-size: 2.5rem;
    }
    /* REVIEW SECTION */


    .index-reviews-list-item{
        margin: 0px 0;
    }

    .index-reviews-list-item-profil{
        position: relative;
        top: 0px;
        margin: 0 auto -30px auto;
        padding: 0 30px; 
    }
 

    
    .index-reviews-list-item-profil-image{
        width: 300px;
        margin: 0 auto;
    }

    .index-reviews-list-item-profil-image img{
        width: 300px;
    }

    .index-reviews-list-item-profil-image .back{
        width: 300px;
    }

    .index-reviews-list-item-profil-image-back{
        width: 300px;
        height: 300px;
    }

    .index-reviews-list-item-texte{
        width: 100%;
        margin: 0 0 100px 0;
        padding: 30px 20px 20px 20px;
        background-color: var(--color-02);
        border-radius: 50px;
    }

    .index-reviews-list-item-texte .texte{
        font-size: 2rem;
    }
    /* CONTACT SECTION */

}