/*body {
  margin: 0;
  font-family: sans-serif;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}*/

.home {
  /* height: 100vh; */
  width: 100%;
  height: 650px;
  overflow: hidden;
  position: relative;
}

.home .slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 650px;
  background-size: cover;
  background-position: center;
  z-index: 1;
  display: none;
  padding: 0 15px;
  /* animation: slide 2s ease; */
}
.home .slide.active {
  display: flex;
}
@keyframes slide {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.container {
  max-width: 1170px;
  margin: auto;
}

.home .container {
  flex-grow: 1;
}
.home .caption {
  width: 100%;
  text-align: center;
}
.home .caption h1 {
  font-size: 52px;
  color: #02081b;
  margin: 0;
  font-family: 'Josefin Sans', sans-serif;
  /* font-family: 'PT Sans', sans-serif; */
}
.home .slide.active .caption h1 {
  opacity: 0;
  animation: captionText 0.5s ease forwards;
  animation-delay: 1s;
}
.home .caption p {
  font-size: 20px;
  margin: 20px 0 30px;
  color: #666;
}
.home .slide.active .caption p {
  opacity: 0;
  animation: captionText 0.5s ease forwards;
  animation-delay: 1.2s;
}
.home .caption a {
  display: inline-block;
  width:200px;
  height:50px;
  line-height:50px;
  text-align:center;
  margin-top: 50px;
  /*padding: 15px 30px;*/
  background-color: rgba(74, 148, 24, 0.664);
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  text-transform: uppercase;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 2px;
  background-size: 200% 200%;
  transition: background-position 1s;
  background-image: linear-gradient(
    to right,
    rgba(74, 148, 24, 0.664) 50%,
    rgba(74, 148, 24, 0.664) 50%
  );
  background-position: right;
}

.home .caption a:hover {
  background-position: left;
}

/* @keyframes Back-color {
  0% {
    background-color: #e00808;
  }
  100% {
    background-color: #444;
  }
} */
.home .slide.active .caption a {
  opacity: 0;
  animation: captionText 0.5s ease forwards;
  animation-delay: 1.4s;
}

@keyframes captionText {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.home .controls .prev,
.home .controls .next {
  display: none;
  position: absolute;
  z-index: 2;
  top: 50%;
  height: 40px;
  width: 40px;
  margin-top: -20px;
  color: #ffffff;
  background-color: #e00808;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.home .controls .prev:hover,
.home .controls .next:hover {
  background-color: #000000;
}
.home .controls .prev {
  left: 0;
}
.home .controls .next {
  right: 0;
}

.home .indicator {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  transform: translateX(-50%);
}

.home .indicator div {
  display: inline-block;
  width: 25px;
  height: 25px;
  /* color: #ff5722;
  background-color: #ff5722; */
  color: #e00808;
  background-color: #e00808;
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
  margin: 0 3px;
}

.home .indicator div.active {
  background-color: #000;
  color: #000000;
}

/*responsive*/
@media (max-width: 767px) {
  .controls {
    display: none;
  }
  .home .caption h1 {
  font-size:35px;
  
}
}
.wrapper {
  width: 100%;
  height: 500px;
}
