* {box-sizing:border-box}

.slideshow-container {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: -100vh;
  left: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.6s;
  -webkit-transition: 0.6s;
}

.slideshow-container.visibile {
    top: 0;
}

.closeCarousel {
    position: absolute;
    top: 5px;
    right: 25px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    opacity: 1;
    cursor: pointer;
}

.closeCarousel:hover {
    color: #fff;
    opacity: 0.7;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
    left: 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  color: var(--std-blue-color);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
  opacity: 1 !important;
}

.mySlides {
    width: 1000px;
    height: calc(1000px*2/3);
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@media screen and (max-width: 1280px) {
    .mySlides{
        width: 750px;
        height: calc(750px*2/3);
    }
}

@media screen and (max-width: 768px) {
    .mySlides{
        width: calc(100vw - 100px);
        max-width: 0 auto;
        height: calc(100vw*2/3);
    }
}