
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fc;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #1e40af;
}

header h1 {
    font-size: 36px;
    margin: 10px 0;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1e40af;
}

main {
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.posts {
    margin-bottom: 40px;
}

.posts h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.post {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post:hover {
    transform: scale(1.03);
}

.post h3 {
    font-size: 26px;
    color: #1e40af;
}

.post p {
    font-size: 18px;
    margin-top: 10px;
    color: #666;
}

button {
    background-color: #1e40af;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3b82f6;
}

.post-form {
    display: none;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.post-form input,
.post-form textarea {
    width: 100%;
    margin: 15px 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1e40af;
    color: white;
    margin-top: 50px;
}
