@charset "UTF-8";
/* CSS Document */
/*commentaire */


@font-face {
    font-family: 'Karrik-Regular';
	src: url( "fonts/Karrik-Regular.ttf");
	src: url( "fonts/Karrik-Regular.woff");
	src: url( "fonts/Karrik-Regular.woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Karrik-Italic';
	src: url( "fonts/Karrik-Italic.ttf");
	src: url( "fonts/Karrik-Italic.woff");
	src: url( "fonts/Karrik-Italic.woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'VG5000-Regular_web';
	src: url( "fonts/VG5000-Regular_web.ttf");
	src: url( "fonts/VG5000-Regular_web.woff");
	src: url( "fonts/VG5000-Regular_web.woff2");
    font-weight: normal;
    font-style: normal;
}


/* 
	-- bg: #080808;
	-- text-gris-fonce: #444;
	-- text-clair: #e0e0e0;
	-- rose: #f5991f1;	*/

/*Body est supérieur en hiérarchie, donc ce qui sera dans body sera dans tous les autres elements */
body, html {
	margin: 0;
	padding: 0;
	background-color: #080808;
	color: #e0e0e0;
	font-family: "Fredoka", sans-serif;
	-webkit-font-smoothing: antialiased; 
	display: flex;
	flex-direction: column;
}

/*bandeau animé du titre*/
.sticky-header{
	width: 100%;
	height: 30px;
	background-color: #FFF5DF;	
	position: sticky;
	top: 0;
	color: #444;
	display: flex;
	align-items: center;
	overflow: hidden;
	z-index: 2000;
}

.sticky-header p {
	font-family: 'Karrik-Italic';
	font-size:1.5rem;
	letter-spacing: 0.04rem;
}

span{
	font-family: 'VG5000-Regular_web';
}

/*animation du titre*/

.scrolling-text{
	display: inline-block;
	width: 100%;
	animation: scroll-text 10s 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: #448440;
	padding: 0 30px;
	box-sizing: border-box;
	overflow-y: auto;
	
	scroll-timeline-name: --left-scroll;
	scroll-timeline-axis: block;
}

.left-section section{
	margis-top: 30rem;
}

/*pour masque scrollbar chrome*/
.left-section::-webkit-scrollbar {
	display:none; /*Chrome*/
}

.left-section{
	scrollbar-width:none;
}

.right-section{
	width: 70%;
	background-color: #96282A;
	height: calc(100vh -30px);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*Carroussel de droite*/

.caroussel{
	width: 70%;
	height: 100vh;
	overflow: hidden;
	position: fixed;
}

.caroussel .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);}
}

.caroussel .slide {
	width: 33.33%;
	height: 99%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.caroussel .slide img{
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}
/* mise en forme des titres et paragraphes*/

.focus-text{
	font-family: 'Fredoka';
	font-weigt:200;
	font-size: 3rem;
	line-height:1,1;
	color: s;
	marging: 0;
	letter-spacing: 0.04rem;
}

.description{
	font-family: 'Karrik-Italic';
	font-size: 1.1rem;
	margin: 1.5rem 0.5rem 0 1.3rem;
	line-height: 1.6rem;
	font-weight: 400;
}

/*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;
	/* declencheur*/
	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: darkorange;
	}
	
	to{
		filter: blur(0);
		opacity: 1;
		transform: translateY(0) scale(1);
		color: darkorange;
	}
}

.audio-controls{
	margin-top: 50px;
	padding: 15px;
	width: 100%;
}

.audio-button{
	display: block;
	width: 40%;
	padding: 10px;
	margin-button: 30px;
	background-color:#080808;
	color: darkorange;
	border: 1px solid darkorange;
	font-family: 'Fredoka';
	font-weight: 600;
	font-size: 1.3rem;
	cursor: pointer;
	transition: background-color 0.3s;
}

.audio-button:hover{
	background-color: #e0e0e0;
}

/* style des curseurs*/
.sider-container{
	margin-bottom: 0.8rem;
}

.slider-container label{
	display: block;
	font-family: "Fredoka";
	font-weight: 300;
}

input[type="range"]{
	accent-color: darkorange;
}

/*rajouter boutons pour voir les 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%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e0e0e0;
	font-family: 'Fredoka';
	font-weight: 700;
	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;
}

.anim-scroll{
	display: flex;
	justify-content: center;
	margin-top: 6rem;
}

/*placer son nom et prénom en signature*/

.closing-section{
	height: 25vh;
	display:inline-flex;
	align-items: flex-end;
	margin-bottom: 4vh;
}

.closer{
	font-size: 0.9rem;
	font-weight: 300;
	color: darkorange;
}
/*
	background-color: blueviolet;
	/*couleur de texte 
	color: aliceblue;
	font-family: "Quicksand", sans-serif;
	font-weight: 300;
}

p{
	font-weight: 500;
	font-size: 2em;
}

span {
	color: antiquewhite;
	text-decoration: underline;
	font-sized: 4em;
	font-style: italic; 
}

h1{
	font-family: "Avara-BoldItalic";
	text-transform: uppercase;
}*/