/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

header {
    background-color: #4267b2;
    padding: 15px 30px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

header .nav-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

header .nav-links a:hover {
    text-decoration: underline;
}

.profile-header {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
    position: relative;
}

.cover-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.profile-picture {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 5px solid white;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-details h1 {
    font-size: 2rem;
    margin-top: 20px;
}

.profile-details p {
    color: #555;
    margin-top: 5px;
}

.profile-content {
    display: flex;
    margin-top: 30px;
}

.profile-left {
    width: 25%;
    margin-right: 30px;
}

.friends-list {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.friends-list h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.friends-list ul {
    list-style: none;
    padding: 0;
}

.friends-list ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.friends-list ul li img {
    border-radius: 50%;
    margin-right: 10px;
}

.profile-right {
    width: 70%;
}

.timeline {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.post {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-profile {
    display: flex;
    align-items: center;
}

.post-profile img {
    border-radius: 50%;
    margin-right: 10px;
}

.post-content {
    margin-top: 10px;
}

.post-image {
    width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
    object-fit: cover;
}

.post-actions {
    margin-top: 10px;
}

.post-actions button {
    background-color: #4267b2;
    color: white;
    border: none;
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.post-actions button:hover {
    background-color: #365899;
}

footer {
    background-color: #4267b2;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
