/* Slideshow container */
.gallery-container {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 50px 0px;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-bottom: 10px;
}

.mySlides {
  width: 100%;
  display: none;
}

.gallery-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.gallery-title h2 {
  text-shadow: 4px 4px 8px grey;
  font-size: 28px;
  text-align: center;
}

.gallery-title a {
  font-size: 16px;
  padding: 5px;
  text-align: center;
  border: 2px solid black;
  border-radius: 15px;
}

.gallery-image {
  padding: 0 10px;
}

.gallery-image img {
  border-radius: 50%;
}

.gallery-image img:hover {
  box-shadow: 4px 4px 8px grey;
  border-radius: 10%;
}

.prev,
.next {
  cursor: pointer;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
}

.prev {
  border-radius: 3px 0 0 3px;
}

.next {
  border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text {
  color: black;
  font-size: 20px;
  padding: 8px 12px;
  text-align: center;
}

.dotContainer {
  text-align: center;
  padding-top: 10px;
}

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

.gallery-container .active,
.dot:hover {
  background-color: #4d4d4d;
}

.fades {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 540px) {
  .gallery-container {
    padding: 50px;
  }
  .gallery-title h2 {
    font-size: 32px;
  }
  .gallery-title a {
    font-size: 20px;
  }
  .gallery-image {
    display: flex;
    flex-direction: column;    
  }
  .dot {
    height: 15px;
    width: 15px;
  }
}

@media (min-width: 768px) {
  .gallery-title h2 {
    font-size: 36px;
  }
  .gallery-title a {
    font-size: 24px;
  }
  .gallery-image {
    width: 60%;
  }
  .text {
    font-size: 26px;
  }
  .prev,
  .next {
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  .gallery-title h2 {
    font-size: 42px;
  }
  .gallery-title a {
    font-size: 24px;
  }
  .gallery {
    justify-content: space-between;
  }
  .gallery-image {
    width: 100%;
    height: 500px;
  }
  .gallery-image img {
    height: 500px;
  }
  .prev,
  .next {
    font-size: 32px;
  }
  .dot {
    height: 18px;
    width: 18px;
  }
}
