/* Configuration de base */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #2c2c2c;
}

/* 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;
    list-style-type: none;
}

.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;
}

/* Menu déroulant */
.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;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a:hover {
	background-color: #f5f5f5;
}

/* Contenu principal */
.titre {
    color: #B00000;
    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;
}

/* Cartes et sections */
.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);
}

.projet {
    display: grid;
    gap: 10px;
    justify-items: center;
    align-items: center;
}

/* Responsive design */
@media (min-width: 700px) {
    .projet {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Cartes de projet */
.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);
    text-align: center;
}

.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;
}

/* Pied de page */
footer {
    background-color: #333333;
    text-align: center;
    padding: 1rem 0;
    margin-top: 4rem;
}

footer h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #ffffff;
}

.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);
}

.bottom_line {
	width: 100px;
	margin: 0 auto 1rem;
	border: none;
	height: 2px;
	background: #fff;
}

/* Animation de fond */
.area {
    background: linear-gradient(to left, #FFCDD2, #FFEBEE);
    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(176, 0, 0, 0.5);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

/* Animation des cercles */
@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}