@font-face {
    font-family : Work;
    src: url(fonts/Work-Sans-600.ttf);
}

@font-face {
    font-family : Workr;
    src: url(fonts/Work-Sans-Regular.ttf);
}

@font-face {
   font-family : Work-italic;
    src: url(fonts/Work-Sans-600italic.ttf);
}


@font-face {
   font-family : Oddval;
    src: url(fonts/oddval.semibold.ttf);
}

@font-face {
   font-family : Oddval-italic;
    src: url(fonts/oddval-semibolditalic.otf);
}



body {
    font-family: 'Work';
    background-color: #e7e7e7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#scrolling{
  overflow-y: scroll;
  cursor: crosshair;
}


.container {
    font-family: 'Work';
    width: 100%;
    z-index: 1;

}


.colonne {
 background-color:  #e7e7e7;
    /* width: 30%;     /* Largeur de chaque colonne (50% pour diviser en deux) */  
     float: left;    /* Flotter les colonnes pour les aligner côte à côte */
     box-sizing: border-box;  /* Inclure les bordures et les marges dans la largeur */
     padding: 50px;   /* Espacement intérieur des colonnes */
     /*border: 1px solid #ffffff;  /* contour de 1 pixel solide */
     overflow-y: auto;   /* Activer les barres de défilement verticales */
     z-index: 1;
     margin-top:5%;
      
    }
 
 #colonne2 {
    padding-top: 0;
    width:97%; /* Largeur de la colonne scrollable */
    overflow-y: auto; /* Activer les barres de défilement verticales */
    position: absolute; /* Réinitialiser la position */
    left:0%;
    margin-left: 1%;
    background-color: #e7e7e7; /* Fond gris plus clair pour la colonne scrollable */
    z-index: 0; /* Position derrière la colonne fixe */
    align-items: top;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    
   /* grid-template-rows: 1fr 1fr 1fr;*/
    grid-gap: 6px;
    z-index: 1;
 }


 .photo {
    margin-bottom:20px;
    transition: transform 0.1s;
}





.imagepopup {
    cursor: pointer;
}

.imagepopup:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: #000;
}

#fullpage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; 
    background-color:rgba(24, 5, 133, 0.5); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}





#popup {
  position: fixed;
  top: -120vh;
  opacity: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: linear-gradient(180deg, rgba(24, 5, 133, 1) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(24, 5, 133, 0.3) 100%);
  transition: all 1s;
  overflow-y: scroll;
}

#titre{
  color: #e7e7e7;
  font-family: Oddval-italic;
  font-size: 55px;
  line-height: 50px;
  width: 100%;
  margin-bottom: 0;
  margin-top: 0;
  margin-left: 0;
}

#soustitre{
  color: #e7e7e7;
  width: 100%;
  font-family: Work;
  margin-left: 0;
  font-size: 30px;
  font-family: Oddval;
  margin-top: 0;
  margin-bottom: 10px;
}

#annee{
  color: #e7e7e7;
  width: 100%;
  font-family: Work;
  margin-left: 0;
  font-size: 20px;
}

#texte{
  color: #e7e7e7;
    width: 100%;
    font-size: 20px;
    font-family: Work;
    margin-left: 0;
}


#label{
  color: #e7e7e7;
  font-size: 20px;
  font-family: Work;
}

.infos {
  position: absolute;
  top: 100px;
  left: 50px;
  width: calc((100% / 3) - 50px);
  height: calc(100% - 120px);
}

.infosbarre {
  position: absolute;
  display: inline-block;
  top: 100px;
  left: 50px;
  width: calc((100% / 2) - 50px);
  height: calc(100% - 120px);
}
/*
#galerie {
  position: absolute;
  top: 15%;
  left: 36%;
  width: 60%;
  height: 80%;
  overflow-y: scroll;
}

#galerie img{
  box-shadow: none;
 
}*/

#galerie {
  position: absolute;
  top: 100px;
  right: 60px;
  width: calc((2 * 100% / 3) - 80px);
  height: calc(100% - 100px);
  overflow-y: scroll;
}

#galerie img {
  display: block;
  margin-bottom: 20px;
}

/* Image portrait */
#galerie img.portrait {
  width: auto;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
 
}

/* Image paysage */
#galerie img.paysage {
  width: 100%;
  height: auto;
}




img {
    width: 100%;
    box-shadow: 10px 10px 15px #180585 ;
    z-index: 1;
}

#Contact{
  overflow-y: hidden;
  position: fixed;
  top: -120vh;
  left: 0;
  width: 100%;
  height: 120vh;
  background: linear-gradient(180deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transition: all 1s;
  opacity: 0;
  z-index: 3;
  font-size: 15pt;
}

#Apropos{
  overflow-y: hidden;
  position: fixed;
  top: -120vh;
  left: 0;
  width: 100%;
  height: 120vh;
  background: linear-gradient(180deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transition: all 1s;
  opacity: 0;
  z-index: 3;
  font-size: 15pt;
}

#Contact a{
color: #e7e7e7;
}

#page{
  overflow-y: hidden;
  position: absolute;
  top: -120vh;
  left: 0;
  width: 100%;
  height: 120vh;
  background: linear-gradient(180deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transition: all 1s;
  opacity: 0;
  z-index: 3;
}

#page img{
  width: 40%;
}

#nomlien {
  margin-left: 3%;
  color: #e7e7e7;
  font-size: 15pt;
}


#Texte{
  font-size: 15pt;
  color: #643030;
  width: 40%;
  font-family: "Work";
    margin-left: 3%;
}


#pcontact{
  font-size: 20pt;
  color: #e7e7e7;
  font-family: "Work";
}

#ppropos{
  font-size: 20pt;

  color: #e7e7e7;
  font-family: "Work";
}

#credit{
font-size: 15pt;
display: inline-block;
text-align: right;
right: 60px;
top: 113px;
position: absolute;
width: 400px;
position: absolute;
 color: #e7e7e7;
 font-family: "Workr";
}


#menu {
  position: fixed;
  top: 20px;
  left: 50px;
  width: calc(100% - 115px);
  height: 50px;
  z-index: 12;
  transition: all 1s;
  font-size: 25px;
  font-family: "Oddval";
  border: 4px solid rgb(24, 5, 133);
  background-color: #e7e7e7;
}

ul {
  display: inline-block;
  list-style-type: none;
  margin: 0%;
  padding: 0;
}
/*
li {
  background-color: #e7e7e7;
}*/

.close_btn {
  position: fixed;
  bottom: 20px;
  font-family: Oddval;
  color: #e7e7e7;
  width: 70px;
  box-shadow: none;
}

.close_btn2 {
  position: fixed;
  bottom: 20px;
  font-family: Oddval;
  color: #e7e7e7;
  width: 70px;
  box-shadow: none;
}

 #espace1 {
    width:98%;

 }

 #espace2 {
    width: 98%;
   
 }
 #espace2 {
    width: 98%;
   
 }
 
/*
 #paslouis:hover {
  background: linear-gradient(90deg, #180585 38.57%, #e7e7e7 100%);
  color: #e7e7e7;
 }

  #paslouis {
  font-size: 15pt;
 }
*/

#nom{
 position: absolute;
top: 0;
left: 50%;
line-height: 50px;
transform: translate(-50%,0);
}






#barre {
  color:#180585;
  line-height: 50px;
/*    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;*/
}

#barre li:first-child {
  position: absolute;
top: 0;
border-right: 4px solid #180585;
width: fit-content;
padding: 0px 20px;
transition: all 1s;
}

#barre li:last-child {
  border-left: 4px solid #180585;
  position: absolute;
  top: 0;
  right: 0px;
  padding:0px 11px;
  transition: all 1s;
}

#barre li:first-child:hover{
background: linear-gradient(-80deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 40%, rgba(255, 255, 255, 0) 100%);
color:#e7e7e7;
}

#barre li:last-child:hover{
background: linear-gradient(80deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 40%, rgba(255, 255, 255, 0) 100%);
color:#e7e7e7;
}


#menu.menu-ouvert #barre li:first-child:hover {
    background: linear-gradient(
        80deg,
        rgba(231, 231, 231, 0.95) 0%,
        rgba(231, 231, 231, 0.6) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    color: #180585;
}

#menu.menu-ouvert #barre li:last-child:hover {
    background: linear-gradient(
        -80deg,
        rgba(231, 231, 231, 0.95) 0%,
        rgba(231, 231, 231, 0.6) 40%,
        rgba(255, 255, 255, 0) 100%
    );
    color: #180585;
}





















 
@media (max-width: 768px) {
  .nav > div {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav li {
    margin-bottom: 5px;
  }

   .photo {
    margin-bottom:15px;
    transition: transform 0.1s;
}



.container {
    font-family: 'Work';
    z-index: 1;

}

#credit{
font-size: 12pt;
display: inline-block;
text-align: right;
right: 25px;
top: 650px;
position: absolute;
width: 400px;
position: absolute;
 color: #e7e7e7;
 font-family: "Workr";
}

.colonne {
     overflow-y: auto;   /* Activer les barres de défilement verticales */
     z-index: 1;
     padding: 20px;
     margin-top:20%;
      width: calc(100%);
      
    }
 
 #colonne2 {
    width: 100%; /* Largeur de la colonne scrollable */
    display:block;
    grid-template-columns: 0fr 0fr;
    
   /* grid-template-rows: 1fr 1fr 1fr;*/
    grid-gap: 6px;
    z-index: 1;
 }



img {
    width: 100%;
    box-shadow: 7px 7px 15px #180585 ;
    z-index: 1;
}

#Contact{
  overflow-y: hidden;
  position: fixed;
  top: -120vh;
  left: 0;
  width: 100%;
  height: 120vh;
  background: linear-gradient(180deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transition: all 1s;
  opacity: 0;
  z-index: 3;
  font-size: 15pt;
}

#Apropos{
  overflow-y: hidden;
  position: fixed;
  top: -120vh;
  left: 0;
  width: 100%;
  height: 120vh;
  background: linear-gradient(180deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transition: all 1s;
  opacity: 0;
  z-index: 3;
  font-size: 15pt;
}

#Contact a{
color: #e7e7e7;
}







#menu {
  position: fixed;
  top: 5px;
  left: 0px;
  width: calc(100% - 8px);
  height: 45px;
  z-index: 12;
  transition: all 1s;
  font-size: 18px;
  font-family: "Oddval";
  border: 4px solid rgb(24, 5, 133);
  background-color: #e7e7e7;
}




#nom{
 position: absolute;
height:45px;
line-height: 15pt;
width: 130px;
text-align: center;
}


#barre {
  color:#180585;
  line-height: 45px;
/*    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;*/
}


#barre li:first-child {
  position: absolute;
top: 0;
border-right: 4px solid #180585;
width: fit-content;
padding: 0px 10px;
transition: all 1s;
}

#barre li:last-child {
  border-left: 4px solid #180585;
  position: absolute;
  top: 0;
  right: 0px;
  padding:0px 8px;
  transition: all 1s;
}



#barre li:first-child:hover{
background: linear-gradient(-80deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 40%, rgba(255, 255, 255, 0) 100%);
color:#e7e7e7;
}


#barre li:last-child:hover{
background: linear-gradient(80deg, rgba(24, 5, 133, 0.95) 0%, rgba(24, 5, 133, 0.6) 40%, rgba(255, 255, 255, 0) 100%);
color:#e7e7e7;
}

#galerie {
  position: relative;
  top: 80px;
  right: 0px;
  left: 20px;
  width:calc(100% - 50px);
  height: fit-content;
  overflow-y: hidden;
  margin-bottom: 25px;
  padding-bottom: 100px;
}

#galerie img {
  display: block;
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}

#popup {
  position: fixed;
  top: -120vh;
  opacity: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: linear-gradient(180deg, rgba(24, 5, 133, 1) 0%, rgba(24, 5, 133, 0.6) 60%, rgba(24, 5, 133, 0.3) 100%);
  transition: all 1s;
  overflow-y: scroll;
}

#titre{
  color: #e7e7e7;
  font-family: Oddval-italic;
  font-size: 40px;
  line-height: 40px;
  width: 100%;
  margin-bottom: 10px;
}

#soustitre{
  color: #e7e7e7;
  width: 100%;
  font-family: Work;
  line-height: 25px;
  margin-left: 0;
  font-size: 25px;
  font-family: Oddval;
  margin-top: 0;
  margin-bottom: 10px;
}

#annee{
  color: #e7e7e7;
  width: 100%;
  font-family: Work;
  margin-left: 0;
  font-size: 20px;
}

#texte{
  color: #e7e7e7;
    width: 100%;
    font-size: 18px;
    font-family: Work;
    margin-left: 0;
}


#label{
  color: #e7e7e7;
  font-size: 20px;
  font-family: Work;
  
}

.infos {
  position: relative;
  top: 75px;
  left: 20px;
  width: calc(100% - 40px);
  height: auto;
  margin-bottom: 30px;
}

.close_btn {
  position: fixed;
  width: 50px;
}

.close_btn2 {
  position: fixed;
  width: 50px;
}

#pcontact{
  font-size: 15pt;
  color: #e7e7e7;
  font-family: "Work";
}

#ppropos{
  font-size: 15pt;
  color: #e7e7e7;
  font-family: "Work";
}

.infosbarre {
  position: absolute;
  top: 70px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 120px);
}

/* Image portrait */
#galerie img.portrait {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
 
}

/* Image paysage */
#galerie img.paysage {
  width: 100%;
  height: auto;
}


}

