/* style.css */

/* Styles de base */
body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

/* Main container using flexbox to position aside and content-container side-by-side */
.main-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
}

/* Content container for profile and posts */
.content-container {
    flex: 3 1 70%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Section Amis with aside to position it on the side */
.friends-section {
    flex: 1 1 25%;
    max-width: 300px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Amis with Grid */
.friends-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.friend {
    text-align: center;
}

.friend img {
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-container img {
    border-radius: 50%;
}

.profile-details h3 {
    margin: 0;
    font-size: 1.5em;
}

.profile-details p {
    color: #777;
}

/* Section Publications */
.posts-section .post, .profile-container {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.post-header img {
    border-radius: 50%;
}

.post-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.post-date {
    font-size: 0.8em;
    color: #888;
    margin-left: auto;
}

.post-content {
    color: #333;
    margin-bottom: 10px;
}

.post img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
