/* ----------------------------- */
/* RESET
/* ----------------------------- */

@charset "UTF-8";
html {
  /* on s'arrange pour que 1rem soit égal à 10px */
  font-size: 1rem;
  /* IE9-IE11 */
/*  font-size: calc(1em * 0.625);*/
}

/* la suite du reset permet d'enlever les marges par défaut créées par les navigateurs */
/* et de donner un comportement plus intuitif aux principaux éléments */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

ol, ul {
  list-style: none;
  width: 100%;
  padding: 0;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img{
max-width: 100%;
  height: auto;}

a{
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  cursor: pointer;
}

h1, h2, h3, h4, h5{
  font-weight: normal;
  font-size: 1rem;
}

h2 {
  font-size: 4rem;
  display: flex;
  margin:0;
 

}


*[role='button']{
  cursor: pointer;
  user-select: none;
}

header {display:flex}

figure {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

#full-screen-container {
  display: flex; 
}


/*------------*/
/*TYPOGRAPHIE*/
/*-----------*/

@font-face {
  font-family: 'Gill Sans';
  src: url('../fonts/gill_sans/GillSans-Medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans';
  src: url('../fonts/gill_sans/GillSans-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans';
  src: url('../fonts/gill_sans/GillSans-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/*-------------------------------*/
/* Body                          */
/*-------------------------------*/

body {
  font-family: 'Gill Sans', Copperplate, sans-serif;/* précisé si ne trouve pas*/
  font-size: 8rem /* 1.6rem = 16px dans notre cas */
  line-height: 1; /* interlignage */
  color: blue;
  width:100%;
  margin: 0;
  padding:0;
  }

/*-------------------------------*/
/* Header                        */
/*-------------------------------*/



.boutons .icone-en-place {
  top: 220px;
}

.boutons .icone-aleatoire {
  top: 160px;
}

.boutons-icone {
  display: flex;
  position: fixed;
  width: 4rem;
  transition: ease 0.1s;
  right: -10px;
  transform: rotateY(180deg);
  z-index: 20;
}

main .boutons-icone:hover{
  transform: scale(1.2) rotateY(180deg);
  right: 0;
  cursor: pointer;
  content: 'Text affiche lors du hover';

}


header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 2rem 0;
  border-bottom: 2px solid blue;
  font-size:2rem;
  position:sticky;
  top:0;
  background-color:white;
  z-index:19;
}

.logo{
  display: flex;
  align-items: center;
  position: relative;
}

.logo img{
  height: 8rem;
}

.logo p{
  position: absolute;
  width: 45vw;
  left: 3rem;
  background-color: white;
}

.menu{
  display:flex;
  flex-direction: row;
/*  position: absolute;*/
  left: 3rem;
  background-color: white;
}

.menu p {
  display: flex;
  margin: 1rem;
  font-size: 1.5rem;
}

.menu p:hover {
  transform: scale(1.2);
}

/*-------------------------------*/
/* MAIN                         */
/*-------------------------------*/


main {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Place les éléments à chaque extrémité */
/*  align-items: center; /* Alignement en haut */
/*  margin: 0 2rem ;*/
}



.container-projet{
    padding-left: 3rem;
    padding-right: 3rem;
}

.container-projet h2{
  margin-top: 2rem;


}
.grid-sizer,
.grid-item {
   width: 22.75%;
   margin-bottom: 2rem;
}

.gutter-sizer{
  width:3%;
}


.filtre img, .filtre video {
  filter:url(#monochrome);
  transition: all ease 0.3s;
}


#project img{
  width: 100%;
}


/* CODE POUR AVOIR MES IMAGES QUI TOURNENT AUX HOVERS */

/*img 
  &:not(:hover) {
/*    // filter: grayscale(100%) brightness(135%) contrast(120%);
    filter: url(#monochrome);
*/
   
/*.illustration .image-container figure:nth-child(even):hover {
    transform: scale(1.1) rotate(2deg);
    transform-origin: top left;
}

.illustration .image-container figure:nth-child(odd):hover {
    transform: scale(1.1) rotate(-2deg);
    transform-origin: top left;
  }*/

/*--------*/



/*--------*/
/* HOVER POUR REMETTRE LES IMAGES EN COULEURS */
/*--------*/


.image-container img:hover,
aside #photos:hover,
#experimentationbloc img:hover, 
.qui img:hover, .filtre video:hover
{
  filter: opacity(100%);
  transition-duration: 0.3s;
}

/*--------------*/
/* Partie PHOTO */
/*--------------*/


aside {

  display: flex;
  z-index: 1;
  align-items: flex-end; /* Alignement à droite */
/*  height: 50vh;*/
   max-width: 100%;
  justify-content: center;
  cursor: auto;
}


.partie-photos {
  margin: 1rem 2rem;
  max-width:100%;
}


#photos.diaporama {
  filter: url(#monochrome);
  margin-bottom: 12px;
  margin: auto;
  max-width: 70%;
  overflow: hidden;
  fit-content: cover;
}


.diaporama {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
}


.photo-container {
  height: 450px;
  width: 1000px ;
 }



/* Styles pour les images à l'intérieur de .photos */
.photo-container img {
object-fit: cover;
height: 420px;
width: 900px;
margin-top:2rem;
}

/*------------------------*/
/* PARTIE EXPERIMENTATION */
/*------------------------*/

.partie-experimentations h2 {
  margin-left: 2rem;
}

.animated-image {
    transition: transform 1s ease-in-out;
    animation: moveRotate 10s linear infinite;
}

@keyframes moveRotate {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5px, 5px) rotate(5deg);
    }
    50% {
        transform: translate(0, 0) rotate(0deg);
    }
    75% {
        transform: translate(-10px, -5px) rotate(-5deg) scale(1.2);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.partie-experimentations {
  margin-top: 2rem;
  max-width:100%;
}

.images-experimentations {
  display: flex;
  margin-top: 2rem;
  justify-content:center;
}

#experimentationbloc {
  display: flex;
  flex-wrap: wrap;
  max-width: 80%;
  justify-content:center;
/*  position: relative;*/
}

.experimentation-item {
/*  position: absolute;*/
  margin: 0.5rem; /* Ajustez la marge selon vos besoins */
  position: relative;
}

.experimentation-item img {
  max-width: 10rem; /* Largeur de base de 20rem */
  max-height: 15rem; /* Hauteur maximale de 25rem */
  width: auto; /* Largeur automatique pour maintenir les proportions */
  height: auto;
  padding: 1rem;
 filter: url(#monochrome);
/*  filter: blur(11px);*/
  display: block;
  margin: 3rem;
}

.experimentation-text {
  position: absolute;
  padding-left: 6rem;
  top: 50%;
  left: 100%; /* Le texte est positionné à droite de l'image */
  transform: translate(-50%, -50%);
  opacity:0; /* Le texte est initialement invisible */
  transition: opacity 0.3s ease; /* Ajouter une transition d'opacité pour une animation fluide */
  z-index:40;
}

.experimentation-item:hover .experimentation-text {
  opacity: 1; /* Rendre le texte visible lors du survol */
}
.experimentation-item img:hover {
scale:2;
transition: 2s ease-out;
z-index: 39;
}

.item-a, .item-e {
/*  z-index: 7;*/
  rotate: 8deg;
}

.item-b {
/*  z-index: 4;*/
  rotate: 2deg;
  margin-top:-1rem;
  }

.item-c {
/*  z-index: 3;*/
  rotate: -10deg;
/*  width: 30%;*/

}

.item-d {
/*  z-index: 8;*/
  rotate: 2deg;
  /*left: 40%;
  top: 8rem;
  width:30%;*/

}
.item-f {
/*  z-index:9;*/
}


.experimentation-item img:nth-child(2) {
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0;
}

.experimentation-item:hover img:nth-child(2) {
  opacity: 1;
  transition: opacity ease 0.4s;
  scale: 2;
}

.experimentation-item img:nth-child(1) {
  opacity: 1;
}

.experimentation-item:hover img:nth-child(1) {
  opacity: 0;
  transition: opacity ease 0.4s;
}







/*----------------*/
/*     FOOTER     */
/*----------------*/


footer .rectangle p:hover {
  text-decoration: underline;
  transition: ease-in-out 2s;
}


footer {
color: white;
width: 100%;
font-size: 0.8rem;
}

.rectangle{
  z-index:20;
  position: fixed;
  padding: 5px;
  display:flex;
  height: 100px;
  width: 180px;
  background: blue;
  text-align:center;
  align-items:center;
  justify-content: center;
  right: 2%;
  bottom:0;
}


.carre{
    position: fixed;
    z-index:20;

    padding: 5px;
    display:flex;
    height: 150px;
    width: 150px;
    background: blue;
    text-align:center;
    align-items:center;
    justify-content: center;
  
    bottom:0;
    left: 20px;
    }

.cercle{
  display:flex;
    position: fixed;

    padding: 5px;
    z-index:20;
    width:100px;
    height:100px;
    background:blue;
    text-align:center;
    align-items:center;
    justify-content: center;
    border-radius:100px;
    left: 37px;
    bottom: 150px;
}

.petit-cercle {
display:flex;
    position: fixed;

    padding: 5px;
    z-index:20;
    width:20px;
    height:20px;
    transform:rotate(90deg);
    background:blue;
    text-align:center;
    align-items:center;
    justify-content: center;
    border-radius:100px;
    left: 77px;
    bottom: 250px;
}


/*-------------------------------------*/
/*PAGE ANNEXE LORSQU'ON CLIC SUR PROJET*/
/*-------------------------------------*/


body .page1{  
   cursor: url('/Users/barbo1/Documents/Site/images/autre/fleche.png'), auto;
   overflow:hidden;
   cursor: none;
/*   cursor: none; /* Masquez le curseur par défaut */ 
 }

 .page-turn-arrow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #3498db; /* Couleur de fond de la flèche */
  border-radius: 50%;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
}


 .arrows {
  max-width: 100%;
  display: flex;
  justify-content:space-between;
  padding: 0.5rem 1rem ;
  z-index:999;
  font-size: 1.5rem;

 }

 .arrow-right {
  padding-right: 1rem;
 }

.custom-cursor{
  display: block;
  position: fixed;
  pointer-events: none;
  width: 7rem; /* Ajustez la taille selon vos besoins */
  height: auto;
  z-index: 9999;
  transition: transform 0.3s ease;
  position: absolute; /* Position absolue */
  left: 35%; /* Initialiser la position à gauche */
  top: 40%; /* Initialiser la position en haut */
}

.custom-cursor img {
  width: 100%;
  height: auto;
}

.Diaporamaprojet{
  display:flex;
  flex: 9 1;
  position:relative;
}

.container {
  max-width: 100%;
  margin: auto;
  position: relative;
  padding: 8px;
  margin-left:initial;
  flex: 9;
  cursor:none;
}

.container img, .container video{
max-height: 500px;
object-fit: contain;
width:100%;
}

.slides {
  display: none;
}


.numbertext {
        font-size: 2em;
        margin: 1px;
       padding-left: 2rem;
        position: absolute;
        
      }

      .texte-cote {
   /* position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 30%;
    color: #fff; /* Couleur du texte à ajuster selon le fond */
    display: flex;
    font-size: 1.5rem; /* Taille du texte à ajuster selon vos besoins */
    flex: 3;
    margin-right: 0.5rem;
/*    text-align: justify;*/
    padding:2rem;
/*    align-items: center;*/
}




.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 16px;
}

.gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    max-width:100%;
    margin: 10px;
    transition: transform 0.3s ease-in-out;
    aspect-ratio:3/2;
    transform-origin: center center;
}

.gallery img:hover {
    transform: scale(2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
}

.close {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}



/*A PROPOS DE MOI*/


.qui img {
  display:flex;
  border-radius: 20%;
  filter: url(#monochrome);
  width: 200px;
  height:auto;
  margin:2rem;
}

/*PAGE*/



/*--------------*/
/* MEDIA QUERY */
/*--------------*/






/*1000PX*/

@media screen and (max-width: 1000px){
  body{
    font-size:0.8rem;
  }
.logo p {
  display: flex;
    position: absolute;
    left: 3rem;
    top: 3rem;
  width: 445px;
    background-color: white;
    flex-direction: column;}

header {
/*  font-size: 1.2rem;*/
}

.grid-sizer, .grid-item {
    width: 30%;
    margin-bottom: 2rem;
}
/*  .item-a {
  z-index: 7;
  rotate: 8deg;
  left: 0%;
  margin-left:-4rem;
} .item-b {
  z-index: 4;
  rotate: 2deg;
  padding-right: 2rem;
  margin-top:-1rem;
  }
  .item-c {
  z-index: 3;
  rotate: -10deg;
  margin-left: 30%;
  margin-top:-2rem;

} .item-d {
  z-index: 8;
  rotate: 10deg;
  left: 40%;
  top: -2rem;
}*/
.custom-cursor {
width: 3rem;
height:auto;
}

.container{
  max-width:90%;
  align-items:center;
  margin:auto;
}

.photo-container {

 width: 100%;
  height:auto;
  display:flex;
  margin: auto;
}

.photo-container img {
  height:auto;
}

h2{
  font-size:2.5rem;
}

.experimentation-item img {
  width: 15rem;
  height: auto;
}


.Diaporamaprojet {
  display:flex;
  flex-direction:column;
}

}

@media screen and (max-width: 950px){
  .menu{
    display: flex;
    flex-direction: column;
  }

}

/*630PX*/

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

.logo p {
width: 140px;
}
  header { 
    font-size:1rem;
  }

  .grid-sizer, .grid-item {
    width: 45%;
    margin-bottom: 2rem;
}


.menu {
  
  font-size: 0.8rem;
  position: static;
    bottom: 10%;
    left: 80%;
    display: flex;
    flex-direction: column;
}

.menu p {
  margin: 0;
  font-size: 1rem;
  padding:5px;
}

}

  /*450PX*/

@media  screen and (max-width: 450px){
 
.logo img {
    height: 5rem;
  }
.logo p {
  left: 2rem;
    top: 2rem;
    width: 140px;
}

  .rectangle{
  z-index:20;
  position: fixed;

  padding: 5px;
  
    display:flex;
    height: 50px;
    width: 90px;
    background: blue;
    text-align:center;
    align-items:center;
    justify-content: center;
    right: 2%;
    bottom:0;
}

.image-container figure {
  width: 90%;
  margin: 0.5rem;
}

.carre{
    position: fixed;
    z-index:20;

    padding: 5px;
    display:flex;
    height: 75px;
    width: 75px;
    background: blue;
    text-align:center;
    align-items:center;
    justify-content: center;
   
    bottom:0;
    left: 2px;
    }

.cercle{
    display:flex;
    position: fixed;

    padding: 5px;
    z-index:21;
    width:50px;
    height:50px;
    background:blue;
    text-align:center;
    align-items:center;
    justify-content: center;
    border-radius:100px;
    left: 12px;
   bottom: 75px;
}

.petit-cercle {
    display:flex;
    position: fixed;

    padding: 5px;
    z-index:22;
    width:13px;
    height:13px;
    transform:rotate(90deg);
    background:blue;
    text-align:center;
    align-items:center;
    justify-content: center;
    border-radius:100px;
    left: 32px;
    bottom: 125px;
}
}


@media screen and (max-width: 450px){
  header{ 
    font-size:1rem;
  }
  .menu { 
    position: static;
    right: 50%; 
    align-items: flex-end;
  }

 


footer{
  font-size: 5px;
}

}


/*@media screen and (min-width: 1200px){
#project img { width: 28% }
}

@media screen and (min-width: 1300px){
#project img {width:160px}
}*/

/*@media screen and (min-width: 1500px){
#project img {width:220px}
}*/
