/** @format */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	border: none;
	outline: none;
	scroll-behavior: smooth;
	font-family: var(--font);
}

:root {
	--couleur_fond: #1e242a;
	--couleur_jaune: #fec52e;
	--couleur_orange: #fe9a2e;
	--couleur_saumon: #cc7766;
	--couleur_bleu: #5798b6;
	--font: "Poppins";
}

html {
	font-size: 60%;
	overflow-x: hidden;
}

body {
	background-color: var(--couleur_fond);
	font-family: var(--font);
	color: white;
}

header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 4rem 12% 4rem;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 5;
	top: -100%;
	animation: anim4 1s forwards 0.5s;
}

#logo {
	float: left;
	margin-left: 100px;
	margin-top: 20px;
	cursor: pointer;
	transition: 0.3s ease;
}
#logo:hover {
	transform: scale(1.1);
	box-shadow: 1px 1px var(--couleur_orange), -2px -2px var(--couleur_saumon);
}
#logo img {
	width: 50px;
}

#menu a {
	font-size: 1.8rem;
	color: white;
	margin-left: 4rem;
	font-weight: 500;
	transition: 0.3s ease;
	border-bottom: 3px solid transparent;
}

#menu a:hover,
#menu a.active {
	color: var(--couleur_jaune);
	border-bottom: 3px solid var(--couleur_jaune);
}

/*=============================================Carousel============*/

section {
	min-height: 100vh;
	padding: 13rem 15% 10rem;
}

/* .list {
	display: flex;
	align-items: center;
	justify-content: center;
} */

/* .item {
	display: flex;
	align-items: baseline;
	text-align: left;
	justify-content: center;
	margin-top: 3rem;
} */

.img_affiche img {
	position: relative;
	top: 3rem;
	width: 25vw;
	border: 3px solid var(--couleur_orange);
	box-shadow: 0 0 25px var(--couleur_orange);
	border-radius: 10%;
	cursor: pointer;
	transition: 0.4s ease-in-out;
}

.img_affiche img:hover {
	box-shadow: 0 0 25px var(--couleur_orange), 0 0 50px var(--couleur_orange),
		0 0 100px var(--couleur_orange);
}

.text_content {
	/* display: flex;
	flex-direction: column; */
	max-width: 700px;
}

.text {
	max-width: 600px;
	font-size: 20px;
	margin-bottom: 20px;
}

.typo {
	max-width: 600px;
	font-size: 15px;
}
.list h1 {
	font-size: 7rem;
	font-weight: 700;
	line-height: 1;
	color: white;
}

.color {
	display: flex;
	gap: 3rem;
	margin-top: 10px;
	margin-bottom: 10px;
}

.color1 {
	width: 70px;
	height: 70px;
	background-color: #b8793f;
	border-radius: 50%;
}
.color2 {
	width: 70px;
	height: 70px;
	background-color: #76271c;
	border-radius: 50%;
}
.color3 {
	width: 70px;
	height: 70px;
	background-color: #4a6c44;
	border-radius: 50%;
}

.color4 {
	width: 70px;
	height: 70px;
	background-color: #8d6b98;
	border-radius: 50%;
}
.color5 {
	width: 70px;
	height: 70px;
	background-color: #2c333a;
	border-radius: 50%;
}
.color6 {
	width: 70px;
	height: 70px;
	background-color: #c896a0;
	border-radius: 50%;
}

.carousel .list .item:nth-child(1) {
	z-index: 1;
}

.carousel .list .item:nth-child(1) .text_content h1,
.carousel .list .item:nth-child(1) .text_content .color,
.carousel .list .item:nth-child(1) .text_content .text,
.carousel .list .item:nth-child(1) .text_content .typo {
	transform: translateY(50px);
	filter: blur(20px);
	opacity: 0;
	animation: showContent 0.5s 1s linear 1 forwards;
}

@keyframes showContent {
	to {
		opacity: 1;
		filter: blur(0);
		transform: translateY(0);
	}
}

.carousel .list .item:nth-child(1) .text_content h1 {
	animation-delay: 1.2s;
}

.carousel .list .item:nth-child(1) .text_content .color {
	animation-delay: 1.4s;
}

.carousel .list .item:nth-child(1) .text_content .text {
	animation-delay: 1.6s;
}

.carousel .list .item:nth-child(1) .text_content .typo {
	animation-delay: 1.8s;
}

.carousel.next .thumbnail .item:nth-last-child(1) {
	width: 0;
	overflow: hidden;
	animation: showThumbnail 0.5s linear 1 forwards;
}

.list {
	margin-bottom: 50px;
	display: flex;
	flex-direction: column;
}

/*========================================FOOTER ===========================*/

.footer {
	position: relative;
	bottom: 0;
	width: 100%;
	padding: 40px 0;
	background-color: rgba(0, 0, 0, 0.3);
}

.footer .social {
	text-align: center;
	padding-bottom: 25px;
	color: var(--couleur_jaune);
}

.footer .social a {
	font-size: 25px;
	color: var(--couleur_jaune);
	border: 2px solid var(--couleur_jaune);
	width: 42px;
	height: 42px;
	line-height: 42px;
	display: inline-block;
	text-align: center;
	border-radius: 50%;
	margin: 0 10px;
	transition: 0.3s ease-in-out;
}

.footer .social a:hover {
	transform: scale(1.2) translateY(-10px);
	background-color: var(--couleur_jaune);
	color: white;
	box-shadow: 0 0 25px var(--couleur_jaune);
}

.footer ul {
	margin-top: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 0;
	text-align: center;
}

.footer ul li a {
	color: white;
	border-bottom: 3px solid transparent;
	transition: 0.3s ease-in-out;
}

.footer ul li a:hover {
	border-bottom: 3px solid var(--couleur_jaune);
}

.footer ul li {
	display: inline-block;
	padding: 0 15px;
}

.footer .copyright {
	margin-top: 50px;
	text-align: center;
	font-size: 16px;
	color: white;
}

@keyframes anim4 {
	from {
		top: -100%;
	}
	to {
		top: 0%;
	}
}

#menu-icon {
	font-size: 3.6rem;
	color: var(--couleur_jaune);
	display: none;
}

@media (max-width: 1285px) {
	html {
		font-size: 55%;
	}
}

@media (max-width: 991px) {
	header {
		padding: 2rem 3%;
	}
	.footer {
		padding: 2rem 3%;
	}
}

@media (max-width: 895px) {
	#menu-icon {
		display: block;
	}

	#menu {
		position: absolute;
		top: 100%;
		right: 0;
		width: 50%;
		padding: 1rem 3%;
		background: rgba(0, 0, 0, 0.8);
		backdrop-filter: blur(20px);
		border-bottom-left-radius: 2rem;
		border-left: 2px solid var(--couleur_jaune);
		border-bottom: 2px solid var(--couleur_jaune);
		display: none;
	}
	#menu.active {
		display: block;
	}
	#menu a {
		display: block;
		font-size: 2rem;
		margin: 3rem 0;
		color: white;
	}
}

@media (min-width: 768px) {
	.list {
		flex-direction: row;
	}
}
