body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #2c2c54;
    color: white;
    text-align: center;
    padding: 20px;
}

nav {
    background-color: #40407a;
    text-align: center;
    padding: 10px;
}

nav a {
    color: white;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 20px;
}

.roman {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.email {
    display: inline-block;
    padding: 10px 15px;
    background-color: #2c2c54;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

footer {
    background-color: #2c2c54;
    color: white;
    text-align: center;
    padding: 10px;
}
#apropos {
    background-color: #ffffff;
    border-radius: 8px;
    margin: 20px;
}

#contact {
    background-color: #eaeaea;
    border-radius: 8px;
    margin: 20px;
}
.doc {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}
form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}
form button {
    background-color: #2c2c54;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
}
.fade-in {
    animation: fade 1.5s ease-in;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

#menu.ouvert {
    max-height: 300px;
}
.cache {
    display: block; /* important ici */
}
#menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

#menu.ouvert {
    max-height: 300px;
}
