/* Reset de base pour supprimer les marges et les paddings par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles généraux du corps de la page */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

/* Styles pour la barre de navigation */
nav {
    background-color: #333;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ddd;
}

/* Styles pour les titres */
h1, h2 {
    margin-bottom: 20px;
    color: #444;
    text-align: center;
}

/* Container général pour les contenus */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Styles spécifiques pour l'accueil */
.welcome-section {
    text-align: center;
    margin-top: 50px;
}
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cap-sections {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cap-block {
    width: 48%;
}

.cap-link {
    text-decoration: none;
}

.cap-box {
    background-color: #8B4513; /* Couleur bois */
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.cap-box h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.cap-box p {
    font-size: 16px;
}

.cap-box:hover {
    transform: scale(1.05);
}

.cap-image {
    margin-top: 15px;
    text-align: center;
}

.cap-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.welcome-section img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Styles pour les boutons CAP */
.cap-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cap-buttons a {
    display: inline-block;
    background-color: #8B4513;
    color: white;
    padding: 15px 30px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cap-buttons a:hover {
    background-color: #A0522D;
}

/* Styles pour le formulaire de connexion */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.login-container input[type="email"],
.login-container input[type="password"],
.login-container input[type="text"] {
    width: 200%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container input[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.login-container input[type="submit"]:hover {
    background-color: #555;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    background-color: #333;
    color: white;
    position: fixed;
    width: 100%;
    bottom: 0;
}
