.announements {
    text-align: center;
}

.posts {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}

.post {
    display: none;
}

.post.active{
    display: block;
}

.post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(58, 58, 58, 0.8); 
}
.welcome {
  text-align: center;
  animation: fadeIn 1s ease-in-out infinite alternate;
}
@keyframes fadeIn {
  from {opacity: 0.3;}
  to {opacity: 1;}
}