@charset "utf-8";

/* solution Content */
.solution_wrapper {
    background: linear-gradient(to bottom, #F9F8F3 0%, #F9F8F3 90%, #FFFFFF 100%);
}

.solution_container h4 {
    font-size: 1.5rem;
    font-family: 'Slackside One', sans-serif;
    text-align: center;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
}

.solution_contents {
    border-radius: 50%;
    background-color: #ffff;
    justify-content: center;
    text-align: center;
    padding: 7rem;
    box-sizing: border-box;
}

/* leaf animation */
.leaf {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.leaf li{
  position: absolute;
  list-style: none;
  /* top: -80px; */
  background: #47ff76;
  border-radius: 0% 70%;
}


@keyframes fall {
  0% {
    top: -110px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 10%;
    opacity: 0;
  }
}

@keyframes sway1 {
  from {
    transform: translateX(0px) rotate(0deg);
  }
  to {
    transform: translateX(200px) rotate(-45deg);
  }
}

@keyframes sway2 {
  from {
    transform: translateX(200px) rotate(-45deg);
  }
  to {
    transform: translateX(0px) rotate(0deg);
  }
}


.leaf li:nth-child(1){
  left: 30%;
  /* top: -145px; */
  width: 13px;
  height: 9px;
  background-color: #009926;
  animation: fall 15s linear infinite,
             sway1 2s ease-in-out infinite alternate;
  animation-delay: 0s;
}

.leaf li:nth-child(2){
  left: 50%;
  /* top: -130px; */
  width: 24px;
  height: 15px;
  background-color: #009926;
  animation: fall 11s linear infinite,
             sway2 3s ease-in-out infinite alternate;
  animation-delay: 1s;
}

/* Responsive Design for Tablets */
@media screen and (max-width: 1110px) {
    .solution_container h4 {
        padding: 20px 0;
    }
}

/* @media screen and (max-width: 768px) {
    .leaf li:nth-child(1){
      top: -80px;
    }

    .leaf li:nth-child(2){
      top: -70px;
    }
} */


/* Responsive Design for Mobile */
@media screen and (max-width: 640px) {
  @keyframes sway1 {
    from {
      transform: translateX(0px) rotate(0deg);
    }
    to {
      transform: translateX(110px) rotate(-45deg);
    }
  }

  @keyframes sway2 {
    from {
      transform: translateX(110px) rotate(-45deg);
    }
    to {
      transform: translateX(0px) rotate(0deg);
    }
  }


    @keyframes fall {
      0% {
        top: -70px;
        opacity: 0;
      }
      10% {
        opacity: 1;
      }
      90% {
        opacity: 1;
      }
      100% {
        top: 5%;
        opacity: 0;
      }
    }

    .solution_container {
        width: auto;
        padding: 0 50px 50px;
    }

    .section_title.solution_title {
        font-size: 1.7rem;
        padding: 40px 0 15px;
    }

    .solution_container h4 {
        font-size: 1rem;
        padding: 10px 0;
    }

    .solution_contents {
    padding: 2.1rem;
    }

    
}
