@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Nunito&family=Special+Elite&display=swap');

:root {
	--padSection: 10vh;
}

html {
	scroll-behavior: smooth;
}

body {

	color: white;
	font-family: 'Audiowide', cursive;
	background-image: url('img/bg66Road.jpg');
	background-position: bottom;
	background-size: cover;
	background-attachment: fixed;
}

h1 {
	font-size: 3vh;
	font-weight: bold;
	position: relative;
	z-index: auto;
	font-family: 'Nunito', cursive;
}

ul {
	padding-left: 0;
}

li {
	list-style: none;
}

header li {
	text-align: center;
}

header a {
	height: 100%;
}

/* ------------------------------------ Menu ------------------------------------*/

#mainMenu {
	z-index: 5;
	background-color: rgb(24, 26, 27);
	-moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}

#mainMenu li {
	cursor: pointer;
	font-family: 'Nunito', cursive;
}

.sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

/* ------------------------------------ Carousel ------------------------------------*/

.carousel-indicators {
	width: 40%;
	height: 30px;
	margin-left: auto;
	margin-right: auto;
}

.carousel-indicators {
	z-index: 2;
}

.carousel-indicators li {
	background-color: white;
	height: 1vh;
	width: 1vh;
	border-radius: 50%;
}

#myCarousel {
	width: 100%;
	height: 56.25vw;
	max-height: 948px;
	overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
	z-index: 2;
}

.carControl {
	padding: 20px;
	width: 65px;
	height: 65px;
	/* background-color: rgba(0, 0, 0, 0.8); */
}

#myCarousel .carousel-inner {
	position: relative;
	height: 100%;
	width: 100%;
}

.carousel-item:before {
	position: absolute;
	padding: 0;
	content: '';
	background-color: rgba(0, 0, 0, 0.45);
	height: 100%;
	width: 100%;
}

#myCarousel .carousel-inner .carousel-item {
	position: relative;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;

}

.carousel-item:nth-child(1) {
	background: url('img/developpementWeb-min.jpg');
}

.carousel-item:nth-child(2) {
	background: url('img/modelisation3D-min.jpg');
}

.carousel-item:nth-child(3) {
	background: url('img/impression3D-min.jpg');
}

.carousel-item:nth-child(4) {
	background: url('img/design-min.jpg');
}

.carousel-item:nth-child(5) {
	background: url('img/montageVideo-min.jpg');
}

.carousel-item:nth-child(6) {
	background: url('img/dessinTechnique-min.jpg');
}

.carousel-item:nth-child(7) {
	background: url('img/creationMusicale-min.jpg');
}

.carousel-item:nth-child(8) {
	background: url('img/programmation-min.jpg');
}

.carousel-item:nth-child(9) {
	background: url('img/electronique-min.jpg');
}

#text-carousel {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	min-width: 50%;
	margin: 0;
	color: beige;
	font-size: 3vw;
	font-weight: 750;
	text-shadow: 0 0 10px orange;
}

#text-carousel em {
	padding: 0 15px 0 10px;
	background-color: beige;
	color: rgb(24, 26, 27);
	border-radius: 20px 0;
	--Passion: ;
	text-shadow: none;
	box-shadow: 0 0 10px orange;
}

#text-carousel em::after {
	content: '';
	animation: var(--Passion) 2.5s linear infinite alternate;
}


@keyframes Passion1 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "le";
	}

	6% {
		content: "le ";
	}

	8% {
		content: "le d";
	}

	10% {
		content: "le dé";
	}

	12% {
		content: "le dév";
	}

	14% {
		content: "le déve";
	}

	16% {
		content: "le dével";
	}

	18% {
		content: "le dévelo";
	}

	20% {
		content: "le dévelop";
	}

	22% {
		content: "le développ";
	}

	24% {
		content: "le développe";
	}

	26% {
		content: "le développem";
	}

	28% {
		content: "le développeme";
	}

	30% {
		content: "le développemen";
	}

	32% {
		content: "le développement";
	}

	34% {
		content: "le développement ";
	}

	36% {
		content: "le développement w";
	}

	38% {
		content: "le développement we";
	}

	40% {
		content: "le développement web";
	}

	100% {
		content: "le développement web";
	}
}

@keyframes Passion2 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "la";
	}

	6% {
		content: "la ";
	}

	8% {
		content: "la m";
	}

	10% {
		content: "la mo";
	}

	12% {
		content: "la mod";
	}

	14% {
		content: "la modé";
	}

	16% {
		content: "la modél";
	}

	18% {
		content: "la modéli";
	}

	20% {
		content: "la modélis";
	}

	22% {
		content: "la modélisa";
	}

	24% {
		content: "la modélisat";
	}

	26% {
		content: "la modélisati";
	}

	28% {
		content: "la modélisatio";
	}

	30% {
		content: "la modélisation";
	}

	32% {
		content: "la modélisation ";
	}

	34% {
		content: "la modélisation 3";
	}

	36% {
		content: "la modélisation 3D";
	}

	100% {
		content: "la modélisation 3D";
	}
}


@keyframes Passion3 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "l'";
	}

	6% {
		content: "l'i";
	}

	8% {
		content: "l'im";
	}

	10% {
		content: "l'impr";
	}

	12% {
		content: "l'impre";
	}

	14% {
		content: "l'impres";
	}

	16% {
		content: "l'impress";
	}

	18% {
		content: "l'impressi";
	}

	20% {
		content: "l'impressio";
	}

	22% {
		content: "l'impression";
	}

	24% {
		content: "l'impression ";
	}

	26% {
		content: "l'impression 3";
	}

	28% {
		content: "l'impression 3D";
	}

	100% {
		content: "l'impression 3D";
	}
}

@keyframes Passion4 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "l'";
	}

	6% {
		content: "l'U";
	}

	8% {
		content: "l'UI";
	}

	10% {
		content: "l'UI ";
	}

	12% {
		content: "l'UI d";
	}

	14% {
		content: "l'UI de";
	}

	16% {
		content: "l'UI des";
	}

	18% {
		content: "l'UI desi";
	}

	20% {
		content: "l'UI desig";
	}

	22% {
		content: "l'UI design";
	}

	100% {
		content: "l'UI design";
	}
}

@keyframes Passion5 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "le";
	}

	6% {
		content: "le ";
	}

	8% {
		content: "le m";
	}

	10% {
		content: "le mo";
	}

	12% {
		content: "le mon";
	}

	14% {
		content: "le mont";
	}

	16% {
		content: "le monta";
	}

	18% {
		content: "le montag";
	}

	20% {
		content: "le montage";
	}

	22% {
		content: "le montage ";
	}

	24% {
		content: "le montage v";
	}

	26% {
		content: "le montage vi";
	}

	28% {
		content: "le montage vid";
	}

	30% {
		content: "le montage vidé";
	}

	32% {
		content: "le montage vidéo";
	}

	100% {
		content: "le montage vidéo";
	}
}

@keyframes Passion6 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "le";
	}

	6% {
		content: "le ";
	}

	8% {
		content: "le d";
	}

	10% {
		content: "le de";
	}

	12% {
		content: "le des";
	}

	14% {
		content: "le dess";
	}

	16% {
		content: "le dessi";
	}

	18% {
		content: "le dessin";
	}

	20% {
		content: "le dessin ";
	}

	22% {
		content: "le dessin t";
	}

	24% {
		content: "le dessin te";
	}

	26% {
		content: "le dessin tec";
	}

	28% {
		content: "le dessin tech";
	}

	30% {
		content: "le dessin techn";
	}

	32% {
		content: "le dessin techni";
	}

	34% {
		content: "le dessin techniq";
	}

	36% {
		content: "le dessin techniqu";
	}

	38% {
		content: "le dessin technique";
	}

	100% {
		content: "le dessin technique";
	}
}

@keyframes Passion7 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "la";
	}

	6% {
		content: "la ";
	}

	8% {
		content: "la c";
	}

	10% {
		content: "la cr";
	}

	12% {
		content: "la cré";
	}

	14% {
		content: "la créa";
	}

	16% {
		content: "la créat";
	}

	18% {
		content: "la créati";
	}

	20% {
		content: "la créatio";
	}

	22% {
		content: "la création";
	}

	24% {
		content: "la création ";
	}

	26% {
		content: "la création m";
	}

	28% {
		content: "la création mu";
	}

	30% {
		content: "la création mus";
	}

	32% {
		content: "la création musi";
	}

	34% {
		content: "la création music";
	}

	36% {
		content: "la création musica";
	}

	38% {
		content: "la création musical";
	}

	40% {
		content: "la création musicale";
	}

	100% {
		content: "la création musicale";
	}
}

@keyframes Passion8 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "la";
	}

	6% {
		content: "la ";
	}

	8% {
		content: "la p";
	}

	10% {
		content: "la pr";
	}

	12% {
		content: "la pro";
	}

	14% {
		content: "la prog";
	}

	16% {
		content: "la progr";
	}

	18% {
		content: "la progra";
	}

	20% {
		content: "la program";
	}

	22% {
		content: "la programm";
	}

	24% {
		content: "la programma";
	}

	26% {
		content: "la programmat";
	}

	28% {
		content: "la programmati";
	}

	30% {
		content: "la programmatio";
	}

	32% {
		content: "la programmation";
	}

	100% {
		content: "la programmation";
	}
}

@keyframes Passion9 {
	0% {
		content: "";
	}

	2% {
		content: "l";
	}

	4% {
		content: "l'";
	}

	6% {
		content: "l'é";
	}

	8% {
		content: "l'él";
	}

	10% {
		content: "l'éle";
	}

	12% {
		content: "l'elec";
	}

	14% {
		content: "l'élect";
	}

	16% {
		content: "l'électr";
	}

	18% {
		content: "l'électro";
	}

	20% {
		content: "l'électron";
	}

	22% {
		content: "l'électroni";
	}

	24% {
		content: "l'électroniq";
	}

	26% {
		content: "l'électroniqu";
	}

	28% {
		content: "l'électronique";
	}

	100% {
		content: "l'électronique";
	}
}

/* ------------------------------------ Competence ------------------------------------*/

#competences {
	position: relative;

	padding-top: var(--padSection);
	padding-bottom: var(--padSection);
	overflow: hidden;
	box-sizing: border-box;
}

#competences::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 100vw;
	height: 100vh;
	background: #002D62;
	background-image: url("./img/Hexagon.svg");
	border-radius: 50%;
	transform-origin: bottom;
	transform: translateX(-50%) scale(4);
}

.hexaBlock {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 20px;
}

.hexaBlock .hexagon {
	position: relative;
	height: 0;
	padding-bottom: 112.5%;
	margin: 20px auto;
}

/* ombre */

.hexaBlock .hexagon::before {
	content: '';
	position: absolute;
	bottom: -30px;
	width: 100%;
	height: 0;
	padding-bottom: 10%;
	background: radial-gradient(rgba(0, 0, 0, 0.15), transparent, transparent);
	border-radius: 50%;
	transition: 0.5s;
}

.hexaBlock .hexagon:hover::before {
	opacity: 0.8;
	transform: scale(0.8);
}

/* Contenu */

.hexaBlock .hexagon .shape {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center;
	transition: 0.3s ease-in-out;
}

.hexaBlock .hexagon:hover .shape {
	transform: translateY(-30px);
}

.hexaBlock .hexagon .shape .hexaContent {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 30px 10px 0 10px;
	text-align: center;
	background: linear-gradient(45deg, #0062cc, rgba(0, 0, 0, .9));
	color: #fff;
	transition: 0.5s;
}

.hexaContent h2 {
	font-size: x-large;
}

.hexaContent li {
	font-size: small;
	font-family: "Nunito", cursive;
}


.hexaBlock .hexagon:hover .shape .hexaContent {
	opacity: 1;
}

/* Images */

.hexaBlock:nth-child(1) .hexagon .shape {
	background: no-repeat center/75% url("img/tools.svg");
}

.hexaBlock:nth-child(2) .hexagon .shape {
	background: no-repeat center/75% url("img/plug.svg");
}

.hexaBlock:nth-child(3) .hexagon .shape {
	background: no-repeat center/75% url("img/brain.svg");
}

@media screen and (min-width: 768px) {
	.hexaBlock .hexagon .shape .hexaContent {
		opacity: 0;
	}
}

/* ------------------------------------ Roadmap ------------------------------------*/

#parcours {
	padding-top: var(--padSection);
	padding-bottom: var(--padSection);

}

#parcours h1 {
	margin-bottom: 100px;
	padding: 15px 0;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 20px;
}

#parcours h3 {
	position: relative;
	margin: 0;
	padding: 5%;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.5);
	font-size: 90%;
}

#parcours p {
	padding: 20% 5%;
	background: linear-gradient(45deg, #0062cc, rgba(0, 0, 0, 0.5));
	border-radius: 0 0 10px 10px;
	font-size: 85%;
	word-break: break-word;
	font-family: "Nunito", cursive;
}

@media screen and (min-width: 768px) {
	#parcours h1 {
		margin-bottom: 10px;
	}

	#parcours .col-md-2 {
		transform: translateY(50%);
		transition: 0.5s;
		overflow: hidden;
	}

	#parcours .col-md-2:hover {
		transform: translateY(0%);
	}

	#parcours h3 {
		background-color: rgb(0, 0, 0);
		border-radius: 0 0 10px 10px;
		transition: 0.5s;
		transition-delay: 0.25s;
	}

	#parcours .col-md-2:hover h3 {
		border-radius: 0;
		background-color: rgba(0, 0, 0, 0.5);
	}

	#parcours p {
		transform: translateY(-100%);
		opacity: 0;
		transition: 0.5s;
	}

	#parcours .col-md-2:hover p {
		transform: translateY(0%);
		opacity: 1;
	}
}

/* ------------------------------------ Projets ------------------------------------*/

#projets,
#laboratoire {
	background-color: #002D62;
	background-image: url("img/Circuit Board.svg");
	padding-top: var(--padSection);
	padding-bottom: var(--padSection);
}

#laboratoire {
	padding-top: 0;
}

#projets .row,
#laboratoire .row {
	position: relative;
	/* justify-content: center; */
	text-align: center;
	transform-style: preserve-3d;
}

#projets h1,
#laboratoire h1 {
	margin-bottom: 50px;
}

#projets .row .boxProjet,
#laboratoire .row .boxProjet {
	position: relative;
	height: 300px;
	margin: 30px;
	background-size: cover;
	background-position: center;
	border-radius: 20px;
	transform-style: preserve-3d;
}

#projet-onde-positive {
	background-image: url('img/projet-onde-positive.jpg');
}

#projet-food-restaurant {
	background-image: url('img/projet-food-restaurant.jpg');
}

#projet-culturomax {
	background-image: url('img/projet-culturomax.jpg');
}

#projet-booki {
	background-image: url('img/projet-booki.jpg');
}

#projet-terrasse {
	background-image: url('img/projet-terrasse.jpg');
}

.boxProjet::before {
	content: 'Web';
	position: absolute;
	top: 5%;
	left: 50%;
	transform: translateX(-50%);
	font-size: 1.1em;
	font-weight: 900;
	color: #fff;
	font-style: italic;
	opacity: 0;
}

#projet-onde-positive::before,
#projet-terrasse::before {
	content: "Wordpress";
}

#projet-culturomax::before {
	content: "Jeux-vidéo";
}

#projets .boxProjet:hover::before,
#laboratoire .boxProjet:hover::before {
	opacity: 0.5;
}

#projets .boxProjet h2,
#laboratoire .boxProjet h2 {
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	width: 100%;
	transform: translate3d(0, 0, 75px);
	transition: 0.5s;
	text-shadow: 0 0 3px #009ac1, 0 0 5px #002D62, 0 0 0.8rem #002D62;
	opacity: 0;
	z-index: 10;
}

#projets .boxProjet:hover h2,
#laboratoire .boxProjet:hover h2 {
	top: 40px;
	opacity: 1;
}

#projets .boxProjet button,
#laboratoire .boxProjet button {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform-style: preserve-3d;
	transform: translate3d(-50%, 0, 75px);
	/* background-color: #9bdc28; */
	color: #fff;
	padding: 10px 25px;
	border-radius: 30px;
	text-decoration: none;
	transition: 0.5s;
	opacity: 0;
	z-index: 10;
}

#projets .boxProjet:hover button,
#laboratoire .boxProjet:hover button {
	bottom: 30px;
	opacity: 1;
}

#projets .boxProjet .circle,
#laboratoire .boxProjet .circle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	aspect-ratio: 1/1;
	border-radius: 50%;
	transition: 0.5s;
	background-color: #002D62;
	opacity: 0.2;
	transform-style: preserve-3d;
	z-index: 10;
	transform: translate3d(-50%, -50%, 50px);
}

#projets .boxProjet img,
#laboratoire .boxProjet img {
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 150px;
	transition: 0.5s;
	z-index: 11;
	transform-style: preserve-3d;
	transform: translate3d(-50%, -50%, 65px);
}


#projet .boxProjet:hover img,
#laboratoire .boxProjet:hover img {
	transform: translate3d(-50%, -50%, 100px);
}

/*
#projets .boxProjet:nth-child(1) .circle,
#projets .boxProjet:nth-child(1) a
{
	background-color: #379bf7;
}

#projets .boxProjet:nth-child(2) .circle,
#projets .boxProjet:nth-child(2) a
{
	background-color: #379bf7;
}

#projets .boxProjet:nth-child(3) .circle,
#projets .boxProjet:nth-child(3) a
{
	background-color: #379bf7;
}

#projets .boxProjet:nth-child(4) .circle,
#projets .boxProjet:nth-child(4) a
{
	background-color: #379bf7;
}

#projets .boxProjet:nth-child(5) .circle,
#projets .boxProjet:nth-child(5) a
{
	background-color: #379bf7;
}

#projets .boxProjet:nth-child(6) .circle,
#projets .boxProjet:nth-child(6) a
{
	background-color: #379bf7;
}
*/

/* ------------------------------------ Panel Viewer ------------------------------------*/

#panel-viewer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 5;
	padding: 10px;
}

#panel-viewer .quit-button {
	float: right;
	height: 30px;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;

	background-color: red;
	border-radius: 5px;
}

#panel-viewer h2 {
	text-align: center;
	margin: 50px auto;
}

#panel-viewer figure {
	font-family: "Nunito";
	gap: 10px;
}

#panel-viewer span {
	display: inline-block;
	background-color: #002D62;
	padding: 5px 10px;
	margin: 0 5px 5px 0;
	border-radius: 5px;
	white-space: nowrap;
}

/* .panel-viewer .techno,
.panel-viewer .context,
.panel-viewer .utility {

} */

#panel-viewer p {
	padding-top: 10px;
	font-size: 1.3rem;
}

#panel-viewer a {
	display: block;
	margin: 0 auto;
}

/* ------------------------------------ Footer ------------------------------------*/

footer {
	background-color: rgb(24, 26, 27);
	padding-top: var(--padSection);
	padding-bottom: var(--padSection);
}

footer input {
	width: 100%;
	border: none;
	background-color: rgb(48, 48, 48);
	border-radius: 5px;
	color: whitesmoke;
	font-family: "Nunito";
}

footer textarea {
	resize: none;
	height: 200px;
	border: none;
	background-color: rgb(48, 48, 48);
	border-radius: 5px;
	color: whitesmoke;
	font-family: "Nunito";
}

footer form div:nth-child(1),
footer form div:nth-child(2),
footer form div:nth-child(3),
footer form div:nth-child(4) {
	margin: 0 0 20px 0;
}



@media (min-width: 768px) {

	/* ------------------------------------ Panel Viewer ------------------------------------*/
	#panel-viewer figure {
		gap: 0;
	}
}