/* Couleur bleu #00E6FF */
/* Couleur bleu noir du fond #0f131a, rgb(15, 19, 26) */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lilex:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
  scroll-behavior: smooth;		/* Défilement smooth (doux) */
}

body {
	text-align: center;
	background: #0f131a;				/* Couleur de fond et de la police */
	color: #FFFFFF;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	font-family: 'Google Sans Code', sans-serif;
}

/* Section Nav / HEADER */
/* ========================================================================================== */
header {
	z-index: 9999;
	position: fixed;					/* Reste toujours en haut */
	display: flex;               		/* Active flexbox */
    justify-content: space-between; 	/* Ajoute espace entre titre et menu nav */
    align-items: center;         		/* Aligne verticalement */

	top: 0;								/* Collé sur les bords */
	left: 0;			
	right: 0;

	width: 100%;						/* Prend toute la largeur */

	background: rgba(15, 19, 26, 0.6); 	/* Fond d'ecran noir transparent a 60% */
	backdrop-filter: blur(6px); 		/* Floute ce qui est derrière */
	border-bottom: 1px solid #98a4b3;	/* Bordure du bas de couleur différente */
}

	nav {
		margin-right: 5%;					/* Eloigne du bord a droite */
		gap: 10px;									/* Espacement entre les boutons */
	}

	.btn_nav {										/* Style des boutons */
		background-color: rgba(0, 191, 255, 0.0);
		border: none;
		color: #98a4b3;
		padding: 16px;
		font-size: 1rem;
	}

	.btn_nav:hover {							/* Au survol de la souris sur les boutons */
  		color: #00E6FF;
  		background-color: rgba(0, 191, 255, 0.1);
  		border-radius: 10px;
  		cursor: pointer;
	}

	.btn_navigation_telephone {		/* Style du bouton déroulant pour petit ecran */
		margin-left: auto;
		margin-right: 5%;
  	display: none;							/* Ici display none désactive l'affichage de ce bouton par défaut */
  	font-size: 1.5rem;
  	font-weight: bold;
  	background: none;
 		border: none;
 		color: #98a4b3;
 		cursor: pointer;
 		align-items: center;
	}

	.btn_navigation_telephone:hover{								/* Au survol de la souris sur le btn déroulant */
		background-color: rgba(227, 78, 0, 0.7);
		cursor: pointer;
		border-radius: 8px;
	}
	.menu-toggle{
		display: flex;
	}

		.btn_nav{
			width: fit-content;
			margin: 0 auto;
		}

	.h1header {
		font-size: 2rem;
		display: flex;
		color: #00E6FF;
		padding-left: 0;
		margin-left: 5%;
		margin-right: 10vh;
	}

main {
	padding-top: 8vh;						/* Pour ne pas superposer le header et le main */							
}											/* Ici vh = viewport height nous permet d'adapter en fonction de l'appareil utilisé c'est comme le pourcentage*/

[id] {										/* Concerne toutes les ID et permet de ne pas superposer le header fixe et les titres de point d'encrage */
  scroll-margin-top: 13vh;
}
/* ========================================================================================== */
/* ========================================================================================== */

/* PAGE ENTIERE */
/* ========================================================================================== */
p {
	color: #98a4b3;							/* Couleur différente pour tout les paragraphes */
	font-size: 1.5rem;
}

h1 {
	font-size: 3rem;
}

section {
	text-align: center;
	margin-top: 20vh;
	margin-bottom: 10vh;
}

.section_titre {
	margin-bottom: 0;
	word-wrap: break-word;
	white-space: normal;
}

.section_sous_titre {
	font-size: 1rem;
	margin-top: 0;
	margin-bottom: 10vh;
}
/* ========================================================================================== */
/* ========================================================================================== */

/* Section MOI */
/* ========================================================================================== */

.hidden {
	display: none;
}

#Moi {
	font-size: 0.875rem;
	color: #00E6FF;
	border: 1px solid;
	border-radius: 20px;
	padding: 8px;
	background-color: rgba(0, 191, 255, 0.1);
	display: inline-block;					/* Permet de limiter la bordure au h2 et pas plus */
}

#Moi_titre {
	font-size: 6rem;
	color: #60a5fa;
	margin: auto;
}

#cv {
	height: 30rem;
	width: 40vh;
}

.bloc {
	display: flex;
	justify-content: center;
	gap: 6vh;
}

	#btn_cv {
  	color: #000000;
  	font-weight: 700;
  	box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
  	background-color: rgb(0, 191, 255);
  	border: 0px;
  	border-radius: 9px;
  	cursor: pointer;
  	padding: 25px;
  	transition: transform 0.3s ease;
	}

	#bascule_a_propos {
	color: #000000;
 	font-weight: 700;
 	box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
 	background-color: rgb(0, 191, 255);
 	border: 0px;
 	border-radius: 9px;
 	cursor: pointer;
 	padding: 25px;
  transition: transform 0.3s ease;
	}


	#btn_projets {
		color: #000000;
 		font-weight: 700;
 		box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
 		background-color: rgb(0, 191, 255);
 		border: 0px;
 		border-radius: 9px;
 		cursor: pointer;
 		padding: 25px;
  	transition: transform 0.3s ease;
	}

#phrase_recap {
	color: #FFFFFF;
}

#bio {
	padding: 20px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2%;
}

#a_propos {
	border: 1px solid rgb(0, 191, 255);
	margin: 0;
	box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
	padding: 10px;
}

#bio.visible {
  max-height: 500px; /* ajuste selon la taille du contenu */
}
/* ========================================================================================== */
/* ========================================================================================== */

/* Section Parcours */
/* ========================================================================================== */

.element_frise_chrono {
	box-sizing: border-box;
	position: relative;
  padding: 5px;
  background-color: #151A22;
  border: 1px solid #29303d;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.element_frise_chrono:hover {
	box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
}

.description_parcours {
	font-size: 1rem;
	margin: 1rem;
}

.h2_parcours {
	margin: 1rem;
}

.en_cours {
	background-color: #1BCF58;
	display: inline-block;
	padding: 10px;
	border-radius: 5px;
	position: absolute;
	top: 0;
	right: 0;
	margin: 15px;
}

.parcours {
	display: grid;
	grid-template-columns: 70px auto;
	justify-content: center;
	gap: 2vh;

}

.logo_parcours {
	position: relative;
	padding-top: 1vh;
	display: flex;
	flex-direction: column;
	padding-bottom: 10vh;
	justify-content: space-between;
}

.bloc_parcours {
	display: flex;
	flex-direction: column;
	gap: 5vh;
}

.img_parcours {
	height: 3%;
	width: 3%;
	display: none;
}

.img_logo_parcours {
	padding: 10px;
	background-color: #151a22;
	box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
	border: solid 1px rgb(0, 191, 255);
	border-radius: 100px;
	height: 50px;
	width: 50px;
	z-index: 1;
}

.logo_parcours::before {
    content: "";
    position: absolute;
    left: 35px;                 /* Position horizontale de la ligne */
    top: -10vh;
    bottom: 10vh;
    width: 2px;                 /* Épaisseur de la ligne */
    background-color: rgb(0, 191, 255);
    border-radius: 10px;
   	background: linear-gradient(
       to top,
       rgba(0, 191, 255, 1) 0%,       /* Couleur pleine en haut */
       rgba(0, 191, 255, 1) 85%,      /* encore pleine à 85% */
       rgba(0, 191, 255, 0) 100%      /* devient totalement transparent en bas */
       );
}

.contenue_parcours {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.contenue_parcours > * {
	margin: 8px;
}
/* ========================================================================================== */
/* ========================================================================================== */

/* Section Diplômes */
/* ========================================================================================== */
.date_diplomes {
	color: #00E6FF;
	margin: 1rem;
	font-family: 'Lilex', sans-serif;
}

.bloc_diplomes {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10vh;
	width: 100%;
}

.element_diplomes {
	box-sizing: border-box;
	width: 100%;
	max-width: 80vh;
	display: flex;
	align-items: center;
	gap: 2vh;
	padding: 2vh;
	background-color: #181D25;
	border: 1px solid #29303d;
	border-radius: 15px;
	transition: 0.3s ease
}

.element_diplomes:hover{
	box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
	cursor: pointer;
}

.icone {
	background-color: #00bfff1a;
	border-radius: 13px;
}
.contenue_diplome {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 1vh;
}

.contenue_diplome >* {
	margin: 0;
}


.element_diplomes h3 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: bold;
}

.element_diplomes h4 {
	color: #00E6FF;
}

.badge_status_en_cours {
	color: #4ade80;
	border: 0.6px solid #22c55e4d;
	border-radius: 100px;
	padding: 0.5rem;
	margin-left: auto;
	background-color: #22c55e33;
}

.badge_status_obtenue {
	color: #00bfff;
	border: 0.6px solid #00bfff4d;
	border-radius: 100px;
	padding: 0.5rem;
	margin-left: auto;
	background-color: #00bfff33;
}

.popup {
	display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #181D25;
  padding: 25px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  border-radius: 10px;
  z-index: 1000;
}

.popup .fermer {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* ========================================================================================== */
/* ========================================================================================== */

/* Section Travaux */
/* ========================================================================================== */
.choix_travaux {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap; 
	margin-bottom: 3rem;
}

.btn_choix_travaux {
	font-size: 0.875rem;
	font-weight: 500;
	color: #98a4b3;
	border: none;
	background-color: #1f242e;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	border-radius: 18px;
}

.btn_choix_travaux:hover{
	cursor: pointer;
	color: #FFFFFF;
	background-color: #1f242ecc;
	transition-duration: 300ms;
}

.btn_choix_travaux.actif {
	color: black;
	background-color: #00bfff;
	box-shadow: 0 0 2px rgb(0, 191, 255), 0 0 7px rgb(0, 191, 255);
}

.bloc_travaux {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(20rem, 25rem));
	justify-content: center;
	gap: 3rem;
}

.travaux {
	box-sizing: border-box;
	width: 100%;
	height: 20rem;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-align: left;
	padding: 1rem;
}

.travaux::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.travaux > * {
  position: relative;
  z-index: 2;
}

.travaux img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  filter: blur(1px);
  z-index: 0;
}

.travaux h1 {
	font-size: 1.5rem;
	color: white;
	font-weight: 900;
	margin: 0.5rem;
	margin-left: 0;
}

.travaux p {
	font-size: 1rem;
	color: white;
	margin: 0.5rem;
	margin-left: 0;
}

.travaux.caché {
	opacity: 0;
	display: none;
}

.travaux-badges {
	margin: 0.5rem;
	margin-left: 0;
	display: flex;
	gap: 0.5rem;
}

.travaux-badges span {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 0.8rem;
	padding: 0.5rem;
	background-color: #98a4b3;
	border-radius: 20px;
}

.btn_rapport {
	width: 100%;
	font-weight: 700;
	font-size: 1rem;
	background-color: #98a4b3;
	border-radius: 20px;
	border: none;
	color: white;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

.btn_rapport:hover {
	cursor: pointer;
}

/* ========================================================================================== */
/* ========================================================================================== */

/* Section Contact */
/* ========================================================================================== */
.bloc_contact {
	display: grid;
	grid-template-columns: 50vh 50vh;
	justify-content: center;
	gap: 5vh;
}


.lien_contact {
	display: flex;
	flex-direction: column;
	gap: 1vh;
}

#href_linkedin {
	gap: 1vh;
	display: flex;
	flex-direction: row;
	align-items: center;
}

#href_github {
	gap: 1vh;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.hover_contact:hover {
	.lien_contact, p {
		color: #00bfff;
	}
	.lien_contact, img {
		box-shadow: 0 0 0px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
	}
	cursor: pointer;
	color: #00E6FF;
}

.formulaire {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.formulaire {
	width: 40vh;
	border-radius: 12px;
}

.formulaire input,
.formulaire textarea {
	box-sizing: border-box;
	color: #ffffff;
  width: 100%;
  background: #1a2030;
  border: none;
  border-radius: 6px;
  padding: 1.15vh;
  font-size: 14px;
 	outline: none;
  caret-color: #fff;
}

.formulaire input::placeholder,
.formulaire textarea::placeholder {
  color: #98a4b3;
}

.formulaire input:focus,
.formulaire textarea:focus {
  box-shadow: 0 0 0 2px #00bfff;
}

.formulaire textarea {
  min-height: 15vh;
  resize: none;
}

#btn_formulaire {
	box-sizing: border-box;
	width: 100%;
	color: #000000;
  font-weight: 700;
  box-shadow: 0 0 5px rgb(0, 191, 255), 0 0 10px rgb(0, 191, 255);
  background-color: rgb(0, 191, 255);
  border: 0px;
  border-radius: 9px;
  cursor: pointer;
  padding: 1.15vh;
  transition: transform 0.3s ease;	
}
/* ========================================================================================== */
/* ========================================================================================== */

/* Conteneur de la bulle */
/* ========================================================================================== */
.info-bulle {
    position: fixed;       
    bottom: 20px;          
    right: 20px;           
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;          
    padding: 10px 15px;    
    border-radius: 10px;   
    font-size: 14px;
    cursor: default;       
    transition: opacity 0.3s;
    opacity: 0.7;
}


/* Effet au survol */
.info-bulle:hover {
    opacity: 1;
}
/* ========================================================================================== */
/* ========================================================================================== */

footer{
	margin-bottom: 5%;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 500;
}
				/* EN BAS CAR PRIORITAIRE A LA FIN ET ERREUR POSSIBLE SI IL EST MIS PLUS HAUT*/
@media (max-width: 768px) {
		.navigation_pc {
			display: none;
			background: none;
  		border: none;
  		font-size: 1.5rem;
 			color: #98a4b3;
  		flex-direction: column;
  		position: absolute;
  		gap: 1rem;
  		margin-top: 7vh;
  		height: 100vh;
			right: 0;
			left: 0;
		}
		.navigation_pc.show{
			display: flex;
			background-color: rgba(15, 19, 26, 0.9);
		}
		.btn_navigation_telephone{
			display: block;
		}
		#Moi_titre {
			font-size: 4rem;
		}
		.section_titre {
			font-size: 2rem;
		}
		.bloc {
			gap: 0.80vh;
		}
		.element_frise_chrono {
			width: 100%;
		}
		.bloc_diplomes {
			margin-left: 0;
			margin-right: 0;
		}
		.contenue_diplome p {
			font-size: 0.75rem;
		}

		.contenue_diplome h3 {
			font-size: 1rem;
		}

		.h2_parcours {
			font-size: 1.10rem;
		}

		.description_parcours {
			text-align: left;
			font-size: 0.95rem;
		}
		.bloc_contact {
			grid-template-columns: 90%;
		}
	}

	@media (min-width: 768px) {
		.element_frise_chrono {
			width: 80vh;
			position: relative;
  		padding: 8px;
  		margin-right: auto;
  		margin-left: auto;
  		background-color: #151A22;
  		border-radius: 10px;
  		transition: box-shadow 0.3s ease;
}
	}