.online-tools {
  font-family: "Open Sans";
}

.online-tools h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
  color: #080b29;
}

.online-tools .section-1 {
  padding: 60px 0;
  max-width: 1382px;
  margin: 0 auto;
}

.online-tools .section-1 .desc {
  max-width: 618px;
  margin: 30px auto 80px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  color: #666666;
}

.online-tools .section-1 .card-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}

.online-tools .section-1 .card-group .card-item {
  width: 324px;
  height: 280px;
  border-radius: 20px;
  border: 1px solid #e8e8f9;
  background-color: #f9f9fd;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.online-tools .section-1 .card-group .card-item:hover {
  border: 1px solid #a751ff;
  background: linear-gradient(
    360deg,
    rgba(216, 238, 255, 0.7) 0%,
    rgba(253, 220, 255, 0.7) 100%
  );
}

.online-tools .section-1 .card-group .card-item .card-img {
  width: 48px;
}

.online-tools .section-1 .card-group .card-item .title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #333333;
}

.online-tools .section-1 .card-group .card-item .detail-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  color: #333333;
}

.online-tools .section-1 .card-group .card-item .vector {
  width: 24px;
  margin-top: auto;
  visibility: hidden;
}

.online-tools .section-1 .card-group .card-item:hover .vector {
  visibility: visible;
}

.online-tools .section-2 {
  padding-top: 100px;
  padding-bottom: 85px;
}

.online-tools .section-2 .main-container {
  max-width: 1385px;
  margin: 0 auto;
}

.online-tools .section-2 .main-container h2 {
  text-align: center;
  font-weight: 700;
}

.online-tools .section-2 .main-container .type-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 49px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.online-tools .section-2 .main-container .type-container .type-box {
  width: 190px;
}

.online-tools .section-2 .main-container .type-container .type-box .type-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: left;
  color: #333333;
}

.online-tools
  .section-2
  .main-container
  .type-container
  .type-box
  .type-title
  .icon {
  display: none;
}

.online-tools .section-2 .main-container .type-container .type-box .line {
  width: 100%;
  background-color: #d9d9d9;
  height: 1px;
  margin: 20px 0;
}
.online-tools .section-2 .main-container .type-container .type-box li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.online-tools
  .section-2
  .main-container
  .type-container
  .type-box
  li:last-child {
  margin-bottom: 0;
}

.online-tools .section-2 .main-container .type-container .type-box li img {
  width: 24px;
  height: 24px;
}

.online-tools .section-2 .main-container .type-container .type-box li .title {
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  text-align: left;
  color: #333333;
}

@media (max-width: 1024px) {
  .online-tools .section-1 {
    padding: 40px 0 0;
  }

  .online-tools h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
  }

  .online-tools .section-1 .desc {
    margin: 24px auto 40px;
    padding: 0 16px;

    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
  }

  .online-tools .section-1 .card-group {
    padding: 0 16px;
    gap: 10px;
  }

  .online-tools .section-1 .card-group .card-item {
    width: 166px;
    height: 176px;
    padding: 10px 10px 12px;
    border-radius: 10px;
  }

  .online-tools .section-1 .card-group .card-item .card-img {
    width: 24px;
  }

  .online-tools .section-1 .card-group .card-item .title {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 8px;
    margin-bottom: 4px;
  }

  .online-tools .section-1 .card-group .card-item .vector {
    visibility: visible;
    width: 18px;
    line-height: 5px;
    height: 5px;
  }

  .online-tools .section-1 .card-group .card-item .detail-desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }

  .online-tools .section-2 {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .online-tools .section-2 .main-container {
    padding: 0 16px;
  }

  .online-tools .section-2 .main-container h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
  }

  .online-tools .section-2 .main-container .type-container .type-box {
    width: 100%;
  }

  .online-tools
    .section-2
    .main-container
    .type-container
    .type-box.active
    .type-title
    .icon {
    transform: rotateZ(0deg);
  }

  .online-tools .section-2 .main-container .type-container .type-box ul {
    display: none;
  }

  .online-tools .section-2 .main-container .type-container {
    margin-top: 49px;
    gap: 0px;
  }

  .online-tools
    .section-2
    .main-container
    .type-container
    .type-box
    li:last-child {
    margin-bottom: 20px;
  }

  .online-tools
    .section-2
    .main-container
    .type-container
    .type-box
    .type-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .online-tools
    .section-2
    .main-container
    .type-container
    .type-box
    .type-title
    .icon {
    display: block;
    width: 12px;
    height: 22px;
    transform: rotateZ(180deg);
  }
}

@media (max-width: 430px) {
  .online-tools .section-1 .card-group a {
    width: calc(50% - 5px);
  }

  .online-tools .section-1 .card-group .card-item {
    width: 100%;
  }
}