/* Styles globaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    background: url('background-texture.jpg') #f4e8c1;
    background-size: cover;
    color: #4b2c1f;
    line-height: 1.6;
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #b89d72;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* En-tête */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5em;
    color: #6b4e32;
    text-shadow: 2px 2px #fff;
    border-bottom: 3px solid #b89d72;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Section principale */
.main-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.character-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.image-wrapper {
    max-width: 400px;
    border: 5px solid #b89d72;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
    width: 100%;
    display: block;
}

.description {
    margin-top: 15px;
    font-size: 1.1em;
    color: #4b2c1f;
    padding: 10px;
    background: #f9f4e8;
    border-radius: 8px;
    border: 1px solid #e0d4ba;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    max-width: 600px;
}

/* Pied de page */
.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #6b4e32;
    padding-top: 10px;
    border-top: 1px solid #d4c4a5;
}

.footer p {
    margin-top: 5px;
}

/* Responsive */
@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
    }
    .character-section {
        flex-direction: row;
    }
    .description {
        text-align: left;
        margin-left: 20px;
    }
}
