@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

body {
	margin: 0;
	background: #0d0d0d;
	color: #00ff88;
	font-family: 'Orbitron', sans-serif;
	text-align: center;
	padding: 50px;
	overflow-x: hidden;
}

.logo {
	font-size: 30px;
	text-shadow: 0 0 8px #00ff88, 0 0 5px #00ff88;
	text-align: left;
	text-decoration: none;
	color: inherit;
}

.logo2 {
	font-family: 'Orbitron', sans-serif;
	font-size: 50px;
	text-shadow: 0 0 5px #00ff88, 0 0 2px #00ff88;
	text-align: left;
	text-decoration: none;
	color: inherit;
}

.subtitle {
	font-size: 11px;
	margin: 5px 0px;
	letter-spacing: 1px;
	color: #00ff88;
	text-shadow: 0 0 2px #00ff88;
}

.illustration {
	width: 100%;
	max-width: 600px;
	min-width: 200px;
}

.cadre {
	width: 100%;
	height: auto;
}

@keyframes pulseGlow {
  0% { filter: brightness(0)    drop-shadow(0 0 2px #00ff88); }
  100% { filter: brightness(0)    drop-shadow(0 0 15px #00ff88); }
}

a {
	color: inherit;
	text-decoration: none;
	font-size: inherit;
	font-weight: inherit;
	padding: 0;
	margin: 0;
	border: none;
	transition: none;
}


.profil {
	width: 80%;
	z-index: 1;
	opacity: 1;
    	animation: pulseGlow 5s linear;
	animation-iteration-count: 1;
	filter: brightness(0) drop-shadow(0 0 15px #00ff88);
}

.banner {
	margin-top: 5em;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5em;
	flex-wrap: wrap;
}

.header-background {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 80%;
	background: url('img/background.png') center/cover repeat; /* ton image ou motif ici */
	filter: blur(10px); /* flou visuel */
	z-index: -1; /* derrière le contenu */
	opacity: 0.2;
	animation: bgMove 30s linear infinite;
}

@keyframes bgMove {
	0%   { background-position: 0 0; }
	100% { background-position: 0 1000px; }
}

.text {
	margin-top: 10em;
	text-align: left;
	height: 17em;
}

header {
	margin: 20px;
	display: flex;
	list-style: none;
}


li:hover {
	text-decoration: underline;
}

h1
{
	font-size: 25px;
}


.projets_display {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.projet {
	border: 2px solid #00ff88;
	border-radius: 8px;
	max-width: 30em;
	display: flex;
	flex-direction: column;
	align-items: center; 
}

.projet:hover {
	box-shadow:
			0 0 2px #00ff88,
			0 0 7px #00ff88,
			0 0 18px #00ff88;  	
}

.projet > * {
  margin: 10px;
}

.picture {
	height: 150px;
}


.button {
	transition: opacity 1s ease;
	background-color: none;
	border: solid;
	width: 40%;
	margin: auto;
	margin-top: auto;
	margin-bottom: 10px;
}

.secondln {
	font-size: 35px;
	font-weight: bold;
}


.thirdln {
	font-size: 25px;
}

@keyframes colorChange {
  0%   { 	
			box-shadow:
			0 0 0px #00ff88,
			0 0 0px #00ff88,
			0 0 0px #00ff88;
			border-color: #00ff88;
			
		}
  50%   { 	
			box-shadow:
			0 0 2px #00ff88,
			0 0 7px #00ff88,
			0 0 18px #00ff88;  
		  border-color: #00ff88;
			
		}
  100% { box-shadow:
			0 0 0px #00ff88,
			0 0 0px #00ff88,
			0 0 0px #00ff88;
			border-color: #00ff88;
		}
}

.formation {
	border: solid;
	width: 50%;
	margin: auto;
	margin-top: 40px;
	background-color: rgba(255,255,255,0.1);
	border-radius: 10px;
	animation: colorChange 2s infinite ease-out;
}

.trait {
  border: none;
  height: 2px;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  width: 90%;
  margin-top: 200px;	
}

html {
	scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.experiences_display {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.experience > * {
  margin: 8px;
}

.experience {
	border: 2px solid #00ff88;
	border-radius: 8px;
	display: flex;
	width: 50%;
	flex-direction: column;
	align-items: center; 
}

.experiences {
	margin-bottom: 100px;
}

.experience:hover {
		box-shadow:
			0 0 2px #00ff88,
			0 0 7px #00ff88,
			0 0 18px #00ff88;  
}

.experience:hover .button {
	opacity: 1; 
}

.copyright {
	padding-bottom: 30px;
}

footer::before
{
	pointer-events: none;
    content: "";
    position: absolute;
    inset: 0;
	background: url('img/background.png') center/cover repeat;
	opacity: 0.2;
	animation: bgMove 30s linear infinite;
	filter: blur(10px);
	z-index: -1;
	opacity: 0.3;
}

footer {
	margin-top: 50px;
	position: relative;
	padding-top: 200px;
	width: 100%;
}


.presentation {
	display: flex;
	justify-content: space-between;
	width: 75%;
	margin-left: auto;
	margin-right: auto;
	flex-wrap: wrap;
}

.presentation > * {
	width: 50%;
}

.progress-bar {
	margin: auto;
	width: 100%;
	max-width: 300px;
	height: 20px;
	background-color: #222;
	border: 1px solid #00ff88;
	border-radius: 10px;
	overflow: hidden;
}


.progress {
	height: 100%;
	background: linear-gradient(90deg, #00ff88, #00cc66);
	width: 0;
	transition: width 1s ease;
}

select {
  	background: black;
	border: 3px solid #00ff88;
	width: 50%;
  	color: #00ff88;
	font-family: 'Orbitron', sans-serif;
}

select,
select::picker(select) {
  appearance: base-select;
}

select::picker-icon {
  color: #00ff88;
  transition: 0.4s rotate;
}

select:open::picker-icon {
  rotate: 180deg;
}

.about p {
	text-align: start;
	padding-left: 25px;
	padding-right: 25px;
}

section {
	margin-top: 100px;
	opacity: 0;
	transform: translateX(100px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.active {
	opacity: 1;
	transform: translateX(0);
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #00ff88;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn {
	width: 180px;
	margin: 5px;
	border: 2px solid #00ff88;
	border-radius: 20px;
	background-color: rgba(0,0,0,0);
	padding-left: 20px;
	padding-right: 20px;
	font-size: 20px;
	color: #00ff88;
	margin-bottom: 20px;
	cursor: pointer;
}

.contact-btn:hover {
	border: 2px solid #00ff88;
	border-radius: 20px;
	background-color: #00ff88;
	padding-left: 20px;
	padding-right: 20px;
	font-size: 20px;
	color: rgba(255,255,255,1);
}

.contact-link:hover {
	text-decoration: underline;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}

#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
}

#burger {
  display: none;
  font-size: 2em;
  background: none;
  border: none;
  color: #00ff88;
  cursor: pointer;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 20px;
}

nav {
  margin-left: auto;
}

nav ul a {
	text-decoration: none;
	color: inherit;
}

.contact-modal.open {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	z-index: 1000;
}

.panel {
	display: none;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	background: #0d0d0d;
	color: #00ff88;
	padding: 20px;
	border: 2px solid #00ff88;
	box-shadow: 0 0 20px #00ff88;
	opacity: 1;
	transition: transform 0.3s ease, opacity 0.3s ease;
	z-index: 1001;
	border-radius: 8px;
}

.projet-div {
	width: 100%;
	margin-bottom: 100px;
}

.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px auto;
  margin-top: 50px;
  max-width: 90%;
}

.gallery-container img {
  max-width: 800px;
  width: 100%;
  border: 2px solid #00ff88;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff88;
  transition: opacity 0.4s ease;
}

.gallery-btn {
  background: none;
  border: 2px solid #00ff88;
  color: #00ff88;
  font-size: 24px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 50px;
}

.gallery-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px #00ff88;
}

.text-container p {
	margin: auto;
	text-align: left;
	width: 50%;
}


.text-container  {
	margin-top: 50px;
}


@media screen and (max-width: 430px) {
	html, body {
	  #padding-left: 10px;
	  #padding-right: 10px;
	  height: 100%;
	}
	
	nav {
		position: absolute;
		top: 70px;
		right: 0;
		background-color: #0d0d0d;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
		z-index: 999;
		opacity: 0.8
	}

	nav.open {
		max-height: 280px; /* Ajuste selon le nombre de liens */
	}

	nav ul {
		flex-direction: column;
		align-items: center;
	}

	#burger {
		margin-left: auto;
		display: block;
	}
 
	.presentation {
		display: flex;
		justify-content: space-between;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		flex-wrap: wrap;
	}
	
	select {
		border: 3px solid #00ff88;
		width: 100%;
	}
	
	.header-background {
		content: "";
		position: absolute;
		top: 0; left: 0;
		width: 100%;
		height: 200%;
		background: url('img/background.png') center/cover repeat; /* ton image ou motif ici */
		filter: blur(10px); /* flou visuel */
		z-index: -1; /* derrière le contenu */
		opacity: 0.2;
		animation: bgMove 30s linear infinite;
	}
	
	.logo2 {
		font-family: 'Orbitron', sans-serif;
		font-size: 50px;
		text-shadow: 0 0 5px #00ff88, 0 0 2px #00ff88;
		text-align: center;
		text-decoration: none;
		color: inherit;
	}

	.secondln {
		font-size: 35px;
		font-weight: bold;
		text-align: center;
	}

	.thirdln {
		font-size: 25px;
		text-align: center;
	}
	
	.experience {
		border: 2px solid #00ff88;
		border-radius: 8px;
		display: flex;
		width: 100%;
		flex-direction: column;
		align-items: center; 
	}
	
	.gallery-container {
		  display: flex;
		  justify-content: center;
		  align-items: center;
		  gap: 20px;
		  margin: 30px auto;
		  margin-top: 50px;
		  max-width: 70%;
	}

}


