body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('fond/fond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2e7d32;
    color: #ffffff;
    padding: 15px;
    position: relative;
    opacity: 94%;
}

header .logo {
    display: flex;
    align-items: center;
    opacity: 94%;
    transform: translate(50px, -20px);
}

header .logo img {
    width: 50px;
    margin-right: 10px;
}

.menu-container {
    position: absolute;
    bottom: 60%; 
    left: 15px;
}

header .menu-container .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

header .menu-container .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
}

.sidebar {
    width: 200px;
    position: absolute;
    top: 100px;
    left: 0;
    height: calc(100vh - 60px);
    display: none;
    z-index: 1;
    overflow-y: auto;
    opacity: 94%;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 20px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
}

main {
    margin-left: 220px;
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    max-height: 88vh;
    width: calc(100% - 285px);
    border-radius: 7px;
    overflow-x: hidden;
}

.messages {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: calc(100vh - 60px);
    opacity: 80%;
    overflow-x: hidden; 
    border: 3px solid #000000;
}

.message {
    margin-bottom: 1px; /* Réduire la marge entre les messages */
    padding: 10px 15px; /* Ajuster le padding pour réduire l'espace à l'intérieur */
    background-color: #9d9d9d; /* Garder la couleur de fond */
    border: 2px solid #000000; /* Bordure légère autour des messages */
    border-radius: 4px; /* Coins légèrement arrondis */
    display: flex;
    align-items: center; /* Alignement vertical si tu as des éléments comme des checkboxes */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Légère ombre pour un effet de profondeur */
    width: 99%;

}

.message-checkbox {
    transform: scale(2); /* Agrandir la checkbox */
    -webkit-transform: scale(2); /* Compatibilité avec les anciens navigateurs WebKit */
    -moz-transform: scale(2); /* Compatibilité avec les anciens navigateurs Mozilla */
    margin-right: 10px; /* Maintenir un espacement entre la checkbox et le texte */
    position: relative;
}

.messages-title {
    border: 3px solid #000000; /* Bordure noire de 2px */
    border-radius: 8px; /* Border-radius pour arrondir les coins */
    padding: 10px; /* Espace intérieur pour le titre */
    background-color: #9d9d9d; /* Facultatif : couleur de fond */
    margin-bottom: 15px; /* Espacement en bas pour séparer du contenu */
    right: 100%;
}

.title {
    border-bottom: 3px solid black; /* Ajoute une bordure en bas */
    padding-bottom: 0;
    padding: 5px;
    width: 110%;
    margin-bottom: 1px;
    box-sizing: border-box; 
}


.messages {
    padding: 0; /* Enlève le padding interne */
    margin: 0;  /* Enlève les marges externes */
}
