@charset "utf-8";
/* CSS Document */

/* bgcolor = 080808 
text gris foncé = 444
text clair = e0e0e0
rose = f591f1  */

@font-face {
    font-family: 'Avara-Black';
    src: url("fonts/Avara-Black.ttf");
	src: url("fonts/Avara-Black.woff");
	src: url("fonts/Avara-Black.woff2");
    font-weight: normal;
    font-style: normal;
    
}

@font-face {
    font-family: 'Avara-Bold';
    src: url("fonts/Avara-Bold.ttf");
	src: url("fonts/Avara-Bold.woff");
	src: url("fonts/Avara-Bold.woff2");
    font-weight: normal;
    font-style: normal;
	
}
	
@font-face {
    font-family: 'Avara-BoldItalic';
    src: url("fonts/Avara-BoldItalic.ttf");
	src: url("fonts/Avara-BoldItalic.woff");
	src: url("fonts/Avara-BoldItalic.woff2");
    font-weight: normal;
    font-style: normal;

}

body, html {
	margin: 0;
	padding: 0;
	background-color: #080808;
	color: #e0e0e0;
	font-family: "Quicksand", sans-serif;
	-webkit-font-smoothing:antialiased;
	display:flex;
	flex-direction: column;
}




/* bandeau animé */

.sticky-header{
	width: 100%;
	height: 30px;
	position: sticky;
	top: 0;
	background-color: #f591f1;
	color: #444;
	display: flex;
	align-items: center;
	z-index: 100;
	overflow: hidden;
	
}

.sticky-header p {
	font-family: 'Avara-BoldItalic';
	font-size: 1.5rem;
	letter-spacing: 0.04rem;	
}

span{
	font-family: "Avara-Bold";
}




/* animation du texte */

.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%; 
	padding: 0px 30px;
	box-sizing: border-box; 
	overflow-y: auto; 
	height: 100vh;
	
	scroll-timeline-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;
}



/* mise en forme des titres et paragraphes */

.focus-text{
	font-family: "Avara-BoldItalic";
	font-size: 3rem;
	line-height: 1.1;
	color: darkorange;
	margin: 0;
	letter-spacing: 0.04em;
}

.description{
	font-size: 1.1rem;
	margin-top: 1.5rem;
	margin-left: 1.3rem;
	margin-right: 0.5rem;
	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: 1s; 
	animation-timeline: --project; 
	animation-range: entry 0% cover 50%; 
	animation-fill-mode: both;
}

@keyframes reveal-title {
	from {
		filter: blur(30px);
		opacity: 0;
		transform: translateY(60px) scale(0.6);
		color: #444;
  	}
	to {
		filter: blur(0);
		opacity: 1;
		transform: translateY(0) scale(1);
		color: darkorange;
  	}
}



/*pour enlever la scrollbar*/

.left-section::-webkit-scrollbar {
	display: none;
	
}

.right-section::-webkit-scrollbar {
	display: none;
	
}


/*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: 90%;
	object-fit: 
}

/*controles audio*/

.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 darkorange;
	color: darkorange;
	font-family: ‘Avara_Bold 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: ‘Avara_Bold’;
}

input[type= "range"] {
	accent-color: darkorange;
}




/*boutons et apparition des images*/

.button-container {
	display: flex;
	gap: 20px;
	margin: 20px 0;
}

.btn-wrapper {
	position: relative; 
}

.btn {
	width: 35px;
	height: 35px;
	background-color: darkorange;
	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: ‘Avara_Black’;
	font-size: 1.2rem;
	transition: transform 0.2s, background-color 0.2s;
	padding: 0;
}

.btn:hover {
	transform: scale(1.1);
	background-color: #080808;
	color: darkorange;
	border-color: darkorange;
}

.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: 25vh;
	display: inline-flex;
	align-items: flex-end;
	margin-bottom: 4vh;
}

.closer {
	font-size: 0.9rem;
	font-weight: 200;
	color: darkorange;
}

.anim-scroll {
	display: flex;
	justify-content: center;
	margin-top: 6rem;
}






