@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4a7c59;
    color: #f9f9f9;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: center;
    background-color: #6a9f78;
    padding: 10px 0;
}

nav a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #88b89b;
}

section {
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background-color: #4a7c59;
    color: #f9f9f9;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Form styles */
form {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

input, textarea, button {
    width: calc(100% - 24px);
    padding: 12px;
    margin: 8px 0;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

textarea {
    height: 120px;
    resize: vertical;
}

input:focus, textarea:focus, button:focus {
    border-color: #ff8787;
    outline: none;
}

button {
    background-color: #4a7c59;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #6a9f78;
}

/* Article styles */
#article-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.article-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s;
    width: calc(50% - 40px);
}

.article-container:hover {
    transform: translateY(-10px);
}

@media screen and (min-width: 768px) {
    .article-container {
        width: calc(33% - 40px);
    }
}

/* Typography */
h1, h2, h3 {
    color: #2d3748;
}

p {
    color: #4a5568;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav a {
        margin-bottom: 5px;
    }
}
