/* reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fdfdfd;
    color: #333;
}

/* barra de navegación */
.navbar {
    background-color: #333;
    padding: 16px;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* contenedor principal */
.container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
    gap: 24px;
}

/* tarjeta de perfil */
.profile-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 300px;
    background-color: white;
    border: 2px solid #3f3f3f;
    padding: 16px;
    margin-top: 42px;
    text-align: center;
    border-radius: 8px;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.profile-card h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.profile-btn {
    background-color: #2b9dc0;
    color: white;
    border: none;
    padding: 6px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

/* area de publicaciones */

.posts-section h2 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.post {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background-color: #f4f4f4;
    border: 2px solid #3f3f3f;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
}

.post h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.post p {
    margin-bottom: 12px;
    color: #444;
}

post a {
    color: #6d48dc;
    text-decoration: none;
}

.post-likes {
    min-width: 126px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.like-btn {
    background-color: #ffd06b;
    padding: 2px 12px;
    margin-left: 4px;
    border: 0;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    .post-likes {
        flex-direction: column;
    }
}
