.how-it-works {
  margin-top: 80px;
  padding-bottom: 80px;
  padding-top: 50px;
  position: relative;
}

.how-it-works .how-it-works__bullet{
  padding-top: 64px;
}

.how-it-works__content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-works__bullets-container {
  display: flex;
  max-width: 100%;
  background-repeat: no-repeat;
  background-size: 65%;
  background-position-y: 150px;
  background-position-x: 30px;
  margin-right: 30px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.how-it-works__bullet {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.how-it-works__icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.how-it-works__bullet-number {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 16px;
  font-weight: 700;
}

.how-it-works button {
  background: white;
  height: 48px;
  border-radius: 12px;
  padding: 12px 20px 12px 20px;
  font-size: 16px;
  font-weight: 400;
  border: 1px solid #E4E6EA;
  cursor: pointer;
  color: black;
}

.how-it-works__bullet-title {
  font-size: 20px;
  text-align: center;
  margin: 24px auto;
  max-width: 80%;
}

.how-it-works__bullet-description {
  font-size: 16px;
  line-height: 21px;
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
}
.how-it-works__ilus-container {
  display: flex;
  max-width: 50%;
}

.how-it-works__image {
  padding-top: 20px;
  text-align: center;
}

.how-it-works__mobile {
  height: 442px;
  min-width: 213px;
  background: #e6485c;
  border-radius: 50px;
  margin: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
}

.how-it-works__mobile-screen {
  width: 87%;
  height: 93%;
  background-color: #ffffff;
  border-radius: 40px;
  padding-bottom: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.how-it-works__mobile-screen::after {
  content: "";
  background: #e6485c;
  height: 35px;
  width: 120px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 30px;
}

.how-it-works__mobile-icon-container {
  height: 180px;
  width: 180px;
}

.how-it-works__mobile-text {
  font-size: 24px;
  line-height: 28px;
  font-weight: 300;
  text-align: center;
  max-width: 70%;
  margin-top: 48px;
}

.how-it-works__ilus {
  height: fit-content;
  align-self: flex-end;
  height: 474px;
}

.how-it-works__ilus img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media all and (max-width: 1180px) {
  .how-it-works__ilus {
    display: none;
  }

  .how-it-works__ilus-container {
    width: 50%;
  }

  .how-it-works__bullets-container {
    background-size: 87%;
    margin-top: 60px;
  }
}
@media all and (max-width: 980px) {
  .how-it-works__bullets-container {
    background-size: 100%;
    margin-top: 0;
  }
}

@media all and (max-width: 890px) {
  .how-it-works__ilus-container{
    display: none;
  }
  .how-it-works__bullets-container{
    max-width: 100%;
    background-size: 66%;
  }
}

@media all and (max-width: 758px) {
  .how-it-works {
    margin-top: 116px;
    padding: 0;
  }

  .how-it-works__image {
    padding-top: 50px;
  }
  
  .how-it-works__image img {
    width: 70%;
  }

  .how-it-works__bullets-container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    background: url(../img/vertical-line.svg);
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: 5% 20%;
    background: none;
    margin-top: 32px;
    position: relative;
  }

  .how-it-works .how-it-works__bullet {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
    height: 120px;
    padding: 24px 24px 40px;
    border: 1px solid #DDE1E8;
    border-radius: 16px;
  }

  .how-it-works__bullet-description {
    margin: 0;
    max-width: 100%;
  }

  .how-it-works__bullet-title {
    font-size: 20px;
    margin-bottom: 14px;
    margin-top: 0px;
    max-width: 100%;
  }

  .how-it-works__mobile {
    display: none;
  }

  .how-it-works__ilus-container {
    position: absolute;
    bottom: -80px;
    left: 30px;
    height: 165px;
    width: 119px;
    overflow: visible;
  }

  .how-it-works__ilus {
    display: block;
    height: 150px;
  }

  .how-it-works__mobile-screen {
    display: block;
  }

  .how-it-works__icon-container {
    margin-bottom: 30px;
  }

  .how-it-works__bullets-container {
    margin-right: 0;
  }
}
