/* Slideshow container */
.slideshow-container {
    width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mySlides {
    background-color: #717171;
    width: 100%;
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active {
    background-color: #717171;
  }
  .slideshow-container .mySlides img {
    width: 100%;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  .bg-slide {
    background-image: linear-gradient(to right, rgba(45,85,225,.7), rgba(0,0,0,0));
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
  }
  
  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 600px) {
    .text {font-size: 11px}
    .slideshow-container {
        width: 100%;
        position: relative;
        margin: auto;
        overflow: hidden;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

    .slideshow-container .mySlides img {
        width: 100%;
        /* height: 200px; */
      }
  }