* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.container {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form input,
.form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form textarea {
    resize: none;
    height: 100px;
}

.form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
}

.form button:hover {
    background-color: #0056b3;
}

.posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fafafa;
}

.post h3 {
    margin-bottom: 8px;
    color: #222;
}

.post p {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.post button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.post button:hover {
    background-color: #b52a37;
}
