* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fafafa;
    color: #222;
}

header {
    background: #fff;
    border-bottom: 2px solid #ddd;
}

nav {
    max-width: 700px;
    margin: 0 auto;
    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

nav a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

.feed {
    max-width: 700px;
    margin: 24px auto;
    padding: 0 16px;
}

.posts {
    background: #fff;
    border: 2px solid #ddd;
    margin-bottom: 24px;
    border-radius: 5px;
}

.posts-header {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;

    display: flex;
    align-items: center;
    gap: 10px;
}

.posts-header a:last-child {
    margin-left: auto;
    font-size: 13px;
    color: #777;
    font-weight: normal;
    text-decoration: none;
}

.posts-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
}

.posts-header a {
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

.posts-img img {
    width: 100%;
    display: block;
}

.likes {
    margin: 10px 12px 0;
    font-size: 14px;
}

.comments {
    margin: 10px 12px 0;
}

.comments p {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.comments a {
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.profile {
    max-width: 700px;
    margin: 4px auto 0;
    padding: 0 16px;
}

.profile h3 {
    margin: 30px 0 12px;
    font-size: 44px;
    font-weight: 700;
}

.personal-info {
    margin: 0 0 18px;
    font-size: 18px;
}

.personal-info a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    margin-left: 12px;
}

.name {
    margin: 0 0 28px;
    font-size: 22px;
}

.images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.images img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}