@font-face {
    font-family: 'Britanica-BlackExpanded';
    src: url('Britanica-BlackExpanded.woff2') format('woff2'),
        url('Britanica-BlackExpanded.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.biorhyme-100 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h1 {
  font-family: "EB Garamond", serif;
  font-size: 1.75vh;
  line-height: 1vh;
  padding : 0;
  margin : 0;
  cursor: pointer;
  width: fit-content;
  font-weight: normal;
}

h2 {
  font-size: 1.75vh;
  line-height: 0.5vh;
  cursor: pointer;
  width: fit-content;

  user-select: none; /* Empêche la sélection du texte */
  -webkit-user-select: none; /* Support pour les navigateurs WebKit (Chrome, Safari) */
  -moz-user-select: none; /* Support pour Firefox */
  -ms-user-select: none; /* Support pour Internet Explorer/Edge */
}

body {
  background-color: white;

}

a {
  color : black;
}
ul {
  padding-inline-start: 0px;
  margin-block-start: 0;
}

.timecode {
  position: fixed;
  bottom: 1vh;
  left: 0.5vw;
  z-index: 10;
  transition: all 0.5s;
  transition-timing-function: ease-in;
  mix-blend-mode: difference;
  font-family: 'Britanica-BlackExpanded';
}

.tc_main {
  bottom: 1vh;
  left: 0.5vw;
}

.tc_project {
  bottom: 1vh;
  left: 0.5vw;
}

.tc_photo {
  bottom: 1vh;
  left: 0.5vw;
}

.tc_caseproject {
  bottom: 1vh;
  left: 0.5vw;
}

.tc_about {
  bottom: 1vh;
  left: 0.5vw;
}


#timecoderun {
  width: content;
  font-size: 1.3vh;
  color : white;
  padding : 1vh;
  border: 1px solid white;
  transition:all 1s linear;
}


.menu {
  margin : 0 1vw ;
  height : 2vh;
}

.title {
  position: fixed;
  mix-blend-mode: exclusion;
  z-index: 10;
  color: white;
  display: flex;
  width: 25%;
  justify-content: space-between;

}

.title h1, .title H2 {
display: inline-block;
align-self: baseline;
}

.mainvideo {
  width : 70vw;
  height: 70vh;
  margin : 10vh 0 0 5vw;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2vw;
  margin : 16vh 30vw 0 10vw;
}
.project {
  text-align: left;
  cursor: pointer;
  margin : -7vh 0 0 0;
  height: 40vh;
}
.project img {
  width: 100%;
  height: 70%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s;
}

.project img:hover {
  filter: contrast(120%);
}

.project-name {
  margin-top: 0vh;
  font-size: 1.75vh;
  text-transform: capitalize;
  font-family: "EB Garamond", serif;
}

.case-pro-cont {
  display: flex;
  margin : 5vh 0 0 0;
}

.film_info_h1, .film_info {
  margin : 0 2vw 0 3vw;
  width : fit-content;
  text-align: left;

}

.film_info_h1 {
  margin-top: 5vh;
  margin-bottom: 2vh;
  font-family: "EB Garamond", serif;
  font-size: 1.75vh;
  line-height: 1;
}

.film_info {
  margin-bottom: 4vh;
  font-family: "EB Garamond", serif;
  font-size: 1.75vh;
}

.film_p_video {
  width : 60vw;
  margin : 10vh 0 0 10vw;
}

.film_p_video video {
  width : 100%;
}

.film_p_img {
  width : 60vw;
  margin : 0 0 0 10vw;
  display: flex;
  flex-direction: column;
}

.cp_text {
    position: fixed;
    left : 80vw;
    /*bottom: 67vh;*/
}

.film_p_img img {
  width : 100%;
  margin : 1vh 1vw 0 0;
}

.photography {
  display: flex;
  width : 60vw;
  margin : 9vh 0 0 10vw;
}

.column-left, .column-right {
  width : 50%;
  margin : 0 0.5% 0 0;
}

.ph_item img{
  width: 99%;
  margin : 0 0 2% 0;
}

.about {
  display: flex;
    width: 32vw;
    margin: 30vh 21vw 0 15vw;
}

.about-text, .about-photo {
  width: 30vw;
}

.about-text {
  font-family: "EB Garamond", serif;
  font-size: 1.75vh;
}

.about-client {
    margin: 0vh 0 0 5vw;
  font-family: "EB Garamond", serif;
  font-size: 1.75vh;
      width: 15vw;
}

.about-photo {
  margin : 0 2vw 0 0;
}

.ap-marc {
  width: 100%;
}

.signat {
  position: fixed;
  bottom: 1vh;
  right : 0.5vh;
  text-align: right;
  display: flex;
  align-items: end;
  transition: all 0.5s;
}

.signat div h1, .signat div h2 {
  text-align: right;
  display: inline-block;
  line-height: 0.1vh;

}

.signat  div {
  margin : 0 2vh 0 0;
  display: inline-block;
}

.menuh2 {

  padding: 0 2vh 0 0;
}

.lasth2 {
  padding: 0 10vh 0 0;
}

.blockout {
  background-color: white;
  width: 100vw;
  position: fixed;
  height: 6.5vh;
  bottom: 0;
  left: 0;
  z-index: 0;
  box-shadow: 0.1vh -0.1vh black;
}

.about-client li {
  list-style-type: "-";
}

.clientlist {

}

#video_film {
  width: 60vw;
    height: 68vh;
}

.photography-carousel {
  width: 60vw;
  height: auto;
  margin: 10vh auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photography-carousel img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  /*cursor: pointer;*/
  transition: opacity 0.5s ease-in-out;
}

#carrousel-img {
  width: 50vw;
}


/* Styles spécifiques pour les appareils mobiles */
@media only screen and (max-width: 767px) {
  .menu {
    margin : 4vh 1vh 0 1vh;
    position: fixed;
        left: 1vw;
        top: 3vh;

  }

  .signat {

    bottom: 3vh;
    z-index: 10;

  }

  .lasth2 {
    padding: 0 8vh 0 0;
  }
  #timecoderun {
    width: fit-content;
    font-size: 3vw;
    color : black;

    border: 1px solid black;
  }
  h1 {
    font-size: 2vh;
  }
  h2 {
    font-size: 1.5vh;
  }
  .title {
    width: 90%;
    position: inherit;
    top: 1vh;
  }
  .timecode {
    /*left : 3vw;
    bottom: 88vh;*/
    top: 2vh;
    left: 36vw;
    /*margin: -10vh 3vw;*/
    position:inherit;
    z-index: -1;
  }
  .mainvideo {
    position: relative;
    z-index: 0;
    width: 80vw;
    height: 30vh;
    margin : 35vh 0 0 9vw;
  }
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
    margin: 16vh 2vw 0 2vw;
  }
  .project {
    margin: -6vh 0 0 0;
    height: 33vh;
  }
  .photography {
    display: flex;
    width: 93vw;
    margin: 8vh 0 0 2vw;
  }
  .column-left, .column-right {
    width : 100%;
  }
  .about {
    display: block;
    margin: 8vh 0 0 9vw;
  }
  .about-photo, .about-text {
    width : 217%;
    margin : 0 0 2vh 0;
    padding: 2vh 0 0 0;
  }
  .about-text {
    font-size : 2vh;
  }
  .case-pro-cont {
    margin: 8vh 0 0 5vw;
    display: block;
  }

  .cp_text {
    position: relative;
    left: -2vw;
    bottom: 2vh;
    z-index: -1;
  }
  .film_p_video {
    width: 85vw;
    margin: 10vh 0 0 0vw;
  }
  .film_p_img {
    width: 85vw;
    margin: 0 0 0 0vw;
  }
  .ph_item img {
    margin: 0;
  }
  .hide-up {
    top: -100px; /* Décalage vers le haut en dehors de l'écran */
  }

  .hide-down {
    bottom: -100px; /* Décalage vers le bas en dehors de l'écran */
  }
  .about-client {
    margin: 0vh 0 0 0;
  }
  .clientlist {
    margin-block-end: 0;
  }

  #video_film {
    width: 85vw;
    height: 24vh;
  }


}
