/*  colors 
bleu : #05272B
vert : #00CE4A
blanc : #F8F9F4  */

@font-face {
    font-family: 'Kanit';
    src: url(‘./font/Kanit’) format(‘ttf’),
        url(‘./font/Kanit’) format(‘truetype’)
}


* {
    margin: 0;
    padding: 0;
    transition: 0.1s linear;
}

body {
    position: relative;
    background: #05272B;
    cursor: url('../img/cursor.png'), auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.white-body {
    background: #F8F9F4;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;

}


/* LOADER-----------------------------------------------------------------------------------------------------------------------------------*/
.loader {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00CE4A;
    transition: opacity 0.75s, visibility 0.75s;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 10px solid #F8F9F4;
    border-top-color: #05272B;
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}


/* NAVIGATION MENU -----------------------------------------------------------------------------------------------------------------------------------*/
#logo:hover {
    filter: brightness(0) saturate(100%) invert(91%) sepia(13%) saturate(616%) hue-rotate(320deg) brightness(118%) contrast(95%);
    transition: 0s;
}

a {
    cursor: url('../img/cursor-pointer-hand.png'), pointer;
}

header {
    position: fixed;
    top: 0;
    width: 100%;

    /* background: rgba(25, 25, 25, .5);*/
    z-index: 2;
    background-color: #00CE4A;
    filter: drop-shadow(0 1mm 2mm #05272B);

}

li {
    list-style: none;
}

li a {
    color: #05272B;
    text-decoration: none;
}

.menu-container {
    width: 92%;
    margin: auto;


}

.navbar {
    width: 100%;
    margin: auto;
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav-menu li {
    padding-left: 60px;
}

.nav-menu li a {
    font-family: 'Kanit';
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 600;

}

.nav-menu li a:hover {
    color: #F8F9F4;

}

.nav-branding img {
    height: 40px;
}


/* FULLSCREEN VIDEO ---------------------------------------------------------------------------------------------------------------------------------------*/


.fullscreen-video-container {
    position: relative;
    height: 100vh;

    overflow: hidden;
}

.fullscreen-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.scroll-down {
    padding-top: 90vh;
    display: flex;
    justify-content: center;
}

.scroll-button {
    width: 50px;
    transform: rotate(90deg);
    filter: brightness(0) saturate(100%) invert(55%) sepia(52%) saturate(2355%) hue-rotate(102deg) brightness(97%) contrast(107%);
    transition: 0s;

}

.scroll-button:hover {

    transition: 0.1s;
    transform: rotate(90deg) scale(1.2);


}

/* PRESENTATION ----------------------------------------------------------------------------------------*/
.about-txt a {
    text-decoration: none;
}
#info {
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-color: #f8f9f4;
}

.photo-txt {
    display: flex;
    justify-content: space-between;
    width: 75%;
    margin: auto;
    padding-top: 10vh;
    padding-bottom: 10vh;
    align-items: center;
}


strong {
    font-family: 'Kanit';
    font-weight: 300;
    font-size: 30px;

    text-align: justify;

}

.hey {
    color: #05272b;
    text-align: center;
    font-weight: 500;
    text-transform: capitalize;
}

.presentation-txt {
    font-family: 'Kanit';
    font-weight: 300;
    font-size: 30px;
    line-height: 35px;
    color: #05272b;
    text-align: justify;
    text-align-last: center;
}

.green {
    color: #00ce4a !important;
}

.presentation-title {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Kanit';
    font-size: 25px;
    font-weight: 400;
    color: #05272b;
    padding-top: 50px;
}


/* PROJETS ----------------------------------------------------------------------------------------*/

.projets {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    justify-items: center;
}

h2 {
    text-align: center;
    font-family: 'Kanit';
    font-size: 40px;
    font-weight: 400;
    color: #F8F9F4;
    text-transform: uppercase;
}



/* Gallery ******************************************************************/


.gallery {
    padding: 2rem 4%;
    box-sizing: border-box;

}

.gallery .image-gallery {
    /* 15rem 4 avant, mais 3 de base */
    columns: 15rem 3;
    column-gap: 1.4rem;
}

.gallery .image-gallery a {
    width: 100%;

    
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.center-gallery {
    position: absolute;
    visibility: hidden;

    text-align: center;
    font-family: 'Kanit';
    font-size: 25px;
    line-height: 28px;
    font-weight: 400;
    color: #F8F9F4;
    text-transform: uppercase;
}

.gallery .image-gallery a:hover img {
    /* filter: sepia(100%) saturate(400%) brightness(80%) hue-rotate(80deg); */
    transform: scale(1.02);
    filter: brightness(50%);
    transition: 0.2s linear;
}

.gallery .image-gallery a:hover h2 {
    /* filter: sepia(100%) saturate(400%) brightness(80%) hue-rotate(80deg); */
    transform: scale(1.02);
    visibility: visible;
    transition: 0.2s linear;
    z-index: 1;
}



.gallery .image-gallery a img {
    width: 100%;
    margin-bottom: 1rem;
  
    object-fit: cover;


    display: block;
    max-width: 100%;
    height: auto;
}






/* WORK PROJECTS ------------------------------------------------------------------------------------------------------------------------------*/

.project-name {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Kanit';
    font-size: 40px;
    line-height: 43px;
    font-weight: 400;
    color: #00CE4A;
    padding-top: 25px;

}

  .bis {
        color: #05272b;
    }

.project-txt {
    font-family: 'Kanit';
    font-weight: 280;
    font-size: 25px;
    line-height: 30px;
    color: #F8F9F4;
    text-align: justify;
    text-align-last: center;
    padding-top: 25px;
    margin-bottom: 25px;
}

.text-project {
    width: 100%;
}

#work {
    padding-bottom: 5vh;
}

#work-project {
    padding-top: 100px;
    padding-bottom: 10vh;


}

#work-project-video-only {
    padding-top: 100px;
    padding-bottom: 10vh;

}

.work-project {

    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    margin: 0 auto;


    align-items: center;
}

.work-project2 {

    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    margin: 0 auto;


    align-items: center;
}

.video-project2 {
    display: flex;
    justify-content: center;



}

.iframe2 {
    position: relative;

    height: 720px;
    width: 480px;

}


.video-text-project {
    flex-direction: column;
    display: flex;
    align-items: center;
    width: 100%;

}



.video-project {
    display: flex;
    justify-content: center;

    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;

}

.iframe {
    width: 60%;
   
}

.reel {
    width: 40%;
}


.all-still-frames {

    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-bottom: 25px;
}

.all-still-frames-reel {

    margin: auto;

    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}


.still-frames {
    display: flex;
    justify-content: center;

}

.still-frames-reel {
    display: flex;
    justify-content: space-between;

}

.still-frames img {
    width: 50%;
    margin: 10px;


}


.still-frames-reel img {
    width: 24%;

   

}



.logo-anim {
    margin-bottom: 25px;
}

.previous-title-next {
    display: flex;
    justify-content: space-between;
    width: 75%;
    margin: 0 auto;
    align-items: center;
    margin-bottom: 25px;
}

.previous {
    transform: rotate(-180deg);
}

.previous-title-next a img {
    width: 100%;
    filter: invert(48%) sepia(100%) saturate(668%) hue-rotate(99deg) brightness(98%) contrast(101%);


}

.previous-title-next a {
    margin-top: 25px;
    width: 40px;
}

.previous-title-next a:hover img {
    filter: invert(100%) sepia(46%) saturate(386%) hue-rotate(346deg) brightness(109%) contrast(95%);
    transition: 0s;
}

/* FOOTER ------------------------------------------------------------------------------------------------------------------------------*/
footer {
    position: absolute;
    width: 100%;
    bottom: 0;
}


.footer-elements {
    width: 92%;
    height: 2em;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auto {
    height: auto;
}

.social-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.social-icon img {
    padding: 15px;
}

.icon {
    filter: invert(48%) sepia(100%) saturate(668%) hue-rotate(99deg) brightness(98%) contrast(101%);
    width: 30px;

}

.icon:hover {
    filter: invert(100%) sepia(46%) saturate(386%) hue-rotate(346deg) brightness(109%) contrast(95%);
    transition: 0s;
}

.icon-blue {

    filter: brightness(0) saturate(100%) invert(10%) sepia(97%) saturate(411%) hue-rotate(138deg) brightness(95%) contrast(97%);
    transition: 0s;
}

.icon-blue:hover {
    filter: brightness(0) saturate(100%) invert(50%) sepia(92%) saturate(1908%) hue-rotate(105deg) brightness(103%) contrast(101%);
    transition: 0s;

}

.logo-blue:hover {
    filter: brightness(0) saturate(100%) invert(50%) sepia(92%) saturate(1908%) hue-rotate(105deg) brightness(103%) contrast(101%);
    transition: 0s;
}

.logo-footer img {
    height: 20px;
}

.mailto {
    font-family: 'Kanit';
    text-decoration: none;
    color: #00CE4A;
    text-transform: uppercase;
    font-size: 20px;

}

.mailto:hover {
    color: #F8F9F4;
}

.mailto2 {
    font-family: 'Kanit';
    text-decoration: none;
    color: #05272b;
    text-transform: uppercase;
    font-size: 20px;

}

.mailto2:hover {
    color: #00CE4A;
}



.reel-only {
    display: flex;
    justify-content: center;
}

.mentions-legales-container {
    display: flex;
    justify-content: flex-start;
    width: 92%;
    margin: 0 auto;
}

.mentions-legales {
    font-family: 'Kanit';
    font-weight: 300;
    font-size: 15px;
    text-transform: uppercase;
    color: #F8F9F4;
    text-decoration: none;
    padding-bottom: 10px;
}

.mentions-legales:hover {
    color: #00CE4A;

}

.mentions-legales2 {
    font-family: 'Kanit';
    font-weight: 400;
    font-size: 15px;
    text-transform: uppercase;
    color: #05272b;
    text-decoration: none;
    padding-bottom: 10px;
}

.mentions-legales2:hover {
    color: #00CE4A;

}

h3 {
    font-family: 'Kanit';
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 400;
    color: #05272b;
    padding-top: 25px;
}

.all-paragraphes {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 60%;
    margin: 0 auto;
}

.paragraphe p {
    text-align: justify;
    text-align-last: left;
    color: #05272B;
    font-family: 'Kanit';
    line-height: 25px;
    font-size: 22px;
    font-weight: 300;

}



/* ABOUT ---------------------------------------------------------------------------------------------------------------------------*/
#about {
    padding-top: 100px;
    min-height: 83vh;
    margin-bottom: 25px;
}

.about-title-container {
    width: 80%;
    margin: 0 auto;
}

.about-title {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Kanit';
    font-size: 40px;
    font-weight: 400;
    color: #05272b;
    padding-top: 25px;

}

.about-container {
    padding-top: 2em;
    width: 60%;
    margin: 0 auto;
    display: flex;

    justify-content: space-around;


}

.pdp-container {
    width: 1300px;

    padding-right: 4em;
}

.pdp-container img {
    width: 100%;



}

.about-txt {
    text-align: justify;
    text-align-last: left;
    color: #05272B;
    font-family: 'Kanit';
    line-height: 30px;
    font-size: 25px;
    font-weight: 300;

}

.about-txt-title {
    font-family: 'Kanit';
    text-transform: uppercase;
    font-size: 25px;
    line-height: 30px;
    font-weight: 400;
    color: #05272b;
    padding-top: 0;
    text-align: left;

}

/* RESPONSIVE ---------------------------------------------------------------------------------------------------------------------------*/

@media (max-width:600px) {
    .footer-about {
        bottom: auto;
    }
    
    #work-project {
        padding-bottom: 5vh;
    }
    
    .iframe2 {
        position: relative;

        height: 500px;
        width: auto;

    }

    .work-project {
        width: 75%;
    }

    .work-project2 {
        width: 75%;
    }

    .text-project {
        width: 100%;
    }

    h3 {
        font-size: 15px;
        line-height: 20px;
    }

    .paragraphe p {
        font-size: 15px;
        line-height: 18px;
        color: #05272B;
    }

    .fullscreen-video-container {
        position: relative;
        height: 55vh;
        width: 100vw;
        overflow: hidden;
    }

    .fullscreen-video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: 50%;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    #info {
        height: 45vh;
        padding: 0;
        display: flex;
        justify-content: center;
        background-color: #f8f9f4;
    }

    .nav-menu li a {
        font-size: 13px;
        font-weight: 600;

    }

    .navbar {
        min-height: 62px;
    }

    .nav-menu li {
        padding-left: 30px;
    }

    .nav-branding img {
        height: 20px;
    }

    .scroll-button {
        display: none;


    }

    h2 {
        font-size: 16px;
    }

    .scroll-down {
        padding-top: 43vh;

    }

    .presentation-txt {
        font-size: 16px;
        line-height: 20px;
        text-align-last: center;
    }

    strong {
        font-size: 16px;

        text-align-last: center;
    }

    .presentation {
        padding-left: 0;
    }






    .hey {
        text-align: center;
        font-size: 16px;
    }

    .photo-txt {
        flex-direction: column-reverse;

        width: 80%;
        padding: 0;
    }

    .social-icon img {
        padding: 9px;
    }

    .icon {
        width: 18px;
    }

    .logo-footer img {
        height: 13px;
    }

    .project-name {
        font-size: 25px;
        line-height: 28px;
    }
    
  

    .mailto {
        font-size: 13px;
    }

    .mailto2 {
        font-size: 13px;
    }

    .project-txt {
        font-size: 16px;
        line-height: 20px;
    }


    #work-project {
        padding-top: 62px;

    }


    #work-project-video-only {
        padding-top: 62px;
    }

    .still-frames {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;

    }

    .still-frames img {
        width: 100%;
    }

    .still-frames-reel img {
        width: 60%;
        margin-bottom: 1em;
        ;
      

    }

    .still-frames-reel {
        flex-direction: column;
        align-items: center;
    }


    .iframe {
        width: 100%;
    }


    .mentions-legales {
        font-size: 10px;
    }

    .mentions-legales2 {
        font-size: 10px;
    }

    #about {
        padding-top: 62px;
    }

    .about-container {
        flex-direction: column;
        width: 80%;
    }

    .about-txt {
        font-size: 16px;
        line-height: 20px;

    }

    .about-txt-title {
        font-size: 16px;
        line-height: 20px;
        text-align: center;
    }

    .about-title-container {
        width: 80%;
    }

    .about-title {
        font-size: 25px;
        line-height: 30px;
    }

    .pdp-container {
        width: 60%;
        padding-right: 0;
        padding-bottom: 2em;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .pdp-container img {
        width: 75%;
    }

    /* réduire colonne gallerie
    .gallery .image-gallery {

        columns: 10rem 2;
        column-gap: 1rem;
    } */

    .presentation-title {
        text-align: center;
        text-transform: uppercase;
        font-family: 'Kanit';
        font-size: 12px;
        line-height: 15px;
        font-weight: 400;
        color: #05272b;
        padding-top: 30px;
    }

    .center-gallery {

        font-family: 'Kanit';
        font-size: 15px;
        line-height: 18px;
    }

    .logo-anim {
        margin-bottom: 15px;
    }

    .previous-title-next a {
        margin-top: 25px;
        width: 25px;
    }

    .previous-title-next {
        width: 92%;
    }

}

/* TABLET i guess */

@media (min-width:601px) and (max-width:900px) {
    .text-project {
        width: 100%;
    }

     .nav-menu li a {
        font-size: 18px;
        font-weight: 600;

    }

    .navbar {
        min-height: 62px;
    }
    
    .nav-branding img {
        height: 30px;
    }
    
    #work-project {
        padding-top: 62px;
    }
    
    #about {
        padding-top: 62px;
    }
    
    #work-project-video-only {
        padding-top: 62px;
    }
    
.footer-about {
        bottom: auto;
    }

    .iframe2 {
        position: relative;

        height: 500px;
        width: auto;

    }

    .work-project {
        width: 75%;
    }

    .work-project2 {
        width: 75%;
    }

    .previous-title-next a {
        margin-top: 25px;
        width: 35px;
    }


    .presentation-txt {
        font-size: 25px;
        line-height: 30px;
        text-align-last: justify;
    }

    strong {
        font-size: 25px;


    }

    .fullscreen-video-container {
        height: 55vh;
    }
    
    #info {
        padding-top: 0;
        padding-bottom: 0;
        height: 45vh;
    }
    
  
    
    .hey {
        font-size: 25px;
    }

    h2 {
        font-size: 25px;
    }

    .about-container {
        flex-direction: column;
        width: 80%;
    }

    .about-txt-title {
        text-align: center;
    }

    .pdp-container {
        width: 100%;
        padding-right: 0;
        padding-bottom: 2em;
    }

    

    .pdp-container {
        width: 50%;
        padding-right: 0;
        padding-bottom: 2em;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .pdp-container img {
        width: 75%;
    }

    .gallery .image-gallery {
        /* 15rem 4 avant, mais 3 de base */
        columns: 15rem 3;
        column-gap: 2rem;
    }

    .center-gallery {

        font-family: 'Kanit';
        font-size: 20px;
        line-height: 23px;


    }
}

/* Responsive landscape **********************************/

@media screen and (orientation:landscape) and (min-device-height: 319px) and (max-device-height: 600px) {
    footer {
        bottom: auto;
    }
    
    
    .work-project {
        width: 75%;
    }

    .iframe2 {
        position: relative;

        height: 500px;
        width: auto;

    }

    .work-project2 {
        width: 75%;
    }

    h3 {
        font-size: 15px;
        line-height: 20px;
    }

    .paragraphe p {
        font-size: 15px;
        line-height: 18px;
        color: #05272B;
    }

    .fullscreen-video-container {
        position: relative;
        height: 100vh;

        overflow: hidden;
    }

    .fullscreen-video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: 50%;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    #info {
        height: 40vh;
        padding: 0;
        display: flex;
        justify-content: center;
        background-color: #f8f9f4;
    }

    .nav-menu li a {
        font-size: 13px;
        font-weight: 600;

    }

    .navbar {
        min-height: 62px;
    }

    .nav-menu li {
        padding-left: 30px;
    }

    .nav-branding img {
        height: 20px;
    }

    .scroll-button {
        display: none;


    }

    h2 {
        font-size: 16px;
    }

    .scroll-down {
        padding-top: 43vh;

    }

    .presentation-txt {
        font-size: 16px;
        line-height: 20px;
        text-align-last: center;
    }

    strong {
        font-size: 16px;

        text-align-last: center;
    }

    .presentation {
        padding-left: 0;
    }






    .hey {
        text-align: center;
        font-size: 16px;
    }

    .photo-txt {
        flex-direction: column-reverse;

        width: 80%;
        padding: 0;
    }

    .social-icon img {
        padding: 9px;
    }

    .icon {
        width: 18px;
    }

    .logo-footer img {
        height: 13px;
    }

    .project-name {
        font-size: 25px;
        line-height: 28px;
    }

    .mailto {
        font-size: 13px;
    }

    .mailto2 {
        font-size: 13px;
    }

    .project-txt {
        font-size: 16px;
        line-height: 20px;
    }


    #work-project {
        padding-top: 62px;
    }


    #work-project-video-only {
        padding-top: 62px;
    }

    .still-frames {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;

    }

    .still-frames img {
        width: 50%;
    }

    .still-frames-reel img {
        width: 50%;
        margin-bottom: 1em;
        ;
       

    }

    .still-frames-reel {
        flex-direction: column;
        align-items: center;
    }


    .iframe {
        width: 50%;
    }



    .mentions-legales {
        font-size: 10px;
    }

    .mentions-legales2 {
        font-size: 10px;
    }

    #about {
        padding-top: 62px;
    }

    .about-container {
        flex-direction: column;
        width: 80%;
    }

    .about-txt {
        font-size: 16px;
        line-height: 20px;
    }

    .about-txt-title {
        font-size: 16px;
        line-height: 20px;
        text-align: center;
    }

    .about-title-container {
        width: 80%;
    }

    .about-title {
        font-size: 25px;
        line-height: 30px;
    }

    .pdp-container {
        width: 50%;
        padding-right: 0;
        padding-bottom: 2em;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .pdp-container img {
        width: 75%;
    }

    /* réduire colonne gallerie
    .gallery .image-gallery {

        columns: 10rem 2;
        column-gap: 1rem;
    } */

    .presentation-title {
        text-align: center;
        text-transform: uppercase;
        font-family: 'Kanit';
        font-size: 12px;
        line-height: 15px;
        font-weight: 400;
        color: #05272b;
        padding-top: 30px;
    }

    .center-gallery {

        font-family: 'Kanit';
        font-size: 15px;
        line-height: 18px;
    }

    .logo-anim {
        margin-bottom: 15px;
    }

    .previous-title-next a {
        margin-top: 25px;
        width: 25px;
    }

    .previous-title-next {
        width: 92%;
    }

    .text-project {
        width: 100%;
    }


}

@media screen and (orientation:landscape) and (min-device-height: 601px) and (max-device-height: 900px) {
    
    .footer-about {
        bottom: auto;
    }
     .nav-menu li a {
        font-size: 18px;
        font-weight: 600;

    }

    .navbar {
        min-height: 62px;
    }
    
    .nav-branding img {
        height: 30px;
    }
    
    #work-project {
        padding-top: 62px;
    }
    
    #about {
        padding-top: 62px;
    }
    
    #work-project-video-only {
        padding-top: 62px;
    }
    
}