@charset "utf-8";
/* commentaire */

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

@font-face {
    font-family: 'Avara-Black';
    src: url("fonts/Avara-Black.ttf"),
		url("fonts/Avara-Black.woff"),
		url("fonts/Avara-Black.woff2");
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Avara-Italic';
    src: url("fonts/Avara-BoldItalic.ttf"),
		url("fonts/Avara-BoldItalic.woff"),
		url("fonts/Avara-BoldItalic.woff2");
    font-weight: bold;
    font-style: italic;
}

/*
	bg:#28000c;
	text-clair:#deb0b4;
	rose-clair:#b41c44;
	rose-foncé:#3f0011;
	vert:#5c6935;
	
*/

span{
	font-weight: 800;
	font-style: italic;
	text-transform:inherit;
}

body,html {
	margin: 0;
	padding: 0;
	background-color:#28000c;
	color:#deb0b4;
	font-family: "Orbit", sans-serif;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
}

/*bandeau animé*/

.motion-header{
	width:100%;
	height:35px;
	background-color:#deb0b4;
	position: sticky;
	top: 0;
	color:#5c6935;
	display: flex;
	align-items: center;
	z-index: 100;
	overflow: hidden;
}

.motion-header p{
	font-family: 'Avara-Italic';
	font-size:1.5em;
	letter-spacing: -0.01em;
	
}

/*animation du titre*/
.scrolling {
	display: inline-block;
	width: 100%;
	animation: scroll-text 40s 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;
	padding: 0px 15px;
	box-sizing: border-box;
	overflow-y: auto;
	scroll-timeline-name: --left-scroll;
	scroll-timeline-axis: block;
		
}

.left-section section{
	margin-top: 20rem;
}

/* Masque du scroll*/
.left-section::-webkit-scrollbar{
	display:none;
}
.left-section{
	scrollbar-width : none;
}

.right-section{
	width: 70%;
	height: calc(100vh -35px);
	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 30s infinite;
}

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

.caroussel .slide img{
	max-width: 100%;
	max-height: 90%;
	object-fit: contain;
}

@keyframes slideAnimation{
	0% {transform: translateX(0);}
	33.33% {transform: translateX(-33.33%);}
	66.66% {transform: translateX(-66.66%);}
	100% {transform: translateX(0);}
}

.audio-control{
	margin-top: 50px;
	padding: 10px;
	width: 100%;
}

.audio-button{
	display: block;
	width: 40%;
	padding: 10px;
	margin-bottom: 30px;
	background-color:#b41c44;
	color: #deb0b4;
	border: 1px solid;
	border-radius: 15px;
	font-family: 'Avara-Italic';
	font-size: 1.3rem;
	cursor: cell;
	
}

.audio-button:hover{
	background-color:#deb0b4;
	color: #5c6935;
}

/*styles des slider*/

.slider-container{
	margin-bottom: 0.8rem;
}
.slider-container label{
	display: block;
	font-family: 'Avara';
}

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

.blur-effect {
	font-family:'Avara-Italic';
	font-size: 2rem;
	line-height: 1.5;
	margin: 0;
	letter-spacing: 0.04em;
	
}

.description{
	font-size: 1.1rem;
	margin: 1.5rem 0.5rem 1.3rem;
	line-height: 1.6rem;
	font-weight: 300;
}

/*animation du h2 avec le scroll*/
.project{
	view-timeline-name: --project;
	view-timeline-axis: block;
}

.blur-effect{
	animation-name: reveal-title;
	animation-duration: 1.5s;
	animation-timeline: --project;
	animation-range: entry 0% cover 35%;
	animation-fill-mode: both;
	
}

@keyframes reveal-title{
	from{
		filter: blur(30px);
		opacity: 0;
		transform: translateY(60px)scale(0.6);
		color: #444444;
	}
	to{
		filter: blur(0);
		opacity: 100;
		transform: translateY(10px)scale(1);
		color: #deb0b4;
	}
}

/*Styles des 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: #b41c44;
	color : #deb0b4;
	border: 1px solid #deb0b4;
	border-radius: 50%;
	cursor:cell;
	display:flex;
	align-items: center;
	justify-content: center;
	font-family: 'Avara-Black';
	font-size: 1.2rem;
	transition: transform 0.2s background-color 0.2s;
	padding: 0;
}

/* Zoom au hover*/
.btn:hover{
	transform: scale(1.3);
	background-color: #deb0b4;
	border-color: #5c6935;
	color: #5c6935;
}

.hover-image{
	display:none;
	position: absolute;
	z-index: 9999;
	width: 200px;
	height: auto;
	top:80px;
	left:30px;
	box-shadow: 0 10px 30px #deb0b4;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.btn-wrapper:hover .hover-image{
	display: block;
}

.anim-gif{
	display: flex;
	justify-content: center;
	margin-top: 80px;
}

/*style de la signature*/
.closing-section{
	height: 25vh;
	display: inline-flex;
	align-items: flex-end;
	margin-bottom: 4vh;
}

.closer{
	font-size: 0.9rem;
	font-weight: 300;
}