@font-face {
  font-family: 'soleilbold';
  src: url('fonts/SoleilBold.otf') format('woff2');
  font-weight: bold;
  font-style: bold;
}

@font-face {
  font-family: 'soleilbook';
  src: url('fonts/SoleilBook.otf') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'soleillight';
  src: url('fonts/SoleilLight.otf') format('woff2');
  font-weight: light;
  font-style: light;
}


/* Styles globaux */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Conteneur principal */
.container {
  display: flex;
  height: 100vh;
}

/* Colonnes */
.colonne {
  padding: 20px;
  box-sizing: border-box;
}

.gauche {
  width: 20%; /* Ajusté à 20% pour la colonne de gauche */
  border-right: 3px solid #000000;
  overflow-y: auto;
}

.droite {
  width: 80%; /* 80% pour la colonne de droite */
  position: relative;
  overflow: hidden;
}

/* Liste des projets */
.projets {
  font-family: soleilbold;
  list-style: none;
  padding: 0;
  margin: 0;
}

.projets li {
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Séparateur entre chaque projet (s'applique à tous sauf le dernier) */
.projets li:not(:last-child) {
  border-bottom: 1px solid #000000;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

/* Style pour le titre du projet */
.projets li .titre {
  display: block;
  font-weight: bold;
}

/* Styles pour la description masquée par défaut */
.projets li .desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.1s ease, opacity 0.1s ease;
  margin: 0;
}

/* Affichage de la description au survol */
.projets li:hover .desc {
  font-family: soleillight;
  max-height: 100px; /* Ajustez la hauteur selon la taille de vos descriptions */
  opacity: 1;
  margin-top: 5px;
}




/* Conteneur de la pile d'images */
.pile-images {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pile-images img,
.pile-images video {
  max-width: 80%;
  max-height: 80%;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.pile-images video {
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
