/** @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";
	--shadow-card: 0px 0px 5px 3px #b8b8b8ee;
}

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

/*=======================================CONTENT============================*/

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

section.hest,
section.CB {
	height: 250vh;
}

.contenu {
	width: 100%;
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
}

.card {
	display: flex;
	overflow: visible;
	width: 190px;
	height: 254px;
	flex-wrap: wrap;
	margin: 10px;
}

.content {
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 300ms;
	box-shadow: var(--shadow-card);
	border-radius: 5px;
}

.front,
.back {
	background-color: var(--couleur_saumon);
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: 5px;
	overflow: hidden;
}

.back {
	width: 100%;
	height: 100%;
	justify-content: center;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.back::before {
	position: absolute;
	content: " ";
	display: block;
	width: 160px;
	height: 160%;
	background: linear-gradient(
		90deg,
		transparent,
		var(--couleur_jaune),
		var(--couleur_orange),
		var(--couleur_bleu),
		var(--couleur_saumon),
		transparent
	);
	animation: rotation_481 5000ms infinite linear;
}

.back_content {
	position: absolute;
	width: 99%;
	height: 99%;
	background-color: var(--couleur_fond);
	border-radius: 5px;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

.card:hover .content {
	transform: rotateY(180deg);
}

@keyframes rotation_481 {
	0% {
		transform: rotateZ(0deg);
	}

	0% {
		transform: rotateZ(360deg);
	}
}

.front {
	transform: rotateY(180deg);
	color: var(--couleur_fond);
}

.front .front_content {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.front_content .badge {
	background-color: white;
	padding: 2px 10px;
	border-radius: 10px;
	backdrop-filter: blur(2px);
	width: fit-content;
}

.description {
	box-shadow: 0px 0px 10px 5px var(--couleur_fond);
	width: 100%;
	padding: 10px;
	background-color: white;
	backdrop-filter: blur(5px);
	border-radius: 5px;
}

.title {
	font-size: 11px;
	max-width: 100%;
	display: flex;
	justify-content: space-between;
}

.title p {
	width: 80%;
}

.card_footer {
	color: var(--couleur_saumon);
	margin-top: 5px;
	font-size: 8px;
}

.front .img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.jkntr_front,
.cb_front,
.hapy_front,
.hestia_front,
.ramef_front,
.spot_front {
	width: 100%;
	height: 80%;
	background-color: var(--couleur_fond);
	position: relative;
	filter: blur(5px);
	/* animation: floating 2600ms infinite linear; */
}

.jkntr,
.cb,
.hapy,
.hestia,
.ramef,
.spot {
	width: 100%;
	height: 80%;
	background-color: var(--couleur_fond);
	position: relative;
	/* animation: floating 2600ms infinite linear; */
}

/*========================================COULEUR ===========================*/

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

.color_1,
.color_2,
.color_3,
.color_4,
.color_5,
.color_6,
.color_7,
.color_8,
.color_9,
.color_10,
.color_11,
.color_13,
.color_14,
.color_15,
.color_16,
.color_17,
.color_18,
.color_19,
.color_20,
.color_21,
.color_22,
.color_23,
.color_24,
.color_25,
.color_26,
.color_27,
.color_28,
.color_29,
.color_30,
.color_31,
.color_32,
.color_33,
.color_34,
.color_35,
.color_36,
.color_37,
.color_38,
.color_39,
.color_40,
.color_41,
.color_42,
.color_43,
.color_44,
.color_45,
.color_46,
.color_47,
.color_48,
.color_49,
.color_50 {
	min-width: 30px;
	min-height: 30px;
	border-radius: 50%;
}

.color_1 {
	background-color: #f4491b;
}
.color_2 {
	background-color: #2b0a11;
}
.color_3 {
	background-color: #180102;
}
.color_4 {
	background-color: #ee8d26;
}
.color_5 {
	background-color: #921f35;
}
.color_6 {
	background-color: #7e5189;
}
.color_7 {
	background-color: #cc7766;
}
.color_8 {
	background-color: #fec52e;
}
.color_9 {
	background-color: #5798b6;
}
.color_10 {
	background-color: #ffffff;
	border: 2px solid #000000;
}
.color_11 {
	background-color: #000000;
}

.color_13 {
	background-color: #efc8ba;
}
.color_14 {
	background-color: #dd5c2e;
}
.color_15 {
	background-color: #fcfbfb;
}
.color_16 {
	background-color: #136362;
}
.color_17 {
	background-color: #000000;
}
.color_18 {
	background-color: #fcfbfb;
}
.color_19 {
	background-color: #731702;
}
.color_20 {
	background-color: #f27405;
}
.color_21 {
	background-color: #ffffff;
}
.color_22 {
	background-color: #204148;
}
.color_23 {
	background-color: #f27404;
}
.color_24 {
	background-color: #fdcf09;
}
.color_25 {
	background-color: #f27405;
}
.color_26 {
	background-color: #100c01;
}
.color_27 {
	background-color: #f2b705;
}
.color_28 {
	background-color: #221101;
}
.color_29 {
	background-color: #e4057e;
}
.color_30 {
	background-color: #f2b705;
}
.color_31 {
	background-color: #054d6b;
}
.color_32 {
	background-color: #ad4839;
}
.color_33 {
	background-color: #c8655e;
}
.color_34 {
	background-color: #221101;
}
.color_35 {
	background-color: #03a679;
}
.color_36 {
	background-color: #f2b705;
}
.color_37 {
	background-color: #178164;
}
.color_38 {
	background-color: #f27405;
}
.color_39 {
	background-color: #f2b705;
}
.color_40 {
	background-color: #f27405;
}
.color_41 {
	background-color: #0ef0dd;
}
.color_42 {
	background-color: #e25933;
}
.color_43 {
	background-color: #373334;
}
.color_44 {
	background-color: #ec9225;
}
.color_45 {
	background-color: #e5e5e5;
}
.color_46 {
	background-color: #89d6c7;
}
.color_47 {
	background-color: #b2b2b2;
}
.color_48 {
	background-color: #a4e4f3;
}

.titre {
	margin-top: 100px;
}

h2 {
	font-size: 10rem;
}

h2 span {
	font-size: 10rem;
	color: var(--couleur_orange);
}

.hest,
.hap,
.spo {
	background-color: black;
}
/*========================================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: 768px) {
	.heading {
		font-size: 4.5rem;
	}
	h2 span {
		font-size: 5rem;
	}
	h2 {
		font-size: 5rem;
	}
	section {
		padding: 0;
	}
	section.hest {
		height: 300vh;
	}
}

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

@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 screen and (min-width: 1300px) {
	.card {
		width: 20%;
		height: 50%;
	}

	.description {
		height: 40%;
	}

	.title {
		font-size: 15px;
		padding-left: 5px;
	}

	.color_1,
	.color_2,
	.color_3,
	.color_4,
	.color_5,
	.color_6,
	.color_7,
	.color_8,
	.color_9,
	.color_10,
	.color_11,
	.color_13,
	.color_14,
	.color_15,
	.color_16,
	.color_17,
	.color_18,
	.color_19,
	.color_20,
	.color_21,
	.color_22,
	.color_23,
	.color_24,
	.color_25,
	.color_26,
	.color_27,
	.color_28,
	.color_29,
	.color_30,
	.color_31,
	.color_32,
	.color_33,
	.color_34,
	.color_35,
	.color_36,
	.color_37,
	.color_38,
	.color_39,
	.color_40,
	.color_41,
	.color_42,
	.color_43,
	.color_44,
	.color_45,
	.color_46,
	.color_47,
	.color_48,
	.color_49,
	.color_50 {
		min-width: 60px;
		min-height: 60px;
		border-radius: 50%;
	}
	.color {
		gap: 1rem;
	}
}
