/***
		The new CSS reset - version 1.7.3 (last updated 7.8.2022)
		GitHub page: https://github.com/elad2412/the-new-css-reset
	***/

/*
		Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
		- The "symbol *" part is to solve Firefox SVG sprite bug
	 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
	all: unset;
	display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
	cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
	list-style: none;
}

/* For images to not be able to exceed their container */
img {
	max-width: 100%;
}

/* removes spacing between cells in tables */
table {
	border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the  text input doesn't working */
input,
textarea {
	-webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
	white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
	-webkit-appearance: revert;
	appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
	color: unset;
}

/* fix the feature of 'hidden' attribute.
	   display:revert; revert to element instead of attribute */
:where([hidden]) {
	display: none;
}

/* revert for bug in Chromium browsers
	   - fix for the content editable attribute will work properly.
	   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable="false"])) {
	-moz-user-modify: read-write;
	-webkit-user-modify: read-write;
	overflow-wrap: break-word;
	-webkit-line-break: after-white-space;
	-webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
	-webkit-user-drag: element;
}


body {
	overflow-x: hidden;
}

#fond {
	position: absolute;
	height: 100vh;
	width: 100%;
	top: 0px;
	left: 0px;
	right: 0px;
	background: linear-gradient(to bottom left, transparent, #79287E 150%),
		linear-gradient(to right, transparent, #0F72BA 150%),
		url("image/nathan1.png");
	background-size: contain;
	background-color: black;
	background-repeat: no-repeat;
	background-position: 50%;
	z-index: -1;
}

#home {
	display: flex;
	flex-direction: column;
	/* background: linear-gradient(to bottom left, transparent, #79287E 150%),
		linear-gradient(to right, transparent, #0F72BA 150%); */
	/* height: 100vh; */

}

h2 {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 48px;
	text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
	color: rgba(217, 217, 217, 1);
}

h3 {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 40px;
	text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
	color: rgba(217, 217, 217, 1);
}

h4 {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 32px;
	text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
	color: rgba(217, 217, 217, 1);
}

p {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 24px;
}

/*------------------------------------------------------------------------------  header  -------------------------------------------------------------------------------------------*/


header {
	/* background-color: #333; */
	color: white;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	height: 60px;
	width: 88px;
	/* background-image: url("image/logo.png"); */
}


/* BOUTON BURGER */
.burger {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.burger span {
	width: 25px;
	height: 3px;
	background-color: white;
	transition: all 0.3s ease;
}

/* MENU MOBILE CACHÉ PAR DÉFAUT */
.side-menu {
	position: fixed;
	top: 0;
	left: -250px;
	display: none;
	width: 250px;
	height: 100%;
	background-color: #444;
	color: white;
	padding: 2rem 1rem;
	transition: left 0.3s ease;
	z-index: 1000;
}

.side-menu a {
	color: white;
	text-decoration: none;
	display: block;
	margin: 1rem 0;
}

.side-menu.active {
	left: 0;
	display: block;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: none;
	z-index: 999;
}

.overlay.active {
	display: block;
}

.buttonPersonalise {
	/* background-color: #000000; */
	/* border: 1px solid white; */
	color: #fff;
	padding: 10px;
	border-radius: 20px;
	font-size: 1rem;
	text-align: center;
	transition: background 0.3s ease, color 0.3s ease;
	/* width: 55%; */
}

.buttonPersonalise:hover {
	background-color: #ffffff;
	color: #000000;
}


/* ----- DESKTOP VERSION ----- */
@media (min-width: 768px) {
	.burger {
		display: none;
	}

	.side-menu {
		position: static;
		height: auto;
		width: auto;
		display: flex;
		flex-direction: row;
		background: none;
		padding: 0;
		box-shadow: none;
		color: white;
		margin-left: auto;
	}

	.side-menu a {
		margin: 0 1rem;
		display: inline;
	}

	.overlay {
		display: none !important;
	}
}






/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
#info_home {
	display: flex;
	flex-direction: column;
	position: relative;
	/* top: 20%; */
	/* height: 70vh; */
	/* justify-content: space-between; */
	/* margin-top: 20vh; */
	/* margin-bottom: 2vh; */

}

#info_Name {
	display: flex;
	flex-direction: row;
	margin-top: 20vh;
	/* width: 80vw; */
	justify-content: space-between;
}

#info_work {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	margin-top: 35vh;
	right: 10px;
}

/* #info_home_bottom{
	background: linear-gradient(to right, transparent, #79287E 150%),
		linear-gradient(to bottom left , transparent, #0F72BA 150%);
	background-color: black;
	height: 300vh;
} */
#info_home_bottom {
	background: linear-gradient(to right, transparent, #79287E 150%),
		linear-gradient(to bottom left, transparent, #0F72BA 150%);
	background-color: black;
	padding: 2rem;
	/* Ajoute de l'espace intérieur */
	display: flex;
	flex-direction: column;
	/* Dispose les enfants verticalement */
	gap: 2rem;
	/* Espacement entre les blocs */
}


/*------------------------------------------------------------------------------- BOUDET --------------------------------------------------------------------------------------------*/


#lastName {
	position: relative;
	display: flex;
	flex-direction: column;
	left: 10vw;
	width: 375px;

}

#nom_reverse {
	-webkit-text-stroke: 2px rgba(217, 217, 217, 1);
	color: #521c55;
	transform: scale(1, -1);


}

h1 {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 96px;
	text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
	color: rgba(217, 217, 217, 1);
}



/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------- NATHAN --------------------------------------------------------------------------------------------*/


#Name {
	position: relative;
	display: flex;
	flex-direction: column;
	right: 110px;
	width: 375px;

}

#name_reverse {
	-webkit-text-stroke: 2px rgba(217, 217, 217, 1);
	color: #05395e;
	transform: scale(1, -1);


}

/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------- work --------------------------------------------------------------------------------------------*/

#Work {
	position: relative;
	display: flex;
	flex-direction: column;
	right: 110px;


}

#work {}

.trispace-work {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: "wdth" 100;
}

@media (max-width: 1024px) {
	#info_home {
		display: flex;
		flex-direction: column;
		position: relative;
		/* top: 20%; */
		/* height: 70vh; */
		/* justify-content: space-between; */
		/* margin-top: 20vh; */
		/* margin-bottom: 2vh; */

	}

	#info_Name {
		display: flex;
		flex-direction: row;
		margin-top: 20vh;
		/* width: 80vw; */
		justify-content: space-between;
	}

	#info_work {
		display: flex;
		flex-direction: row;
		justify-content: center;
		margin-top: 35vh;
		right: 10px;
	}

	/* #info_home_bottom{
		background: linear-gradient(to right, transparent, #79287E 150%),
			linear-gradient(to bottom left , transparent, #0F72BA 150%);
		background-color: black;
		height: 300vh;
	} */
	#info_home_bottom {
		background: linear-gradient(to right, transparent, #79287E 150%),
			linear-gradient(to bottom left, transparent, #0F72BA 150%);
		background-color: black;
		padding: 2rem;
		/* Ajoute de l'espace intérieur */
		display: flex;
		flex-direction: column;
		/* Dispose les enfants verticalement */
		gap: 2rem;
		/* Espacement entre les blocs */
	}


	/*------------------------------------------------------------------------------- BOUDET --------------------------------------------------------------------------------------------*/


	#lastName {
		position: relative;
		display: flex;
		flex-direction: column;
		left: 3vw;
		width: 275px;

	}

	#nom_reverse {
		-webkit-text-stroke: 2px rgba(217, 217, 217, 1);
		color: #521c55;
		transform: scale(1, -1);


	}

	h1 {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
		font-size: 70px;
		text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
		color: rgba(217, 217, 217, 1);
	}



	/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
	/*------------------------------------------------------------------------------- NATHAN --------------------------------------------------------------------------------------------*/


	#Name {
		position: relative;
		display: flex;
		flex-direction: column;
		right: 3vw;
		width: 275px;

	}

	#name_reverse {
		-webkit-text-stroke: 2px rgba(217, 217, 217, 1);
		color: #05395e;
		transform: scale(1, -1);


	}

	/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

	/*------------------------------------------------------------------------------- work --------------------------------------------------------------------------------------------*/

	#Work {
		position: relative;
		display: flex;
		flex-direction: column;
		right: 0;


	}

	h2 {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
		font-size: 44px;
		text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
		color: rgba(217, 217, 217, 1);
	}

	.trispace-work {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
	}
}

@media (max-width: 426px) {
	#fond {
		position: absolute;
		height: 100vh;
		width: 100%;
		top: 0px;
		left: 0px;
		right: 0px;
		background: linear-gradient(to bottom left, transparent, #79287E 150%),
			linear-gradient(to right, transparent, #0F72BA 150%);
		background-size: contain;
		background-color: black;
		background-repeat: no-repeat;
		background-position: 50%;
		z-index: -1;
	}

	#info_home {
		display: flex;
		flex-direction: column;
		position: relative;
		/* top: 20%; */
		/* height: 70vh; */
		/* justify-content: space-between; */
		/* margin-top: 20vh; */
		/* margin-bottom: 2vh; */

	}

	#info_Name {
		display: flex;
		flex-direction: column;
		margin-top: 10vh;
		/* width: 80vw; */
		justify-content: space-between;
		align-items: center;

	}

	#info_work {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		margin-top: 15vh;
		right: 10px;
	}

	/* #info_home_bottom{
		background: linear-gradient(to right, transparent, #79287E 150%),
			linear-gradient(to bottom left , transparent, #0F72BA 150%);
		background-color: black;
		height: 300vh;
	} */
	#info_home_bottom {
		background: linear-gradient(to right, transparent, #79287E 150%),
			linear-gradient(to bottom left, transparent, #0F72BA 150%);
		background-color: black;
		padding: 2rem;
		/* Ajoute de l'espace intérieur */
		display: flex;
		flex-direction: column;
		/* Dispose les enfants verticalement */
		gap: 2rem;
		/* Espacement entre les blocs */
	}


	/*------------------------------------------------------------------------------- BOUDET --------------------------------------------------------------------------------------------*/


	#lastName {
		position: relative;
		display: flex;
		flex-direction: column;
		left: 0;
		width: 300px;

	}

	#nom_reverse {
		-webkit-text-stroke: 2px rgba(217, 217, 217, 1);
		color: #521c55;
		transform: scale(1, -1);


	}

	h1 {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
		font-size: 76px;
		text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
		color: rgba(217, 217, 217, 1);
	}



	/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
	/*------------------------------------------------------------------------------- NATHAN --------------------------------------------------------------------------------------------*/


	#Name {
		position: relative;
		display: flex;
		flex-direction: column;
		right: 0;
		width: 300px;

	}

	#name_reverse {
		-webkit-text-stroke: 2px rgba(217, 217, 217, 1);
		color: #05395e;
		transform: scale(1, -1);


	}

	/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

	/*------------------------------------------------------------------------------- work --------------------------------------------------------------------------------------------*/

	#Work {
		position: relative;
		display: flex;
		flex-direction: column;
		right: 0;
		margin-left: 10vw;


	}

	h2 {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
		font-size: 28px;
		text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
		color: rgba(217, 217, 217, 1);
	}


	.trispace-work {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
	}
}

/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------A PROPOS--------------------------------------------------------------------------------*/

#moi {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	/* Permet de s'adapter à l'espace disponible */
	margin-bottom: 2rem;
	/* Ajoute un espace après le bloc */
}

#blockInfo {
	height: 426px;
	width: 990px;
	background: linear-gradient(to left, transparent, #79287E 200%),
		linear-gradient(to bottom right, transparent, #0F72BA 200%);
	background-color: black;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	border-radius: 15px;
}

#imageMoi {
	height: 80%;
	width: 30%;
	background-color: black;
}

#texteMoi_button {
	height: 90%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: space-between;
}

#texteMoi {
	height: 252px;
	width: 634px;
	color: white;
	font-size: 24px;
}

.linkCV {
	align-self: flex-end;
}



.buttonCv {
	position: relative;
	width: 138px;
	height: 52px;
	
}

.buttonCv img {
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

.buttonCv .img2 {
	opacity: 0;
}

.buttonCv:hover .img1 {
	opacity: 0;
}

.buttonCv:hover .img2 {
	opacity: 1;
}

@media (max-width: 768px) {
	#moi {
		position: relative;
		display: flex;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		/* Permet de s'adapter à l'espace disponible */
		margin-bottom: 2rem;
		/* Ajoute un espace après le bloc */
	}
	
	#blockInfo {
		height: auto;
		/* width: 990px; */
		background: linear-gradient(to left, transparent, #79287E 200%),
			linear-gradient(to bottom right, transparent, #0F72BA 200%);
		background-color: black;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		border-radius: 15px;
	}
	
	#imageMoi {
		height: 80%;
		width: 30%;
		/* background-color: black; */
	}
	
	#texteMoi_button {
		height: 90%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-content: space-between;
		padding: 25px;
		gap: 2vh;
	}
	
	#texteMoi {
		/* height: 252px;
		width: 634px; */
		height: auto;
		width: auto;
		color: white;
		font-size: 24px;
		/* padding: 10px; */
	}
	
}
@media (max-width: 426px) {
	
	#texteMoi_button {
		height: 90%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-content: space-between;
		padding: 25px;
	}
	h3 {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 500;
		font-style: normal;
		font-variation-settings: "wdth" 100;
		font-size: 32px;
		text-shadow: 2px 3px 4px rgba(248, 0, 107, 0.96);
		color: rgba(217, 217, 217, 1);
	}
	
	#texteMoi {
		/* height: 252px;
		width: 634px; */
		height: auto;
		width: auto;
		color: white;
		font-size: 18px;
		/* padding: 10px; */
	}
	.buttonCv {
		position: relative;
		width: 118px;
		height: 52px;
		
	}

}
/*---------------------------------------------------------------------------------mes creation--------------------------------------------------------------------------------*/

#mesCreation {
	margin: 0 auto;
	/* Centrer horizontalement */
	width: auto;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#titleMesCrea {
	align-self: flex-start;
	position: relative;
	/* left: -10vh; */
}

#projets {
	margin-top: 10vh;
	position: relative;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	/* width: 70vw; */
	height: auto;

}

.prj {
	margin-right: 4.5vw;
	margin-left: 4.5vw;
	/* margin-bottom: 13vh; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 452px;
	width: 440px;
}

.img_prj {
	max-width: 429px;
	max-height: 396px;
	-webkit-filter: grayscale(1);
}

.img_prj:hover {
	-webkit-filter: grayscale(0);
}

@media (max-width: 426px) {
	
	#mesCreation {
		margin: 0 auto;
		/* Centrer horizontalement */
		width: auto;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	#titleMesCrea {
		align-self: flex-start;
		position: relative;
		/* left: -10vh; */
	}
	
	#projets {
		margin-top: 10vh;
		position: relative;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		/* width: 70vw; */
		height: auto;
		gap: 5vh;
	
	}
	
	.prj {
		margin-right: 4.5vw;
		margin-left: 4.5vw;
		/* margin-bottom: 13vh; */
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: auto;
		width: auto;
	}
	
	.img_prj {
		max-width: 100%;
		max-height: 396px;
		-webkit-filter: grayscale(1);
	}
	
	.img_prj:hover {
		-webkit-filter: grayscale(0);
	}

}

/*---------------------------------------------------------------------------------footer--------------------------------------------------------------------------------*/

footer {
	height: 259px;
	background-color: rgba(60, 60, 60);
	display: flex;
	flex-direction: row;
	justify-content: space-between;

}

.pFooter {
	font-family: "Trispace", serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 20px;
	
}

#info_footer {
	position: relative;
	left: 5vw;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	color: white;
}

#logo_footer {

	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 5vw;
	align-items: center;
	margin-right: 10vw;
	/* width: 10vw; */
}



.image-wrapper {
	position: relative;
	width: 72px;
	height: 72px;
}

.image-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

.image-wrapper .img2 {
	opacity: 0;
}

.image-wrapper:hover .img1 {
	opacity: 0;
}

.image-wrapper:hover .img2 {
	opacity: 1;
}

@media (max-width: 768px) {
	footer {
		flex-direction: column;
		align-items: center;
		height: auto;
		padding: 20px 0;
		gap: 20px;
	}

	#info_footer {
		left: 0;
		align-items: center;
		text-align: center;
	}

	#logo_footer {
		flex-direction: row;
		gap: 30px;
		margin: 0;
	}

	p {
		font-family: "Trispace", serif;
		font-optical-sizing: auto;
		font-weight: 300;
		font-style: normal;
		font-variation-settings: "wdth" 100;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.image-wrapper {
		width: 48px;
		height: 48px;
	}

	.image-wrapper img {
		width: 100%;
		height: 100%;
	}
}


/*---------------------------------------------------------------------------------media querise--------------------------------------------------------------------------------*/