* {
  box-sizing: border-box;
}



.mySlides {
  display: block;
  width: 100%;
}

img {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  /* max-width: 1000px; */
  padding-top: 200px;
  position: relative;
  margin: auto;
  display: flex;
  background-color: #fafafa;
  justify-content: center;
  align-items: flex-end;

  /*background: black;/
}

/* 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;
  }

  .mySlides img {

    height: 588px;
    width: 100%;
    object-fit: cover;
    transition: opacity 1s;
  }

  /* The dots/bullets/indicators */
  .slideshow-container:hover>.dotholder {
    opacity: 1;
  }

  .dotholder {
    opacity: 0.1;
    position: absolute;
    bottom: 1%;
    transition: opacity 1s;
  }

  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
  }

  .active {
    background-color: #717171;
  }

  /* Fading animation */
  .fade {
    /*  animation-name: fade;
  animation-duration: 1.5s;*/
    animation: fadein 1.5s
  }

  @keyframes fadein {
    0% {
      opacity: 0%
    }

    100% {
      opacity: 100%
    }

    /*  from {opacity: .4} 
  to {opacity: 1}*/
  }

  /* On smaller screens, decrease text size */
  @media only screen and (max-width: 300px) {
    .text {
      font-size: 11px
    }
  }