/* Styles de base */
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', sans-serif;
	background-color: #ffffff;
	color: #2c2c2c;
}

.page-container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}


/* Barre de navigation */
.navbar {
	background-color: #333333;
	padding: 10px 20px;
}

.navbar ul{
	list-style-type: none;
}

.nav-links {
	display: flex;
	gap: 20px;
	align-items: center;
	margin: 0;
	padding: 0;
}

.nav-links li a {
	color: #ffffff;
	text-decoration: none;
	padding: 10px 15px;
	display: block;
	border-radius: 6px;
	transition: background 0.3s;
	font-weight: 500;
}

.nav-links li a:hover {
	background-color: #777777;
}

/* Dropdown */
.dropdown {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	min-width: 180px;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	padding: 0;
	z-index: 1000;
}

.dropdown-menu li a {
	color: #333333;
	padding: 10px 15px;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu li:last-child a {
	border-bottom: none;
}

.dropdown-menu li a:hover {
	background-color: #f5f5f5;
}


.titre {
	color: #FFC000;
	text-align: center;
	margin-top: 40px;
	font-size: 2.8rem;
	font-weight: 700;
}

.container {
	padding: 60px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

.expli-compe {
	border: 1px solid #ddd;
	padding: 25px;
	border-radius: 15px;
	width: 85%;
	color: #444;
	background: #f9f9f9;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.container_projet {
	margin-top: 200px;
	border: 1px solid #ddd;
	padding: 25px;
	border-radius: 15px;
	width: 85%;
	color: #444;
	background: #f9f9f9;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.projet {
	display: grid;
	gap: 10px;
	justify-items: center;
	align-items: center;
}

@media (min-width: 0px) {
	.projet {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (min-width: 700px) {
	.projet {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.projet {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1400px) {
	.projet {
		grid-template-columns: repeat(4, 1fr);
	}
}

.project-card {
	max-width: 400px;
	padding: 20px;
	margin: 20px auto;
	background-color: #f9f9f9;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	font-family: 'Inter', sans-serif;
	text-align: center;
}

.project-title {
	font-size: 24px;
	margin-bottom: 10px;
	color: #333;
}

.project-description {
	font-size: 16px;
	color: #555;
	margin-bottom: 15px;
}

.project-link {
	display: inline-block;
	padding: 10px 16px;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s;
}

.project-link:hover {
	background-color: #0056b3;
}

.container {
	padding: 60px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	flex: 1;
}


/* Footer */
footer {
	background-color: #333333;
	text-align: center;
	padding: 1rem 0;
	width: 100%;
	margin-top: auto;
}

footer h2 {
	margin: 0 0 10px;
	font-size: 1.3rem;
	color: #ffffff;
}

.bottom_line {
	width: 100px;
	margin: 0 auto 1rem;
	border: none;
	height: 2px;
	background: #fff;
}

.contact {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

footer img {
	width: 32px;
	height: auto;
	filter: brightness(0) invert(1);
	transition: transform 0.2s ease;
}

footer img:hover {
	transform: scale(1.1);
}

/*-------Animation---------*/

.area {
	background: linear-gradient(to left, #fff8e1, #fffef5);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
}

.circles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.circles li {
	position: absolute;
	display: block;
	list-style: none;
	width: 20px;
	height: 20px;
	background: rgba(255, 192, 0, 0.5);
	animation: animate 25s linear infinite;
	bottom: -150px;
}

.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

/*background animation*/
@keyframes animate {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
		border-radius: 0;
	}
	100% {
		transform: translateY(-1000px) rotate(720deg);
		opacity: 0;
		border-radius: 50%;
	}
}
