.btn {
  border-radius: 16px;
  color: var(--text-white);
  overflow: hidden;
  position: relative;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: normal;
  font-weight: 600;
  padding: 11px 24px;
  cursor: pointer;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
}

.btn.btn-primary {
  background: #8db3a3;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.btn.btn-primary:hover {
  box-shadow: 0 0 4px 0 #67bd96;
  color: var(--text-white);
  background: #2b382a;
}

.btn.btn-secondary {
  background: #7aab8d;
}
.btn.btn-secondary:hover {
  background: #2b382a;
  color: var(--text-white);
  box-shadow: 0 0 4px 0 #67bd96;
}

.btn.btn-arrow {
  background: #7aab8d;
  gap: 12px;
}
.btn.btn-arrow:hover {
  color: var(--text-white);
  background: #2b382a;
  box-shadow: 0 0 4px 0 #67bd96;
}

.btn.btn-arrow .icon {
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.btn.btn-arrow .icon::before,
.btn.btn-arrow .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../img/arrow-right.svg") center/contain no-repeat;
  transition: transform 0.4s ease;
}

.btn.btn-arrow .icon::before {
  transform: translateX(0);
}

.btn.btn-arrow .icon::after {
  transform: translateX(-100%);
}

.btn.btn-arrow:hover .icon::before {
  transform: translateX(100%);
}

.btn.btn-arrow:hover .icon::after {
  transform: translateX(0);
}

.bg-text {
  background-image: url("../../img/decor.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: fit-content;
  padding: 8px 24px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-white);
}

.bg-text .text {
  color: #fff;
  font-family: "Ma Shan Zheng", sans-serif;
  font-size: clamp(50px, 6.5vw, 70px);
  font-weight: 400;
  line-height: normal;
}

.bg-text h5 {
  flex: 1;
  color: #fff;
  line-height: normal;
}

.btn.btn-tab {
  gap: 14px;
  padding: 16px;
  border: 1px solid #737f6b;
  color: #747b62;
  overflow: hidden;
  background: #dee1b4;
  border-radius: 16px;
}
.btn.btn-tab:hover,
.btn.btn-tab.active {
  color: var(--text-white);
  background: #2b382a;
}

.btn.btn-tab span:first-child {
  font-family: "Ma Shan Zheng", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.btn.btn-tab span:last-child {
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
}

@media (max-width: 1024px) {
  .btn.btn-tab {
    padding: 10px;
  }
  .btn.btn-tab span:last-child {
    font-size: 18px;
  }
  .btn.btn-tab span:first-child {
    font-size: 18px;
  }
}
