*{
    margin : 0;
    padding : 0;
}
.fond{
  background-color: black;
  width:100%;
  height:100%;
}
@font-face {
  font-family: 'Ailerons'; /* Nom de la police */
  src: url(../Ressources/Ailerons.woff) format('woff');
  font-weight: lighter;
  font-style: normal;
}
.background{
    background-image: url(../../images/venus.jpg);
    background-size:cover;
    background-position: center;
    width:100%;
    height:100%;
    margin-left: 1vw;
}
.bord{
    position: absolute;
    height: 0.5%;
    width: 200vw;
    background: black;
    top: 99.5%;
    
}
.animation {
  opacity: 0; /* L'élément est initialement invisible */
  animation-name: fadeIn; /* Nom de l'animation */
  animation-duration: 1.5s; /* Durée de l'animation (1 seconde dans cet exemple) */
  animation-delay: 0s; /* Délai avant le début de l'animation (0.5 seconde dans cet exemple) */
  animation-fill-mode: forwards; /* Garde la fin de l'animation visible */
}
@keyframes fadeIn {
  from {
      opacity: 0; /* Opacité initiale à 0 */
  }
  to {
      opacity: 1; /* Opacité finale à 1 */
  }
}

.cadre{
    position:relative;
    height:100vh;
    width:100%;
    background-color:black;
    top:00%; 
    overflow: hidden;
}
.opacite{
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%,  rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.95) 70%,  rgba(0,0,0,1) 100%);
    position: absolute;
    height: 20%;
    width: 100vw;
    top:0%;
    display:flex;
    justify-content: center;
    color:white;
    padding-top:1vh;
    font-size: min(max(2vw,20px),40px);
    font-family: 'Exo'
}
.opacite2{
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%,  rgba(0,0,0,0) 100%);
    position: absolute;
    height: 20%;
    width: 100vw;
    top:80%;
}
.main{
    position:absolute;
    top:75%;
    height: 200vh;
    width: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(20,20,20,1) 0%, rgba(20,20,20,1) 90%, rgba(0,0,0,0) 100%);
  }
.sun {
  position: absolute;
  top: 50%; /* Positionne le haut du cercle au milieu de la page */
  transform: translateY(-50%); 
  left:-5vw;
  min-height: 10vw;
  min-width: 10vw;
  
  border: 2px solid #ffffaa;
  border-radius: 50%;
  box-sizing: border-box; 

  display: flex;
  justify-content: center; /* Centre le contenu horizontalement */
  align-items: center; /* Centre le contenu verticalement */
  
} 
.sun2 {
  
  min-height: 10vh;
  min-width: 10vh;
  
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box; 
  
} 
.trigger{
  position:absolute;
  height: 2vh;
  width: 2vh;
    
  border: 10px solid #e7d152;
  border-radius: 50%;
  box-sizing: border-box; 
  transition: border-color 0.3s ease;
}  
.fleche {
    position: absolute;
    margin-top: 20vh;
    width: 25px;
    height: 25px;
    border: 10px solid #c9c9c9;
    border-left: 0;
    border-top: 0;
    left:50%;
    transform : rotate(45deg);
    opacity: 0;
    transition : opacity 1s;
    transition-delay : 0.5s;
  }
  .show{
    opacity: 1;
  }
  .menu{
    position:absolute;
    height : 1.7vh;
    width: 1vw;
    top : 2%;
    right : 2%;
    display: flex;
    flex-direction : column;
    justify-content: space-between;
    z-index:500;
  }
  .barre{
    width: 100%;
    height : 22%;
    background-color:#c9c9c9;
    border-radius: 5px;
  }
  .dropdownmenu{
    position:absolute;
    height : fit-content;
    top : 4vh;
    right : 2vh;
    display: flex;
    justify-content: space-between;
    text-align: right;
    font-family: 'Exo';
    opacity: 0;
    transition : opacity 1s;
  }
 .col{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    height : fit-content;
    width : fit-content;
    margin-right: 2px;
    font-size: min(max(0.5vw,15px),20px);
    background-color: #101010; 
 }
.dir{
    height : fit-content;
    padding-top: 5px;
    padding-bottom: 5px;
    width : fit-content;
    border-top: 1px solid #000;
    padding-right: 10px;
    padding-left: 10px;
    color:white;
    text-decoration: none;
    align-items: center;
}
.dropdownmenu:hover {
    opacity: 1;
}
.menu:hover + .dropdownmenu{
    opacity: 1;
}
    
.scrollup{
    position: fixed;
    width: 25px;
    height: 25px;
    border: 10px solid #c9c9c9;
    border-left: 0;
    border-top: 0;
    right : 1%;
    bottom:1%;
    transform : rotate(-135deg);
    display: none; 
    z-index: 99;
    cursor: pointer;
}
.container{
  height: 100%;
  width: 60%;
  padding-left:20%;
  display: flex;
  justify-content: space-between;
  transform: translateX(-50%);
  transition: all 0.5s;
  opacity: 0;
}
.photos{
  margin-top:40vh;
  height:40vmin;
  width:25%;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
  transition : transform 0.2s ease, opacity 0.2s ease;
}
.photos:hover{
  transform: scale(1.1);
  opacity: 1;
}
.AAaa{
  background-image: url(../../images/ecoconcevoir/embout.png);
}
.BBbb{
  background-image: url(../../images/ecoconcevoir/cahier.png);
}
.CCcc{
  background-image: url(../../images/ecoconcevoir/image.png);
}
.colonnes{
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}
.texte1{
  color:white;
  width : 60%;
  margin-left: 20%;
  margin-top: 2%;
  font-family: 'Exo';
  font-size: min(max(0.8vw,15px),20px);
  display:block;
}
.montrerphotos{
  transform: translateX(0%);
  opacity: 1;
}



.container2{
  height : 30%;
  width : 100%;
  overflow: hidden;
}
.test{
  height : 30%;
  width : 100%;
  overflow: hidden;
  position: absolute;
}
.photo1, .photo2, .photo3 {
  position : absolute;
  height : 90%;
  width : 50%;
  left : 50%;
  top:50%;
  transform : translate(-50%,-50%);
  transition : all 1s ease;
}
.photo1{
  background-image: url(../../images/ecoconcevoir/0.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.photo2{
  background-image: url(../../images/ecoconcevoir/pince.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.photo3{
  background-image: url(../../images/ecoconcevoir/tout.png);
  background-position: center;  
  background-size: cover;
  background-repeat: no-repeat;
}
.gauche{
  height : 60%;
  width : 25%;
  left : 50%;
  top:50%;
  transform : translate(-200%,-50%);
  z-index:2;
}
.droite{
  height : 60%;
  width : 25%;
  left : 50%;
  top:50%;
  transform : translate(100%,-50%);
  z-index:40;
}
.centre{
  z-index:50;
  box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 1);
}
.boutongauche{
  height : 60%;
  width : 25%;
  left : 50%;
  top:50%;
  transform : translate(-200%,-50%);
  position : absolute;
  z-index:60;
}
.boutondroite{
  height : 60%;
  width : 25%;
  left : 50%;
  top:50%;
  transform : translate(100%,-50%);
  z-index:60;
  position : absolute;
}
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #101010; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #555; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #333; 
}

body{
  background-color : #000;
}
.container3{
  position : absolute; 
  top : 3.5%;
  right : 2%;
  height : 25vh;
  width : 7vw;
  display : flex;
  flex-direction : column;
  color:white;
  text-align:center;
  font-size:1.3vmin;
  font-family:'Exo';
  visibility: hidden;
  opacity:0;
  transition: all 0.5s ;
}
.list1{
  width: 100%;
  height:100%;
  border : 1px solid #000;
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  border-radius:5px;
  background-color:#101015;
}
.list2{
  height:100%;
  border : 1px solid #000;
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  border-radius:5px;
  background-color:#101015;
}
.contain{
  display:flex;
  flex-direction : column;
  position : absolute;
  right:100%;
  width : 7vw;
  height :6.25vh;
  transform:translateY(25%);
  visibility: hidden;
  opacity:0;
  transition: all 0.5s ;
}
.list1:nth-child(7){
  cursor: default;
}
.list1:nth-child(7):hover  .contain{
  visibility: visible;
  opacity: 1;
}

.menu:hover + .container3{
  visibility: visible !important;
  opacity: 1;
}
.container3:hover{
  visibility: visible !important;
  opacity: 1;
}
.container3 > a{
  color:white;
  text-decoration: none;
}
.contain > a{
  color:white;
  text-decoration: none;
}
.list1:hover{
  background-color:#151518;
}
.list2:hover{
  background-color:#151518;
}
.boutonback{
  color:white;
  height: 30px;
  width: 60px;

  border : 1px solid #202020;
  display:block;
  text-align: center;
  font-size : 45px;
  text-decoration : none;
  top:2%;
  left:2%;
  position:absolute;
  border-radius : 5px;
  transition:all 0.1s;
}
span{
  transform: translate(-55%,-20%);
  position:absolute;
}
.boutonback:hover{
  transform : scale(1.1);
}

.description{
  position: absolute;
  z-index: 990;
  height: 50%;
  width: 50%;
  top:25%;
  left:25%;
  background-color:#151520bb;
  border:1px solid gray;
  opacity:0;
  animation : fadedesc 2s forwards;
  animation-delay: 1.5s;
  backdrop-filter: blur(15px);
  display:flex;
  justify-content: space-around;
}
@keyframes fadedesc{
  from {
    opacity: 0; /* Opacité initiale à 0 */
}
to {
    opacity: 1; /* Opacité finale à 1 */
}
}
.descgauche{
  width : 30%;
  height:100%;
  display : flex;
  flex-direction: column;
  justify-content: space-around;
}
.descdroite{
  width : 60%;
  height:100%;
  display : flex;
  flex-direction: column;
  justify-content: space-around;
}
.niv{
  height: 28%;
  color:white;
  font-family:Arial, Helvetica, sans-serif ;
  background-color: rgb(30,30,30,0.5);
  border:1px solid #555;
  font-size:15px;
  display:flex;
  align-items: center;
  text-align: left;
  padding-left: 10px;
  padding-right: 10px;
}
#toggle {
  width: 28px;
  height: 30px;
  margin: 10px auto;
  position: fixed;
  left : 1%;
  bottom:1%;
  z-index:99999;
}

#toggle div {
  width: 100%;
  height: 5px;
  background: white;
  margin: 4px auto;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius : 5px;
}
#toggle.on .one {
  transform: rotate(45deg) translate(5px, 5px);
}

#toggle.on .two {
  opacity: 0;
}

#toggle.on .three {
  transform: rotate(-45deg) translate(7px, -8px);
}

