#news-section,
#updates-section {
    margin-top: 120px;
}

#news-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-post {
    border: 1px solid #415b70;
    padding: 15px;
    border-radius: 5px;
    background-color: #444;
    cursor: pointer;
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.news-post.visible {
    transform: translateY(0);
    opacity: 1;
}

.news-post h3 {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.news-post h3::after {
    content: '▼';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.news-post.active h3::after {
    transform: rotate(180deg);
}

.news-post p {
    margin: 10px 0 0 0;
    display: none;
    color: #ddd;
}

.news-post img {
    display: none;
    width: 20%; /* Adjust the width to make the images smaller */
    margin-top: 10px;
}

.news-post a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.news-post a:hover {
    text-decoration: underline;
}

.news-post.active p,
.news-post.active img,
.news-post.active a {
    display: block;
}

#subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

#subscribe-form label {
    color: #fff;
}

#subscribe-form input[type="email"] {
    padding: 10px;
    border: 1px solid #415b70;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

#subscribe-form button {
    padding: 10px;
    background-color: #415b70;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#subscribe-form button:hover {
    background-color: #577a91;
}
