@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* Personnalisation style */

/* Sélecteur universel */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: w;
	src: url("../FONT/WanoQuin-ExtraBold.otf");
}

body {
	overflow-x: hidden;
	font-family: "Poppins",sans-serif;
	color: #141414;
	background-color: #fff;
	cursor: none;
}

body,
html {
	height: 100%;
}

section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 90vh;
}

/* Personnalisation curseur */

.cursor {
	z-index: 1000;
	position: fixed;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	border: 2px solid #121212;
	border-radius: 50%;
	transition: transform 0.3s ease;
	transform-origin: center center;
	pointer-events: none;
}

.cursor::after {
	content: "";
	z-index: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #121212;
	transform: translate(-50%, -50%);
}

.gros,
.gros-petit {
	border: none;
	background: white;
	transform: scale(4);
	mix-blend-mode: difference;
}

.gros-petit {
	transform: scale(2);
}

/* Personnalisation de la barre d'avancement selon la position sur la page */

.Barre {
	z-index: 1;
	position: fixed;
	bottom: 5px;
	left: 0;
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border: none;
	background: transparent;
}

.Barre::-webkit-progress-bar {
	background: inherit;
}

.Barre::-webkit-progress-value {
	background: #8f44fd;
}

/* Personnalisation header comportant le Menu */

.Menu {
	display: flex;
	z-index: 999;
	position: fixed;
	top: 0;
	align-items: center;
	justify-content: space-between;
	width: 100vw;
	padding: 1rem 3rem;
	border-bottom: 1px solid #141414;
	color: #141414;
}

/* Personnalisation bande défilante */

.Menu .Action {
	position: absolute;
	bottom: 0;
	width: 50px;
	height: 2px;
	background: linear-gradient(90deg , transparent , #141414);
	animation: animate 5s infinite linear;
}

@keyframes animate {
	0% {
		left: 0;
		transform: translate(-100%);
	}

	100% {
		left: 100%;
		transform: translate(0%);
	}
}

/* Personnalisation contenu du menu */

.Logo {
	text-transform: capitalize;
	font-family: w;
	font-size: 30px;
	cursor: pointer;
}

.Contenu {
	display: flex;
	flex-direction: row;
	gap: 5rem;
	text-transform: uppercase;
	font-weight: 300;
	list-style: none;
}

nav ul li a {
	position: relative;
}

nav ul li a::before {
	content: attr(data-text);
	position: absolute;
	width: 0;
	border-bottom: 2px solid #8f44fd;
	overflow: hidden;
	color: transparent;
	transition: 1s;
}

nav ul li a:hover::before {
	width: 100%;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
	color: #000;
}

.btn {
	display: none;
}

/* Style de la personnalisation du curseur sur des éléments spécifiques */

.barreLongueur {
	position: relative;
	text-align: center;
}

.barreLongueur:before,
.barreLongueur:after {
	content: '';
	position: absolute;
	top: 50%;
	width: 30%;
	border: none;
	border-top: 2px solid black;
}

.barreLongueur:before {
	right: 102%;
}

.barreLongueur:after {
	left: 102%;
}

/* Style Présentation personnelle */

.Presentation {
	display: flex;
	align-items: center;
	margin-top: 6rem;
	margin-left: 10rem;
}

.contenuPresentation {
	flex: 1;
	padding: 20px;
}

.contenuPresentation .Logo {
	width: 10%;
}

.Bloc {
	font-size: 4rem;
	color: #2D2E32;
}

a img {
	width: 5%;
	margin-top: 1rem;
}

span a img:hover {
	width: 5%;
	margin-top: 1rem;
	opacity: 0.8;
	transform: scale(1.1);
}

button {
	width: 11rem;
	margin-top: 1rem;
	margin-left: 12rem;
	padding: 1rem;
	border-radius: 2rem;
	font-weight: 600;
	transition: all 300ms ease;
}

.Photo {
	max-width: 65%;
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	transition: border-radius 0.5s ease-in-out;
}

.Main {
	width: 60px;
	height: 60px;
}

/* Style Contenu personnel */

.Personnel {
	display: flex;
	position: relative;
	align-items: center;
	margin-top: 5rem;
}

.Personnel img {
	width: 25%;
	margin-right: 5rem;
	margin-left: 20rem;
	box-shadow: 0 0 10px rgba(0,0,0,0.75);
}

/* Style cartes */

.contenu-Carte {
	flex: 1;
	margin-top: -4rem;
	margin-right: 3rem;
	margin-left: 3%;
	padding: 20px;
	text-align: center;
	font-family: 'Poppins',sans-serif;
	font-size: 15px;
}

.contenu-Carte h3 {
	font-size: 1.2rem;
	font-weight: 600;
}

.slide {
	display: none;
	flex-shrink: 0;
	align-items: center;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	transition: opacity 0.5s;
}

.slide h3 {
	margin-top: 3em;
	margin-bottom: 1em;
}

.slide.active {
	display: block;
	opacity: 1;
}

.navigation {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.bulle {
	width: 12px;
	height: 12px;
	margin: 0 5px;
	border-radius: 50%;
	background-color: #333;
	transition: background-color 0.3s;
	cursor: pointer;
}

.bulle.active {
	background-color: #ccc;
}

/* Personnalisation maîtrise langage */

.Langage {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 10rem;
}

.Zone {
	gap: 2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.Carte {
	flex: 1;
	padding: 1.5rem;
	border: rgb(53,53,53) 0.1rem solid;
	border-color: rgb(163,163,163);
	border-radius: 2rem;
	text-align: center;
	background: white;
}

.Intitule {
	margin-bottom: 2rem;
	font-size: 1.75rem;
	font-weight: 600;
	color: rgb(85,85,85);
}

.Zone {
	display: flex;
}

.Article {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 2.5rem;
	justify-content: space-around;
	text-align: initial;
}

article {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-start;
	width: 10rem;
}

article .icon {
	cursor: default;
}

.icon {
	height: 2rem;
	cursor: pointer;
}

/* Style partie projets */

#projets {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: 0.8rem;
}

.ensembleProjets {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: space-between;
	margin-top: 2rem;
	padding: 0 20px;
	max-width: 1420px;
}

.Etiquette {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	width: calc(33.33% - 20px);
	border-radius: 1.7rem;
	overflow: hidden;
}

.projetImg {
	position: relative;
	margin-top: 1rem;
}

.projetImg img {
	width: 100%;
	height: 250px;
	border-radius: 1.7rem;
	object-fit: cover;
	object-position: center;
}

.TitreProjet {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	margin-bottom: 0.5rem;
	padding: 10px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
	color: #141414;
	background: rgba(255, 255, 255, 0.9);
}

.projetContenu {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	opacity: 0;
	background: rgba(255, 255, 255, 0.9);
	transition: opacity 0.3s ease;
}

.Etiquette:hover .projetContenu {
	display: block;
	opacity: 1;
}

.Etiquette:hover .TitreProjet {
	display: block;
}

.projetContenu p {
	margin-top: 1.5rem;
	color: #767676;
}

.projetContenu div a img {
	width: 30px;
	height: 30px;
	margin: 0 10px;
	margin-top: 1rem;
}

#Contact {
	margin-top: 10em;
}

/* Personnalisation footer */

footer {
	padding: 20px;
	text-align: center;
	color: #767676;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.75);
}

.contenu_Footer {
	display: flex;
	justify-content: center;
}

.footer_Section {
	flex: 1;
	margin: 0 40px;
	max-width: 300px;
}

.footer_Section h3 {
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 2px solid #8f44fd;
	font-size: 16px;
}

.footer_Section p {
	font-size: 14px;
}

.footer_Section i {
	margin-top: 1.2rem;
	font-size: 1.2rem;
	color: black;
}

.footer_Section span {
	margin-left: 5px;
	font-size: 1rem;
	color: black;
}

.social-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	list-style: none;
}

.social-icons li {
	margin: 0 10px;
}

.social-icons img {
	width: 30px;
	height: 30px;
}

.footer_Section p,
.social-icons a {
	color: #767676;
}

.footer_Section a:hover {
	opacity: 0.7;
}