@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');

.slide-title {
    font-family: Comfortaa;
    font-style: normal;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    color: #C04F50;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
  

/* Slideshow container */
.slideshow-container {
    max-width: 80%;
    position: relative;
    margin: auto;
}
  
/* Hide the images by default */
.mySlides {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.mySlides img{
    width: 55%;
}
  
/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #C04F50;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
}
  
.prev {
    left: 15%;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 15%;
    border-radius: 3px 0 0 3px;
}
  
.prev:hover, .next:hover {
    background-color: #c46567cc;
    color: #fafafa;
}
  
/* Caption text */
.caption-text {
    color: #C04F50;
    font-family: 'Source Code Pro';
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}
  
/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    margin-bottom: 2rem;
    background-color: #e4aeaf;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
  
.active, .dot:hover {
    background-color: #C04F50;
}
  
/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
  
@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
  
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@media (max-width: 740px) {
    .mySlides img{
        width: 100%;
    }

    .slideshow-container {
        max-width: 100%;
    }

    .mySlides {
        width: 80%;
        margin: auto;
    }

    .prev, .next {
        padding: 10px;
    }

    .prev {
        left: 0;
    }
    .next {
        right: 0;
    }
}