

@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');


body {
    background-color: #1F2024;
    font-family: 'ABeeZee', sans-serif;
    color: white;
    overflow-y: hidden;
    margin-right: -11vw;
}

#presentation{
  position: absolute;
  left: 50px;
  bottom: 6vh;
  font-family: 'ABeeZee', sans-serif;
  font-size: xx-large;
  color: white;
  text-align: start;
  line-break:auto;
  width: 50%;
  font-size: 18px;
  opacity: 0;
  transition: opacity 10s ease; 
}
#cat-date {
    top: 0px;
    position: relative;
    left: 30px;

}

#cat-soustitre{
    position: relative;
    margin-top: 50px;
    left: 30px;
}

#cat-titre {
position : relative;
margin : 0;
top: 5vh;
left: 30px;
}



h1{
    font-size: 85px;
    
}

h2{
    font-size:20px;
    font-style: italic;
}

h3{
    font-size: 20px;

}
/*
.container {
    overflow-x: scroll;
    overflow-y: hidden; 
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin-left: 50px;
}*/



main {
    overflow-x: hidden;
    display: flex;
  }

  #section-img{
    min-width: 80vw;
    height: 85vh;
    display: flex;
    z-index: 2;
    margin-top: 8vh;
    margin-left: 15vw;
    margin-right: -10vw;
  }




#section-img video{
width: 100%;
}


#section-img2{
    min-width: 100vw;
   max-height: 85vh;
    display: flex;
    z-index: -2;
    margin-top: 8vh;
    margin-left: -20vw;

  }




#section-img2 video{
width: 70%;
}




  section:nth-child(even) {
    /*background-color: rgb(255, 0, 0);*/
    color: white;
  }
  
  #section-titre{
    margin : 0;
    min-width: 50vw;
    min-height: 100vh;
    align-items: top;
  }





  @media only screen and (max-width: 600px) {
    .presentation{
        width: 70%;
        font-size: 14px;
    }
    #section-img {
        min-width: 100vw;
    }
    #section-titre {
        min-width: 70%;
    }
    #cat-titre {
        top: 2vh;
        left: 30px;
        font-size: 30px;
    }
  }



  .container {
    display: flex;
    align-items: center;
    margin-right: 80vw;
    margin-left: 0vw;
    height: 100vh; /* Ajustez cette valeur selon votre mise en page */
}
.bouton-projet {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.767);
  cursor: pointer;
  font-size: 66px;
  padding: 8px 12px;
  position: relative;
  overflow: hidden;
  transition: padding 0.3s ease-in-out; /* Transition pour le redimensionnement */
}

/* Style de la flèche à droite */
.fleche {
  transition: transform 0.3s ease-in-out;
}

/* Style du texte caché */
.texte-caché {
  position: absolute;
  top: 0;
  font-family: 'ABeeZee', sans-serif;
  left: 100%; /* Initiallement, hors de la vue */
  background-color: none;
  color: rgba(255, 255, 255, 0.767);
  padding:40px;
  border-radius: 4px;
  font-size: 24px;
  white-space: nowrap;
  transition: left 0.3s ease-in-out; /* Transition pour l'animation */
}

/* Au survol du bouton */
.bouton-projet:hover .fleche {
  transform: translateX(50%);
  opacity: 0;
}

.bouton-projet:hover .texte-caché {
 left: 0; /* Fait apparaître le texte caché au survol */
}

.bouton-projet:hover {
  padding: 8px 150px;
  width: fit-content; /* Redimensionnement du bouton pour accueillir le texte */
}


.btn {
  margin-left: -15vw;
  margin-top: 10vh;
  position: relative;
  width: 50px;
  height: 50px;
  border: none;
  transition: all 0.5s ease-in-out;
  font-size: 48px;
  font-weight: 600;
  display: flex;
  align-items: center;
  background: #1F2024;
  color: rgb(255, 255, 255);
  font-family: 'ABeeZee', sans-serif;
  text-decoration: none;
}


#bouton-suivant{
  text-decoration: none;
}
 
.icon {
  position: absolute;
  top: 50%; /* Centre l'icône verticalement */
  left: 10px; /* Ajoute un espace à gauche de l'icône */
  transform: translateY(-50%); /* Ajuste pour centrer l'icône verticalement */
  transition: all 0.5s;
  height: 40px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.767);
  font-family: 'ABeeZee', sans-serif;
}
.btn:hover {
  box-shadow: 0 0 20px 0px #2e2e2e3a;
}

.btn .icon {
  position: absolute;
  height: 40px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

.btn .text {
  transform: translateX(55px);
}

.btn:hover .icon {
  width: 175px;
  
}

.btn:hover .text {
  transition: all 0.5s;
  opacity: 0;
}

.btn:focus {
  outline: none;
}

.btn:active .icon {
  transform: scale(0.85);
}



.hover-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.767);
  font-family: 'ABeeZee', sans-serif;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index:3;
}

#prev-hover {
  left: 30px; 
  text-decoration: none;
}

#next-hover {
  right: 30px; 
  text-decoration: none;
}

body:hover #prev-hover,
body:hover #next-hover {
  opacity: 1;
}
