.first-slide-image {
  background: url('../public/images/America_sq.jpg') no-repeat center
    center/cover;
}
.second-slide-image {
  background: url('../public/images/Queen_st-1.jpg') no-repeat center
    center/cover;
}
.third-slide-image {
  background: url('../public/images/Prescott-1.jpg') no-repeat center
    center/cover;
}

.service1-image {
  background: url('../public/images/Strand-1.jpg') no-repeat center center/cover;
}

.service2-image {
  background: url('../public/images/patio.jpg') no-repeat center center/cover;
}

.service3-image {
  background: url('../public/images/Ledenhall.jpg') no-repeat center
    center/cover;
}

.service4-image {
  background: url('../public/images/Queen_st.jpg') no-repeat center center/cover;
}

.service5-image {
  background: url('../public/images/nbst.jpg') no-repeat center center/cover;
}

.service6-image {
  background: url('../public/images/burnett_house_2.jpg') no-repeat center
    center/cover;
}

.service7-image {
  background: url('../public/images/East_cheap.jpg') no-repeat center
    center/cover;
}

.service8-image {
  background: url('../public/images/desk.jpg') no-repeat center center/cover;
}

.first-slide-image,
.second-slide-image,
.third-slide-image,
.service1-image,
.service2-image,
.service3-image,
.service4-image,
.service5-image,
.service6-image,
.service7-image,
.service8-image,
.fourth-slide-image {
  background-position: fixed;
  width: 100%;
  min-height: 600px;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  background-size: cover;
  object-fit: cover;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  height: 100%;
}




/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.captions {
  color: #f2f2f2;
  font-size: 15px;
  padding-left: 30px;
  padding-bottom: 26px;
  position: absolute;
  bottom: 8px;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0em;
  text-align: left;
  display: none;
}

.dots
{
  width: 100px;
  position: absolute;
  bottom: 8px;
  right: 0;
  padding-right: 32px;
  display: inline-flex;
  padding-bottom: 36px;

}

.dots-top,
.dots-middle,
.dots-bottom,
.dots-fourth {
  width: 100px;
  position: absolute;
  bottom: 8px;
  right: 0;
  display: inline-flex;
  padding-bottom: 36px;

}
/* The dots/bullets/indicators */
.dot,
.dot-top,
.dot-middle,
.dot-bottom,
.dot-fourth {
  cursor: pointer;
  height: 15px;
  width: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-flex;
  transition: background-color 0.6s ease;
 
}

div.dots > span:nth-child(2),
div.dots > span:nth-child(1) {
  margin-right: 16px;
  display: inline-flex;
}

div.dots-top > span:nth-child(2),
div.dots-top > span:nth-child(1) {
  margin-right: 16px;
  display: inline-flex;
}

div.dots-middle > span:nth-child(2),
div.dots-middle > span:nth-child(1) {
  margin-right: 16px;
  display: inline-flex;
}
div.dots-bottom > span:nth-child(2),
div.dots-bottom > span:nth-child(1) {
  margin-right: 16px;
  display: inline-flex;
}

div.dots-fourth > span:nth-child(2),
div.dots-fourth > span:nth-child(1) {
  margin-right: 16px;
  display: inline-flex;
}



.active,
.dot:hover {
  background-color: transparent;
  border: solid 2px white;
  background-color: #fff;
  display: inline-flex;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.5s;
}

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .captions {
    font-size: 11px;
  }
}
