@charset "UTF-8";
@font-face {
    font-family : Planet_Space;
    src: url("../fonts/Planet_Space.woff") format('woff'),
		 url("../fonts/Planet_Space.woff2") format('woff2');
	font-weight: normal;
  	font-style: normal;
}

:root {
	/* Couleurs */
	--color-bg: #10001B;
	--color-text: #DDDCDC;
	--color-primary: #00FFFF;
	--color-secondary: #8B01A0;
	--color-title: #E0A000;
	--color-muted: #A9A9A9;
	--color-white: #FFFFFF;

	/* Glassmorphism */
	--glass-bg: rgba(255,255,255,0.05);
	--glass-border: 1px solid rgba(255,255,255,0.08);
	--glass-blur: blur(8px);

	/* Radius */
	--radius: 15px;

	/* Transition */
	--transition: transform 0.3s cubic-bezier(.46,.03,.52,.96);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Suisseint1, sans-serif;
	letter-spacing: 0.2px;
	font-weight: normal;
	line-height: 140%;
	
}
html {
	scroll-behavior: smooth;
}

/* Body */
body {
	background-image: url("../images/bg.svg");
	background-repeat: repeat-y;
	background-size: 100% auto;
	background-color: var(--color-bg);
}
main {
	padding: clamp(70px, 8vw, 120px) 20px clamp(50px, 6vw, 100px);
	scroll-margin-top: 110px;
}
section {
	padding: clamp(50px, 5vw, 90px) 20px;
	scroll-margin-top: clamp(80px, 6vw, 120px);
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.glass {
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border: var(--glass-border);
	border-radius: var(--radius);
}

/* Header */
header {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: min(1100px, 92%);
	padding: clamp(8px, 1vw, 12px) clamp(12px, 2vw, 24px);
	gap: clamp(10px, 2vw, 30px);
	z-index: 1;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}

/* Icon du site */
#iconBg {
	width: min(85px,15vw);
}

/* Navigation */
#menuNavigation {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}
#menuNavigation li {
	float: left;
	font-size: 16px;
	display: flex;
	margin: 20px;
	list-style-type: none;
	transition: var(--transition);
}
#menuNavigation li:hover {
	transform: scale(1.1);
}
#menuNavigation li a {
	color: var(--color-primary);
	text-decoration: none;
}
#menuNavigation li:hover a {
	color: var(--color-secondary);
}
#boutonContact {
	padding: 10px;
	font-size: 16px;
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--transition);
}
#boutonContact:hover {
	color: var(--color-secondary);
	transform: scale(1.1);
}

/* Cacher le menu mobile sur la version Classic */
.navigationResponsive {
	display: none;
}
.ouvrirMenuBurger {
	display: none;
}
.fermerMenuBurger {
	display: none;
}

/* Header Mobile */
@media only screen and (max-width: 870px) {
	
	header {
		top: 8px;
	}
	#iconBg {
        transition: all 0.3s cubic-bezier(.46,.03,.52,.96);
		opacity: 100%;
	}
	#menuNavigation {
    	display: none;
	}
	#boutonContact {
		display: none;
	}
	.ouvrirMenuBurger {
		display: flex;
		flex-direction: column;
		z-index: 2;
		transition: all 0.3s cubic-bezier(.46,.03,.52,.96);
		opacity: 100%;
	}
	.ouvrirMenuBurger span {
  		background-color: var(--color-primary);
  		height: 3px;
  		width: 32px;
  		margin: 4px 5px;
  		border-radius: 10px;
	}
	.navigationResponsive {
		width: 100%;
    	height: 0;
   	 	display: flex;
		flex-direction: column;
    	justify-content: center;
    	align-items: center;
    	background-color: rgba(0, 0, 0, 0.9);
		border-radius: 15px;
    	position: fixed;
		top: 0;
		left: 0;
    	z-index: 2;
    	opacity: 0;
    	transition: opacity 0.3s cubic-bezier(.46,.03,.52,.96), height 0.3s cubic-bezier(.46,.03,.52,.96);
    	overflow: hidden;
	}
	.montrer-navigationResponsive {
    	height: auto;
    	opacity: 100%;
	}
	.listeMenuBurger li {
		list-style-type: none;
		margin: 15px;
		transition: var(--transition);
	}
	.listeMenuBurger li:hover {
		transform: scale(1.05);
	}
	.listeMenuBurger li a {
		text-decoration: none;
		color: var(--color-primary);
		transition: var(--transition);
	}
	.listeMenuBurger li a:hover {
		color: var(--color-secondary);
		transform: scale(1.05);
	}
	.montrer-fermerMenuBurger {
  		display: block;
		text-decoration: none;
		color: var(--color-primary);
		font-size: 20px;
		text-align: right;
		width: 80%;
		transition: var(--transition);
	}
	.montrer-fermerMenuBurger:hover {
		color: var(--color-secondary);
		transform: scale(1.05);
	}

}

/* Main */
#accueil {
	min-height: calc(100vh - 80px);
	padding-top: clamp(100px, 12vw, 180px);
	padding-bottom: clamp(40px, 6vw, 100px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#nomEtPhoto {
	padding: 20px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
#nom {
	font-size: clamp(1.8rem, calc(7vw + 1rem), 6rem);
	font-family: Planet_Space, sans-serif;
	margin: 10px;
	color: var(--color-white);
	text-align: center;
	line-height: 100%;
}
#photoProfil {
	width: min(280px, 50vw);
}
#titreEtDescription {
	width: 100%;
	padding: 20px;
	gap: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
#titre {
	font-size: clamp(0.5rem, calc(1vw + 1rem), 2rem);
	color: var(--color-primary);
	font-weight: normal;
	text-align: center;
}
#descriptionGeneral {
	width: min(1000px, 80%);
	font-size: clamp(0.3rem, calc(1vw + 0.5rem), 1rem);
	color: var(--color-text);
	text-align: center;
	margin-bottom: 40px;
}

/* Main Mobile */
@media only screen and (max-width: 720px) {
	
	#nomEtPhoto {
		padding: 5px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	#titreEtDescription {
		padding: 5px;
		gap: 5px;
	}
	#titre {
		margin-top: 0;
		margin-bottom: 0;
	}
	#descriptionGeneral {
		margin-bottom: 20px;
	}
	
}

/* Icons RS */
.iconsRS {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin-right: min(40px, 5vw);
	margin-left: min(40px, 5vw);
	gap: min(20px, 5vw);
}
.iconLinkedin, .iconGithub {
	width: 32px;
	transition: var(--transition);
}
.iconLinkedin:hover, .iconGithub:hover {
	transform: scale(1.15);
}

/* A propos */
#aPropos {
	scroll-margin-top: clamp(60px, 7vw, 80px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
#contenuAPropos {
	width: min(1400px, 100%);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(25px, 3vw, 50px);
}
#paragraphes {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(12px, 1.5vw, 22px);
}
#paragrapheMoi, #paragrapheObjectifs {
	padding: clamp(18px, 2vw, 28px);
	width: min(750px, 90vw);
	color: var(--color-text);
	text-align: center;
}
#paragrapheMoi h2, #paragrapheObjectifs h2 {
	color: var(--color-primary);
	font-size: clamp(1.3rem, calc(1.2vw + 1rem), 1.8rem);
	margin-bottom: 15px;
}
#paragrapheMoi p, #paragrapheObjectifs p {
	font-size: clamp(0.6rem, calc(1vw + 0.5rem), 1rem);
	text-align: justify;
}
#paragrapheMoi p span, #paragrapheObjectifs p span {
	color: orange;
}
#cvEtTelechargement {
	margin: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
#cv {
	width: min(400px, 60vw);
	margin: 10px;
	transition: var(--transition);
}
#cv:hover {
	transform: scale(1.05);
}
#cvTelechargement {
	padding: 15px;
	color: var(--color-white);
	text-align: center;
	text-decoration: none;
	transition: var(--transition);
}
#cvTelechargement:hover {
	color: var(--color-secondary);
}

/* A Propos Mobile */
@media only screen and (max-width: 720px) {
	
	#aPropos {
		scroll-margin-top: 70px;
		padding-top: 40px;
	}
	#contenuAPropos {
		width: 100%;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		gap: 15px;
	}
	#paragraphes {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0;
		gap: 15px;
	}
	#paragrapheMoi,
	#paragrapheObjectifs {
		width: min(90vw, 650px);
		margin: 0 auto;
	}
	#cvEtTelechargement {
		width: 100%;
		margin: 20px 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#cv {
		margin: 0 auto;
		display: block;
	}
	
}

/* Demande d'info, bas de page */
.demandeInfo {
	margin-top: clamp(10px, 3vw, 20px);
	margin-bottom: 40px;
	font-size: clamp(0.6rem, calc(0.5vw + 0.6rem), 0.9rem);
	padding: 10px;
	color: var(--color-muted);
	text-align: center;
}
.demandeInfo a {
	color: var(--color-muted);
	transition: var(--transition);
}
.demandeInfo a:hover {
	color: var(--color-secondary);
}

/* Compétences */
#competences {
	min-height: calc(100vh - 80px);
	padding: 60px 20px;
	scroll-margin-top: clamp(60px, 6vw, 110px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
#titreCompetences {
	color: var(--color-primary);
	font-size: clamp(1.3rem, calc(1.2vw + 1rem), 1.8rem);
	margin-bottom: 20px;
}
#ensembleCompetences {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#ligneCompetences {
	margin: 10px 0 25px;
	gap: clamp(10px, 1.5vw, 18px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.celluleCompetence {
	width: clamp(170px, 20vw, 210px);
	padding: clamp(14px, 1.5vw, 20px);
	aspect-ratio: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	text-align: center;
}
.titreCelluleCompetence {
	margin-bottom: 10px;
	color: var(--color-title);
	font-weight: bold;
	font-size: 20px;
	cursor: default;
	transition: var(--transition);
}
.titreCelluleCompetence:hover {
	transform: scale(1.05);
}
.celluleCompetence ul {
	list-style-type: none;
	cursor: default;
	transition: var(--transition);
}
.celluleCompetence ul li {
	color: var(--color-text);
	transition: var(--transition);
}
.celluleCompetence ul li:hover {
	transform: scale(1.05);
}
#projetsEtChimie {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1.5vw, 18px);
}
#projets {
	padding: 20px;
	width: clamp(240px, 28vw, 300px);
	aspect-ratio: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
}
#titreProjet {
	color: var(--color-title);
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	transition: var(--transition);
}
#titreProjet:hover {
	transform: scale(1.05);
}
#illustrationEtProjet {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
#illustrationIT {
	width: 150px;
	position: absolute;
    top: -110px;
    left: -60px;
}
#jeuDeLaVieConway a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	z-index: 1;
}
#projetConway {
	color: var(--color-text);
	text-align: center;
	margin: 10px;
	transition: var(--transition);
}
#projetConway:hover {
	transform: scale(1.05);
	color: var(--color-secondary);
}
#conwayImage {
	width: 55%;
	transition: var(--transition);
}
#conwayImage:hover {
	transform: scale(1.05);
}
#chimie {
	padding: 30px;
	width: clamp(240px, 28vw, 300px);
	aspect-ratio: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
}
#illustrationEtPasseEnChimie {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	font-size: 18px;
	text-align: center;
}
#illustrationChimie {
	width: 150px;
	position: absolute;
    top: -60px;
    right: -75px;
}
#titreChimie {
	margin-bottom: 20px;
	color: var(--color-title);
	font-weight: bold;
	font-size: 20px;
	cursor: default;
	transition: var(--transition);
}
#titreChimie:hover {
	transform: scale(1.05);
}
#passeEnChimie {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	z-index: 1;
	gap: 10px;
}
#iconeThese {
	margin-right: 10px;
	width: 25px;
}
#theseChimie{
	font-size: 16px;
	padding-right: 35px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: var(--transition);
	color: var(--color-primary);
}
#theseChimie:hover {
	color: var(--color-secondary);
	transform: scale(1.05);
}
#publiChimie {
	font-size: 16px;
	padding-left: 10px;
	color: var(--color-text);
}
#listePubliChimie {
	padding-right: 15px;
	font-size: 14px;
	list-style-type: none;
}
#listePubliChimie li {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}
#listePubliChimie li:hover {
	transform: scale(1.05);
}
#listePubliChimie li a {
	text-decoration: none;
	transition: var(--transition);
	color: var(--color-primary);
}
#listePubliChimie li a:hover {
	color: var(--color-secondary);
}
.iconePublication {
	margin-right: 10px;
	height: 15px;
	width: 15px;
}
#motsclefsChimie {
	margin-top: 10px;
	font-size: 9px;
	align-self: center;
	color: var(--color-muted);
}

/* Compétences Mobile */
@media only screen and (max-width: 720px) {

	#competences {
		padding-top: 25vw;
	}
	#titreCompetences {
		margin-bottom: 0;
	}
	#ligneCompetences {
		gap: 12px;
	}
	.celluleCompetence {
		width: 46%;
		min-width: 160px;
	}
	.titreCelluleCompetence {
		font-size: 16px;
	}
	.celluleCompetence ul {
		font-size: 14px;
	}
	#projetsEtChimie {
		flex-direction: column;
		gap: 12px;
	}
	#projets {
		width: min(100%, 280px);
	}
	#titreProjet {
		font-size: 16px;
	}
	#illustrationIT {
		width: 120px;
	}
	#jeuDeLaVieConway a {
		font-size: 14px;
	}
	#chimie {
		width: min(100%, 280px);
	}
	#illustrationChimie {
		width: 120px;
		left: -75px;
	}
	#passeEnChimie {
		gap: 5px;
	}
	#titreChimie {
		margin-bottom: 10px;
		font-size: 16px;
	}
	#theseChimie {
		font-size: 14px;
	}
	#publiChimie {
		font-size: 14px;
	}
	#listePubliChimie {
		font-size: 12px;
	}
	#motsclefsChimie {
		margin-top: 10px;
		font-size: 7px;
	}

}

/* Contact */
#contact {
	min-height: calc(100vh - 80px);
	padding: 60px 20px;
	scroll-margin-top: clamp(60px, 6vw, 110px);
	display: flex;
	flex-direction: column;
	align-items: center;
}
#illustrationEtTitreContact {
	position: relative;
}
#enveloppeContact {
	width: 120px;
	position: absolute;
    top: -10px;
    left: -110px;
}
#titreContact {
	color: var(--color-primary);
	font-size: clamp(1.3rem, calc(1.2vw + 1rem), 1.8rem);
	margin-bottom: 50px;
}
#formulaireContact {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}
.celluleContact {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.labelContact {
	font-size: clamp(0.8rem, calc(0.8vw + 0.5rem), 1rem);
	color: var(--color-text);
	text-align: center;
}
.inputContact {
	padding: 10px;
	font-size: 14px;
	text-align: left;
	border-radius: 15px;
	min-width: 450px;
	background-color: #F4F4F4;
}
.celluleContact p {
	margin-bottom: 10px;
	opacity: 0;
	color : red;
	cursor: default;
	font-size: 12px;
}
#confirmationEnvoi {
	margin: 10px;
	opacity: 0;
	color : green;
	cursor: default;
	font-size: 18px;
}
.message {
	min-height: 100px;
}
#envoiContact {
	display:  flex;
	flex-direction: column;
	align-items: center;
}
#envoiFormulaireContact {
	font-size: 16px;
	color: var(--color-text);
	width: 120px;
	height: 45px;
	cursor: pointer;
	background: none;
	border-width: 2px;
	border-radius: 15px;
	border-color: var(--color-primary);
	transition: var(--transition);
}
#envoiFormulaireContact:hover {
	border-color: var(--color-secondary);
	transform: scale(1.1);
}

@media only screen and (max-width: 720px) {

    #illustrationEtTitreContact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #enveloppeContact {
        position: relative;
        left: 10px;
        top: 30px;
        width: 100px;
        margin-bottom: 20px;
    }
    #titreContact {
        text-align: center;
		margin-bottom: 15px;
    }
    .inputContact {
        min-width: 80vw;
    }
	.celluleContact p {
		margin-bottom: 5px;
	}

}

/* Pied de page */
#piedDePage {
	width: 100%;
	padding: 10px 20px;
	margin-bottom: 15px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
#textePiedDePage {
	font-size: clamp(0.5rem, calc(0.6vw + 0.3rem), 0.7rem);
	color: var(--color-muted);
	font-weight: normal;
	margin-left: 5%;
}
