@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.flex-container {
    display: flex;
    justify-content: space-between;
    margin: 1.25rem;
}

.contentslideshow {
    width: 50%;
    padding-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: left; 
    font-size: 1.1rem; 
    line-height: 1.5; 
}

.slideshow-container {
    width: 50%; 
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.fade {
    animation: fade 1.5s infinite;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}

.dot:hover {
    background-color: #717171;
}

.mySlides img {
    width: 100%; 
    height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .flex-container {
        flex-direction: column;
    }
    
    .slideshow-container, .contentslideshow {
        width: 100%;
    }
    
    .contentslideshow {
        padding: 0 1rem 1.5rem 1rem;
    }
    
    .mySlides img {
        max-height: 250px;
    }
}
