/* Style global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background-color: #e0f7e4;
}

/* Barre de navigation */
#MainTop {
    background: rgba(0,121,107,0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
}

#MainTop nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}

#MainTop nav a {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    background: #004d40;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

#MainTop nav a:hover {
    background: #ffffff;
    color: #00796b;
    transform: scale(1.05);
}
/* Contenu principal */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Section de présentation du projet */
.project-intro {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.project-intro h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.project-intro p {
    font-size: 1rem;
    color: #555;
}

/* Informations du projet */
.project-info {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.project-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.project-info p {
    font-size: 1rem;
    color: #555;
}

.status {
    color: #28a745;
    font-weight: bold;
}

/* Documents et annexes */
.documents-section {
    margin-top: 2rem;
}

.documents-section h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.documents-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.document-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: calc(50% - 0.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.document-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.document-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.document-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Boutons */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s;
}

.view {
    background-color: #007bff;
}

.download {
    background-color: #28a745;
}

.view:hover {
    background-color: #0056b3;
}

.download:hover {
    background-color: #218838;
}

footer {
    background-color: #0a3d2e;
    padding: 1rem;
    text-align: center;
    color: #aaa;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem; /* Ajuste l'espacement entre les éléments */
    font-size: 0.9rem;
}

.footer-content a {
    color: #aaa;
    text-decoration: none;
}

.footer-content a:hover {
    color: #fff;
}

.footer-content img {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Pour rendre l'image circulaire */
    margin-left: 1rem; /* Ajuste l'espacement entre l'avatar et le texte */
}

.footer-content span {
    color: #aaa;
    font-size: 0.9rem;
    margin-left: 1rem;
}

