/* styles.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eaeaea;
    transition: background-color 0.5s ease;
}

header {
    background-color: #2c3e50;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-around;
    background-color: #3498db;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav a {
    color: #ffffff;
    padding: 12px 20px;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2c3e50;
}

section {
    padding: 40px;
    text-align: justify;
}

footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

form {
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 10px;
    background-color: #ffffff;
}

label {
    display: block;
    margin-bottom: 15px;
    color: #2c3e50;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 2px solid #3498db;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #2c3e50;
}

button {
    background-color: #3498db;
    color: #ffffff;
    padding: 15px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2c3e50;
}

.thanks-message {
    display: none;
    color: #27ae60;
    font-weight: bold;
    margin-top: 15px;
    transition: opacity 0.5s ease;
}

.show-thanks-message {
    display: block;
}

article {
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 30px;
}

h2 {
    color: #2c3e50;
}

p {
    color: #34495e;
}

#article-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.article-container {
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #3498db;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    padding: 30px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

@media screen and (min-width: 768px) {
    .article-container {
        width: 48%;
    }
}

.article-container:hover {
    transform: scale(1.05);
}

.article-container h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.article-container p {
    color: #34495e;
    font-size: 1.4em;
}
