body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content2 {
    flex: 1;
    margin: 100px 12vw 0px 8vw;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-content2 h1 {
    font-size: 2.2rem;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.main-content2 h2 {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 1000;
    margin-top: 2vh;
    margin-bottom: 5vh;
    font-family: 'Montserrat', sans-serif;
}

.main-content2 h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 60px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

#footer-placeholder {
    background-color: #2C3E50;
    height: 80px;
    margin-top: 60px;
}

.slider-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 50%; /* Changed from 33.33% to 50% to display 2 images per view */
    box-sizing: border-box;
    padding: 10px;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

.description {
    font-size: 1rem;
    margin-top: 5px;
    text-align: left;
}

.navigation {
    position: relative;
    top: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.prev, .next {
    background-color: transparent;
    color: #2C3E50;
    padding: 10px;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    position: absolute;
    bottom: -10vh;
    transform: translateY(-500%);
    z-index: 10;
}

.prev {
    left: 6.66%;
}

.next {
    right: 6.66%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content2 {
    opacity: 0;
    animation: fadeIn 1.2s ease-in-out forwards;
}

@media (max-width: 968px) {
    .description {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .main-content2 h1 {
        font-size: 2rem;
    }
}
