body {
    font-family: sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    width: 95%;
    margin: 0 auto;
    padding: 2rem;
    background: white;
}

.container h2 {
    position: relative;
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 11.5rem;
    height: 0.2rem;
    background: linear-gradient(to right, #000000, #ffffff, #000000);
    border-radius: 2px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 2.8rem;
    font-family: 'Anton', sans-serif;
    font-weight: lighter;
    letter-spacing: 0.1rem;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.logo:hover {
    color: #000000;
    text-shadow: 1px 1px 1px rgb(39, 0, 0);
    transform: scale(1.01);
}

.posts {
    margin-top: 2rem;
}

.post {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border: 1px groove #d6d6d6;
    padding: 0.5rem;
}

.post-info {
    flex: 1;
    margin-right: 1rem;
}

.post h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    line-height: 1.4;
    color: #222;
    letter-spacing: 0.5px;
}

.post p {
    margin: 0.75rem 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.015rem;
}

.post img {
    width: 450px;
    height: 270px;
    object-fit: cover;
    border-radius: 8px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.signup-btn {
    background-color: #4CAF50;
}

.login-btn {
    background-color: #008CBA;
}

.btn:hover {
    opacity: 0.8;
}
