.nextArrowContainer {
  position: relative;
  height: 100px;
  width: 400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrows {
  justify-content: center;
  display: flex;
}


.arrow-container {
  margin: 10px;
  justify-content: center;
  /* background-color: rgb(30, 61, 40); */
  border-radius: 5px;
  /* border-color: #70964c; */
  /* border-style: solid; */
  /* border-width: 10px; */
}
.nextArrowContent {
  padding: 5px;
  /* margin: 25px; */
  margin-right: 25px;
  font-size: 18px;
  line-height: 1.9;
  font-family: "Lato", sans-serif;
  color: #70964c;
}
.nextArrowContent.right {
  margin-left: 25px;
}
.nextArrow {
  position: relative;
  align-self: center;
  margin: auto;
  display: inline-block;
  padding: 8px 0;
}
.nextArrow:before {
  content: "";
  display: block;
  width: 0px;
  height: 5px;
  background-color: #70964c;
  top: 50%;
  transition: width 0.5s ease-out;
}
.nextArrow:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-top: 5px solid #70964c;
  border-right: 5px solid #70964c;
  transform: rotate(45deg);
  top: calc(50% - 10px);
  position: absolute;
  right: 0;
}

.white-arrow:after {
  border-top: 5px solid white !important;
  border-right: 5px solid white !important;
}

.white-arrow::before {
  border-top: 5px solid white !important;
  border-right: 5px solid white !important;
}

.nextArrow.left {
  position: relative;
  align-self: center;
  margin: auto;
  display: inline-block;
  padding: 8px 0;
}
.nextArrow.left:before {
  content: "";
  display: block;
  width: 0px;
  height: 5px;
  background-color: #70964c;
  top: 50%;
  transition: width 0.5s ease-out;
}
.nextArrow.left:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-top: 5px solid #70964c;
  border-right: 5px solid #70964c;
  transform: rotate(-135deg);
  top: calc(50% - 10px);
  position: absolute;
  left: 0;
}
.nextArrowContainer:hover .nextArrow,
.nextArrowContainer:hover .nextArrowContent {
  cursor: pointer;
}
.nextArrowContainer:hover .nextArrow:before {
  width: 200px;
}

@media (max-width: 768px) {
  .nextArrowContainer {
    width: 200px;
  }
}
