.slideshow {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: cover;
  -webkit-animation-name: kenburns;
          animation-name: kenburns;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-duration: 16s;
          animation-duration: 16s;
  opacity: 1;
  transform: scale(1.2);
  overflow-x: hidden;
}
.slideshow-image:nth-child(1) {
  -webkit-animation-name: kenburns-1;
          animation-name: kenburns-1;
  z-index: 3;
  background-image: url(./assets/07.jpg);
}
.slideshow-image:nth-child(2) {
  -webkit-animation-name: kenburns-2;
          animation-name: kenburns-2;
  z-index: 2;
  background-image: url(./assets/img6.jpg)
}
.slideshow-image:nth-child(3) {
  -webkit-animation-name: kenburns-3;
          animation-name: kenburns-3;
  z-index: 1;
  background-image: url(./assets/farmers.png)
}
.slideshow-image:nth-child(4) {
  -webkit-animation-name: kenburns-4;
          animation-name: kenburns-4;
  z-index: 0;
  background-image: url(./assets/trucks.png)
}

@-webkit-keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  1.5625% {
    opacity: 1;
  }
  23.4375% {
    opacity: 1;
  }
  26.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
  98.4375% {
    opacity: 0;
    transform: scale(1.2117647059);
  }
  100% {
    opacity: 1;
  }
}

@keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.2);
  }
  1.5625% {
    opacity: 1;
  }
  23.4375% {
    opacity: 1;
  }
  26.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
  98.4375% {
    opacity: 0;
    transform: scale(1.2117647059);
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes kenburns-2 {
  23.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  26.5625% {
    opacity: 1;
  }
  48.4375% {
    opacity: 1;
  }
  51.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes kenburns-2 {
  23.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  26.5625% {
    opacity: 1;
  }
  48.4375% {
    opacity: 1;
  }
  51.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@-webkit-keyframes kenburns-3 {
  48.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  51.5625% {
    opacity: 1;
  }
  73.4375% {
    opacity: 1;
  }
  76.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@keyframes kenburns-3 {
  48.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  51.5625% {
    opacity: 1;
  }
  73.4375% {
    opacity: 1;
  }
  76.5625% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}
@-webkit-keyframes kenburns-4 {
  73.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  76.5625% {
    opacity: 1;
  }
  98.4375% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
@keyframes kenburns-4 {
  73.4375% {
    opacity: 1;
    transform: scale(1.2);
  }
  76.5625% {
    opacity: 1;
  }
  98.4375% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
.headline-content {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 99;
  text-align: center;
  background-color: rgba(0, 37, 18, 0.75);
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
  padding: 3em 2em;
  width: 75%;
  height: auto;
  color: #fff;
}
.headline-content small {
  display: block;
  text-transform: lowercase;
  font-size: 0.7em;
}
.headline-content small:first-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 0.5em;
}
.headline-content small:last-child {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  padding-top: 0.5em;
}

.sign-up-now {
  font-weight: 700;
  color: #fff;
}

@media only screen and (min-width: 358px) and (max-width: 360px) {
  .slideshow {
    height: 87vh;
  }
  .headline-content {
    top: 55%!important;
  }
}

@media only screen and (min-width: 370px) {
  .headline-content {
    top: 66%!important;
  }
  .headline-content p {
    margin-bottom: 0;
    margin-bottom: 15px;
  }
}

@media only screen and (min-width: 390px) and (max-width: 392px) {
  .headline-content {
    top: 60%;
  }
  .slideshow {
    height: 82vh;
  }
}

@media only screen and (min-width: 391px) and (max-width: 393px) {
  .slideshow {
    height: 86vh;
  }
  .headline-content {
    top: 55%!important;
  }
}

@media only screen and (min-width: 410px) and (max-width: 412px) {
  .slideshow {
    height: 86vh;
  }
  .headline-content {
    top: 55%!important;
  }
  .headline-content h1 {
    font-size: 28px;
  }
}

@media only screen and (min-width: 413px) and (max-width: 414px) {
  .slideshow {
    height: 80vh;
  }
}

@media only screen and (max-width: 428px) {
  .slideshow {
    height: 86vh;
  }
  .headline-content {
    top: 55%!important;
    padding: 1em 1em;
    width: 90%;

  }
  .headline-content h1 {
    font-size: 30px;
  }
  .headline-content p {
    font-size: 14px;
  }
}

@media only screen and (min-width: 768px) {
  .headline-content {
    top: 62%!important;
  }
}

@media only screen and (min-width: 768px) {
  .headline-content {
    top: 60%!important;
  }
}