body {
    background-color: #fdf6e3;
    font-family: 'Merriweather', serif;
    margin: 0;
    padding: 0;
    color: #3e2c1c;
}

.bienvenue {
    background-color: #f3e9d2;
    border: 1px solid #c8a878;
    color: #3e2c1c;
    padding: 12px 24px;
    margin: 30px auto;
    width: fit-content;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(100, 85, 60, 0.1);
    font-size: 19px;
    font-style: italic;
    font-family: 'Georgia', serif;
}

h2 {
    text-align: center;
    margin-top: 40px;
    color: #5b4636;
    font-size: 50px;
}

button {
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    border: none;
    background-color: #c8a878;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s;
    align-items: center;
}

button:hover {
    background-color: #a3876a;
}

header {
    width: 100%;
    background-color: #f3e9d2;
    border-bottom: 1px solid #c8a878;
}

.menu {
    text-align: center;
}

.menu ul {
    padding: 20px;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.menu ul a {
    padding: 10px 18px;
    text-decoration: none;
    color: #3e2c1c;
    background-color: transparent;
    border-radius: 10px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.menu ul a:hover {
    background-color: #e7d4b5;
}

footer {
    width: 100%;
    background-color: #f3e9d2;
    border-top: 1px solid #c8a878;
    margin-top: 60px;
    padding-bottom: 20px;
}

.bibli {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 90%;
    margin: 20px auto;
}

.livre {
    background-color: #e0c9a6;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(100, 85, 60, 0.1);
    transition: transform 0.3s;
}

.livre:hover {
    transform: scale(1.02);
}

.titre {
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.description {
    display: none;
    margin-top: 10px;
}

.avis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    width: 90%;
    margin: 20px auto 60px;
}

.zoomLB {
    background-color: #dbc3b3;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(100, 85, 60, 0.1);
    transition: transform 0.3s;
}

.zoomLB:hover {
    transform: scale(1.02);
}

.zoomLB p {
    margin: 8px 0;
}

.zoomLB a {
    text-decoration: none;
    color: #3e2c1c;
}

#zone {
    text-align: center;
    margin: 20px auto;
    font-style: italic;
    font-size: 18px;
}

body.page-connexion {
    background-color: #fef6e4;
    font-family: 'Merriweather', serif;
    color: #4b3f2f;
    padding: 40px;
}

h1.titre-page {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #6c584c;
}

.form-connexion {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff4e6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(75, 63, 47, 0.1);
}

.form-connexion label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-connexion input[type="text"],
.form-connexion input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8c3a5;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #fffaf2;
}

input.btn {
    background-color: #a68f6b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input.btn:hover {
    background-color: #8c7853;
}

.message-erreur {
    text-align: center;
    color: #c0392b;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-avis {
    max-width: 500px;
    margin: 40px auto;
    background-color: #fff4e6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(75, 63, 47, 0.1);
    color: #3e2c1c;
}

.form-avis label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}

.form-avis input[type="number"],
.form-avis select,
.form-avis textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8c3a5;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #fffaf2;
    font-family: 'Merriweather', serif;
    font-size: 16px;
}

.form-avis textarea {
    resize: vertical;
    min-height: 80px;
}

.form-inscription {
    max-width: 500px;
    margin: 40px auto;
    background-color: #fff4e6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(75, 63, 47, 0.1);
    color: #3e2c1c;
}

.form-inscription label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}

.form-inscription input[type="text"],
.form-inscription input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8c3a5;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #fffaf2;
    font-family: 'Merriweather', serif;
    font-size: 16px;
}

.form-modifier {
    max-width: 500px;
    margin: 40px auto;
    background-color: #fff4e6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(75, 63, 47, 0.1);
    color: #3e2c1c;
}

.form-modifier label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}

.form-modifier input[type="number"],
.form-modifier textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8c3a5;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #fffaf2;
    font-family: 'Merriweather', serif;
    font-size: 16px;
    resize: vertical;
}

