/* GENERAL */

html {
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body{
    margin: 0;
    padding:0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    overflow-x: hidden;
    color: white;
    cursor: url("/M2.png"), pointer;
    display: flex;
    flex-direction: column;
}


a{
    text-decoration: none;
    cursor: url("/M2_blanc.png"), pointer;
}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.gidole-regular {
  font-family: "Gidole", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.archivo-black-regular {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
}


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background:lightslategrey;

}

/* MENU PRINCIPAL */

.navbar{
    display: flex;
    z-index: 1000;
    position:fixed;
}

nav {
    display: flex;
    flex-wrap: wrap;
    font-size: 30px;
    position: fixed;
    align-items: first baseline;
    width: 100vw;
}

 nav .logo a{
    text-decoration: none;
    color: white;
    font-family: arial black;
    font-size: 30px;
    margin-left: 23px;
 }

 nav li a{
    color: white;
    font-family: arial black;
    
 }

 nav .logo a:hover{
    color: red;
 }

 nav ul li a:hover{
    color: red;
}

nav ul {
    display: flex;
    
}

nav ul li {
    list-style-type: none;
    margin-left: 40px;  
}


.menu_hamburger{
    position: absolute;
    right: 80px;
    top: 30px;
    display: none;
    width: 34px;
}

.mobile-menu{
    margin-left: 0;
    padding: 0;
}


/* MEDIAS */


.home_video{
    height: 100vh;
    overflow: hidden;
}

.home_video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display : block;
    line-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.home_img {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.home_img img{
    display : block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    object-fit: cover;
    
}

.cont_img {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.cont_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* MEDIAS HOVER */

.titre {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  display: flex;
  justify-content: end;
  flex-direction: column;
  z-index: 2;
}

.titre a {
    color: white;
}

.titre a:hover{
    text-decoration: underline;
}

.bandetitre{
    display: flex;
    flex-direction: row;
    height: 70px;
    background: black;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.bandetitre p{
    padding: 10px;
    
}

.home_img:hover .titre {
    opacity: 1;
}

.title{
    font-size: 40px;
    font-family: "bebas neue", static;
}

.legende{
    font-family: "bebas neue", static;
}

.bandecredits {
    display: flex;
    flex-direction: row;
    height: 50px;
    background: rgb(42, 41, 41);
    width: 100%;
    
}

.credits {
    font-size: 12px;
}

/* PAGES PROJETS */

.contenu_projets{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.projets{
    margin-top: 50px;
}
.contenu_projets img, .contenu_projets video{
    width: 1000px;
    padding: 20px;
}

.titres_projets{
    margin-top: 180px;
    font-family: "gidole", sans serif;
    justify-content:center;
    align-items:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    flex-wrap:wrap;
}

/* PAGE ABOUT - Texte (bio, contact, cv, crédits)*/

.contenu_about{
    display: flex;
    margin-top: 150px;
    height: calc(100vh - 160px);
    overflow: hidden;
}

.texte {
    width: 550px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 180px);
    overflow: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.bio {
    line-height: 22px;
    padding-top:20px;
}

.contact {
    line-height: 30px;
}

.contact p{
    font-size: 15px;
}

.texte a{
    text-decoration: underline;
    color: white;
}


 .anglais {
    color: grey;
 }

 .legende_bio {
    font-size: 10px;
    margin-top: 0;
 }


 .insta {
    width: 30px;

 }
  .website_desktop, .website_responsive {
      padding-top:20px;
  }
 .website_desktop p, .website_responsive p{
     font-size: 11px;
 }
 
 .website_responsive{
     display:none;
 }


 /* PAGE ABOUT - Bibliographie */
 
 /* Général*/

 .biblio_about{
    display:flex;
    overflow: auto;
    flex-wrap: wrap;
    justify-content: center;
 }
 
 /*Deux vidéos de présentation*/

.videos_presentation {
    margin-bottom: 100px;
    display: flex;
    flex-direction : column;
    justify-content:center;
}

.video_presentation {
    width: 800px;
}

/*Deux colonnes de bibliographies (articles, parutions...)*/

.colonnes {
    display:flex;
}


 .biblio_gauche, .biblio_droite{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

 }
 
 .biblio_gauche img, .biblio_droite img, .biblio_gauche video, .biblio_droite video{
    width: 390px;

 }

 
  /* ESHOP */

  .soon {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    align-items: center;
  }

  .soon p {
    font-family: "bebas neue", static;
    font-size: 40px;

  }


 /* MEDIA QUERIES */
 

/* TABLETTES (Portrait) */

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

    /* Nav */

    .navbar {
        padding: 0;
        margin: 0;
    }

    nav ul{
        flex-direction: column;
        align-items: center;
        justify-content:center;
        position: absolute;
        margin-top: 0;
        margin-left: -105%;
        width: 100vw;
        height: 100vh;
        background-color: rgba(255,255,255,0.15);
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.15);
  /* Ajout de la version -webkit pour Safari iOS */
       -webkit-backdrop-filter: blur(10px);
    }
    /* Fallback si flou non supporté */
    .no-backdrop nav ul {
       backdrop-filter: none;
       -webkit-backdrop-filter: none;
       background-color: rgba(255, 255, 255, 0.9); 
}


    nav ul li {
        margin: 40px;
        font-size: 35px;
    }
    nav .logo a, nav li a{
         font-family: "Archivo Black", sans-serif;
    }
        
    nav .logo a{
        font-size : 30px;
    }

    .menu_hamburger{
        display: block;
    }
    

    /* Médias page d'accueil */
    
    .home_video {
        display:flex;
        align-items:center;
        justify-content:center;
    }


    .home_video video {
        height: 100vh;
        width: 100vw;
        display : block;
        
    }

    .home_img{
        flex-direction: column;
        height: auto;
    }
    
    .cont_img{
        height: 500px;
        width: 100vw;
        overflow: hidden;
    }
    
    .cont_img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
        border: 0;
        line-height: 0;
    }

    .titre {
        opacity: 1;
        position: unset;
        height:auto;
        
    }

    .bandetitre {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .title{
        font-size: 35px;
        margin: 0;
    }

    .bandetitre p{
        text-decoration: underline;
    }

    /* Pages Projets */
    
    .contenu_projets img, .contenu_projets video{
    width: 700px;
    
}
    

    /* Page About */

    .contenu_about {
        flex-direction: column;
        max-width: 100vw;
        overflow: auto;
        align-items: center;
        overflow-x:hidden;
        height: unset;
        
    }

    .biblio_about{
        width: 100vw;
        height: unset;
        overflow: unset;
        align-items: center;
        padding-top:30px;
    }
    
    .colonnes {
        display: flex;
        align-items: start;
    }

    .texte {
        width: 90vw;
        height: 100%;
        height: unset;
        overflow: unset;
        padding:0;
        
    }
    
    .website_desktop{
        display:none;
    }
    
    .website_responsive{
        display:block;
        padding:20px;
    }

    .biblio_about .video_presentation {
        width: 90vw;
    }
    
    .biblio_about img, .biblio_about video {
        width: 40vw;
    }
    
    .credits_responsive{
        display: flex;
    }

    /* Workshop */
    
    .contenu_projets img, .contenu_projets video{
       width: 700px;
    
}

/* TABLETTES (Paysage) */

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    
    nav .logo a, nav li a{
         font-family: "Archivo Black", sans-serif;
         
    }
    
    .home_img img{
    display : block;
    width: 100vw;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
}
  
  .titre {
     opacity: 1 !important;
     position: unset;
     height: auto;
}

  
  .title{
        font-size: 30px;
    }
    
    .bandetitre p{
        text-decoration: underline;
    }
    
    
  .colonnes {
      display:flex;
  }
  
  .biblio_gauche img, .biblio_droite img, .biblio_gauche video, .biblio_droite video{
    width: 380px;

 }

.texte{
    padding:15px;
}

.cont_img {
    height: 600px;
  }
 
}

/* iPad Pro 12.9" et Surface pro 7 en paysage */

@media screen and (min-width: 1024px) and (max-width: 1370px) and (orientation: landscape) {
    
  nav .logo a, nav li a{
         font-family: "Archivo Black", sans-serif;
    }
    
    .home_img img{
    display : block;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
}
    
  .colonnes {
      display:flex;
  }
  .biblio_gauche img, .biblio_droite img, .biblio_gauche video, .biblio_droite video{
    width: 380px;

 }
 .texte{
    padding:15px;
}

 
}

 /* MOBILE (Portrait) */
 
@media screen and (max-width:480px) {
    

    /* Nav */
    
    
    nav ul {
        margin-left: -112%;
    }
    
    nav .logo a{
        font-size : 25px;
    }
    
    nav li a {
        font-size : 25px;
    }
    
    nav ul li {
        margin: 10px;
        
    }

    .menu_hamburger{
        right: 40px;
        top: 34px;
        width: 28px;
    }
    
    
    
    /* Oeuvres page d'accueil */
    
    .cont_img{
        height:250px;
    }
    

    .titre {
        height: 50px;
    }
    
    .bandetitre p {
        padding: 0px;
        text-decoration:underline;
    }

    .title{
        font-size: 30px;
        
    }

    .legende{
        display:none;
    }
    
    
    /* Pages projets */

    .projets{
        margin-top: 0px;
    }

    .contenu_projets img, .contenu_projets video{
        width: 100vw;
        padding: 20px;
    }
    
    .contenu_projets {
        overflow-x: hidden;
    }

    .projet_img p{
        width: 300px;
        padding: 30px;
    }

    .titres_projets{
        margin-top: 120px;
    }
    
    /* About */
    
    .biblio_gauche, .biblio_droite {
        padding:10px;
    }
    

}

/* MOBILE (paysage) */

@media screen and (min-width: 480px) and (max-width: 915px) and (orientation: landscape){
    nav ul li {
        margin: 15px;
        font-size: 25px;
    }
    
    .cont_img {
        height:330px;
    }
        .contenu_projets img, .contenu_projets video {
        width: 650px;
    }
    
}
 
 

/* GRANDS ECRANS */

@media screen and (min-width:1700px) {
    
    .video_presentation {
        width : 1200px;
    }
}




