@charset "utf-8";
/* CSS Document */
/* 
   --bg: #080808;
   --text-gris-fonce: #444;
   --text-clair: #e0e0e0;
   --rose: #ff43dc;
	--bleu: #2f2df0;
*/ 

@font-face {
    font-family: 'Faune-Text_Regular';
    src: url("fonts/Faune-Text_Regular.ttf");
	src: url("fonts/Faune-Text_Regular.woff");
	src: url("fonts/Faune-Text_Regular.woff2");
    font-weight: normal;
    font-style: normal;
    
}

@font-face {
    font-family: 'Faune-Text_Italic';
    src: url("fonts/Faune-Text_Italic.ttf");
	src: url("fonts/Faune-Text_Italic.woff");
	src: url("fonts/Faune-Text_Italic.woff2");
    font-weight: normal;
    font-style: normal;
	
}
	
@font-face {
    font-family: 'Faune-Display_Bold_Italic';
    src: url("fonts/Faune-Display_Bold_Italic.ttf");
	src: url("fonts/Faune-Display_Bold_Italic.woff");
	src: url("fonts/Faune-Display_Bold_Italic.woff2");
    font-weight: normal;
    font-style: normal;

}


body, html{
	margin: 0;
	padding: 0;
	background-color: #080808; 
	color: #e0e0e0; 
	font-family: "Libre Baskerville", serif;
	-webkit-font-smoothing: antialiased; 
	display: flex; 
	flex-direction: column; 
	
	
}

/* bandeau animé du titre */ 
.sticky-header{
	width: 100%;
	height: 30px;
	background-color: #ff43dc; 
	position: sticky;
	top: 0;
	color: floralwhite; 
	display: flex;
	align-items: center;
	z-index: 100;
	overflow: hidden; 	
}

.sticky-header p{
	font-family: 'Faune-Text_Italic';
	font-size: 2rem;
	letter-spacing: 0.06em;
	
}

span{
	font-family: 'Faune-Display_Bold_Italic';

}

/* animation du titre */
.scrolling-text{
	display: inline-block;
	width: 100%;
	animation: scroll-text 18s linear infinite;
	white-space: nowrap;
}

@keyframes scroll-text{
	0%{
		transform: translateX(0);
	}
	100%{
		transform: translateX(-50%);
	}
	
}

/* structure de l'écran */
.container{
	display: flex;
	flex: 1;
	overflow-y: auto;
}
.left-section{
	width: 30%;
	height: 100vh;
	background-color: #080808;
	padding: 0 30px;
	box-sizing: border-box;
	overflow-y: auto;
	
	scroll-time-name:--left-scroll--;
	scroll-timeline-axis: block;
	
}

.left-section section{
	margin-top: 30rem; 
}

.right-section{
	width: 70%;
	height: calc(100vh -30px);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;	
}
/*carousel de droite*/
.carousel{
	width: 70%;
	height: 100vh;
	overflow: hidden;
	position: fixed; 
}

.carousel .slides{
	display: flex;
	align-content: flex-end;
	width: 300%;
	height: 100vh;
	animation: slideAnimation 14s infinite;
}

@keyframes slideAnimation{
	0%{transform: translateX(0);}
	33.33%{transform: translateX(-33.33%);}
	66.66%{transform: translateX(-66.66%);}
	100%{transform: translateX(0);}
}

.carousel .slide{
	width: 33.33%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel .slide img{
	max-width: 100%;
	max-height: 83%;
	object-fit: contain;
}


/*mise en forme des titres et paragraphes*/
.focus-text{
	font-family: 'Faune-Display_Bold_Italic';
	font-size: 3rem;
	line-height: 1.1;
	color: #ff43dc; 
	margin: 0;
	letter-spacing: 0.04em; 
}

.description{
	font-size: 1.1rem;
	margin: 1.5rem 0.5rem 0 1.3rem; 
	line-height: 1.6rem;
	font-weight: 300; 
}
/*animer le h2 avec le scroll*/
.project{
	view-timeline-name: --project;
	view-timeline-axis: block;
}

.focus-text{
	animation-name: reveal-title;
	animation-duration: 2.5s;
	animation-timeline: -project;
	/*déclencheur*/
	animation-range: entry 10% cover 50%;
	animation-fill-mode: both;
}
@keyframes reveal-title{
	from{
		filter: blur(40px);
		opacity: 0;
		transform: translateY(60px)scale(0.6);
		color: #444;
	}
	
	to{
		filter: blur(0);
		opacity: 1;
		transform: translateY(0)scale(1);
		color: #ff43dc;
	}
}

/*pour enlever la scrollbar*/

.left-section::-webkit-scrollbar {
display: none;

}


.right-section::-webkit-scrollbar {
display: none;

}


.audio-controls {
margin-top: 50px;
padding: 15px;
width: 100%;

}

.audio-button{
display: block;
width: 40%;
padding: 10px;
margin-bottom: 30px;
background-color: #080808;
border: 1px solid darkgreen;
color: darkgreen;
font-family: 'Faune-Text_Italic';
font-size: 1.3rem;
cursor: pointer;
transition: background-color 0.3s;

}

.audio-button:hover {
background-color: #e0e0e0;
}

.slider-container {
margin-bottom: 0.8rem;
}
.slider-container label {
display: block;
font-family: 'Faune-Text_Regular';
}
input[type= "range"] {
accent-color: darkgreen;
}





.button-container {
display: flex;
gap: 20px;
margin: 20px 0;
}

.btn-wrapper {
position: relative;
}

.btn {
width: 35px;
height: 35px;
background-color: darkgreen;
border: 1px solid #e0e0e0;
border-radius: 50%; /* Rend le bouton parfaitement rond */
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #e0e0e0;
font-family: 'Faune-Text_Regular';
font-size: 1.2rem;
transition: transform 0.2s, background-color 0.2s;
padding: 0;
}

.btn:hover {
transform: scale(1.1);
background-color: #080808;
color: darkgreen;
border-color: darkgreen;
}

.hover-image {
display: none;
position: absolute;
z-index: 9999;
width: 200px;
height: auto;
top: 80px;
left: 30px;
box-shadow: 0 10px 30px #080808;
transition: opacity 0.5s ease;
pointer-events: none;
}

.btn-wrapper:hover .hover-image {
display: block;
}



.closing-section {
height: 7vh;
display: inline-flex;
align-items: flex-end;
margin-bottom: 4vh;
}
.closer {
font-size: 0.9rem;
font-weight: 200;
color: #2f2df0;
}



.anim-scroll {
display: flex;
justify-content: center;
margin-top: 6rem;
}
