/** @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: rgb(29, 29, 29);
	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;
}

.presentation_hestia {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: relative;
}

.container {
	position: absolute;
	inset: 0 0 0 0;
}

.image_logohestia img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content {
	position: absolute;
	top: 50%;
	width: 1140px;
	max-width: 80%;
	left: 20%;
	transform: translateX(-20%);
	padding-right: 30%;
	box-sizing: border-box;
	color: white;
	text-shadow: 0 5px 10px #0004;
}

.title h1 {
	font-size: 8em;
	font-weight: 700;
	list-style: 1.3em;
	margin-top: 1.5rem;
	line-height: 1;
	color: var(--couleur_orange);
}

.title h2 {
	margin-bottom: 2rem;
	margin-top: 1rem;
	font-size: 4em;
	font-weight: 600;
	color: white;
	letter-spacing: 0.1rem;
}

.presentation_hestia .container .content:nth-child(1) .title h1,
.presentation_hestia .container .content:nth-child(1) .title h2 {
	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);
	}
}

.presentation_hestia .container .content:nth-child(1) .title h1 {
	animation-delay: 1.2s;
}

.presentation_hestia .container .content:nth-child(1) .title h2 {
	animation-delay: 1.4s;
}

.title1 h2 {
	margin-bottom: 2rem;
	margin-top: 1rem;
	font-size: 5em;
	font-weight: 600;
	color: var(--couleur_orange);
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.text_content1 {
	font-size: 1.5em;
	width: 1140px;
	max-width: 80%;
}

.moodboard {
	background-color: black;
}
.img_moodboard img {
	max-width: 70%;
	object-fit: contain;
	height: auto;
}

.explication_moodboard {
	display: flex;
	flex-direction: column;
	max-width: 50%;
}

.container2 {
	display: flex;
	align-items: center;
}

.les_logos_img img {
	width: 30%;
}

.les_logos_img {
	display: flex;
	justify-content: space-between;
}

.container3 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container3 .title1,
.container3 .text_content1,
.container3 .les_logos_img {
	margin-bottom: 10rem;
}

h3.titre_orange {
	color: var(--couleur_orange);
}

h3.titre_vert {
	color: #03a679;
}

h3.titre_rose {
	color: #e4057e;
}

.container3 .title1 {
	margin-top: -50px;
}

.container3 .text_content1 {
	max-width: 50%;
}
.img_tags {
	display: flex;
	flex-wrap: wrap;
}
.img_tags img {
	max-width: 40%;
	margin: 5px;
	max-height: 30%;
	display: flex;
	flex-wrap: wrap;
	object-fit: contain;
}

.tags {
	background-color: black;
}

.container4 {
	display: flex;
}

.container4 .explication_tags {
	display: flex;
	flex-direction: column;
	max-width: 70%;
}
/*========================================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%;
	}

	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;
	}
	.content {
		top: 20%;
	}

	.presentation_hestia {
		margin-bottom: -200px;
	}
	.les_logos_img {
		display: block;
	}
	.les_logos_img img {
		width: 20%;
	}
	.img_tags img {
		max-width: 40%;
	}
	.img_tags {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: center;
	}
	.container3 {
		display: block;
	}
	.container2 {
		display: block;
	}
	.text_content1 {
		margin-bottom: 20px;
	}
}

@media (max-width: 425px) {
	.content {
		padding-right: 0;
	}
	.title h1 {
		font-size: 5em;
	}
	.title h2 {
		font-size: 3em;
	}
	.presentation_hestia {
		background-color: #100c01;
		margin-bottom: -50px;
		padding-bottom: 0;
	}
	.image_logohestia img {
		padding-top: 90px;
		margin-left: -70px;
	}
	.content {
		top: 50%;
	}
	.text_content1 {
		width: 100%;
	}
	.title1 h2 {
		font-size: 3em;
	}
	.container4 .explication_tags {
		display: block;
		width: 100%;
	}
	.container4 {
		display: block;
	}
}

/* Assurez-vous que le corps et les sections n'ont pas de débordements */
body,
section {
	overflow-x: hidden;
}

/* Ajoutez un padding à gauche et à droite en vue mobile pour éviter les débordements */
@media (max-width: 991px) {
	header {
		padding: 2rem 3%;
		width: 100%;
		box-sizing: border-box;
	}

	.footer {
		padding: 2rem 3%;
		width: 100%;
		box-sizing: border-box;
	}

	section {
		padding: 10rem 3% 2rem;
		width: 100%;
		box-sizing: border-box;
	}
}

/* Autres ajustements pour les très petits écrans */
@media (max-width: 425px) {
	.content {
		padding-right: 0;
		width: 100%;
		box-sizing: border-box;
	}

	.title h1 {
		font-size: 5em;
		width: 100%;
		box-sizing: border-box;
	}

	.title h2 {
		font-size: 3em;
		width: 100%;
		box-sizing: border-box;
	}

	.presentation_hestia {
		background-color: #100c01;
		margin-bottom: -50px;
		padding-bottom: 0;
		width: 100%;
		box-sizing: border-box;
	}

	.image_logohestia img {
		padding-top: 90px;
		margin-left: -70px;
		width: 100%;
		box-sizing: border-box;
	}

	.content {
		top: 50%;
		width: 100%;
		box-sizing: border-box;
	}

	.text_content1 {
		width: 100%;
		box-sizing: border-box;
	}

	.title1 h2 {
		font-size: 3em;
		width: 100%;
		box-sizing: border-box;
	}

	.container4 .explication_tags {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.container4 {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
}
