@import url("https://fonts.googleapis.com/css?family=Mukta:700");
* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}

.btn-learn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.btn-learn.learn-more {
  width: 11rem;
  height: auto;
}
.btn-learn.learn-more .circle {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: var(--theme-color);
  border-radius: 1.625rem;
}
.btn-learn.learn-more .circle .icon {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
.btn-learn.learn-more .circle .icon.arrow {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
.btn-learn.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: '';
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.btn-learn.learn-more .button-text {
  -webkit-transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  font-family: 'Mukta', sans-serif;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  /* text-transform: uppercase; */
}
.btn-learn:hover .circle {
  width: 100%;
}
.btn-learn:hover .circle .icon.arrow {
  background: #fff;
  -webkit-transform: translate(1rem, 0);
          transform: translate(1rem, 0);
}
.btn-learn:hover .button-text {
  color: #fff;
}

/* 移动端适配样式 */
@media (max-width: 600px) {
  .btn-learn.learn-more {
    width: 90vw;
    text-align: right;
    
  }
  .btn-learn.learn-more .circle {
    display: none;
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
  }
  .btn-learn.learn-more .button-text {
    position: static;
    margin: 0 0 0 0.8rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
  }
  .btn-learn.learn-more .circle .icon.arrow {
    left: 0.4rem;
    width: 0.8rem;
    height: 0.1rem;
  }
  .btn-learn.learn-more .circle .icon.arrow::before {
    top: -0.18rem;
    width: 0.45rem;
    height: 0.45rem;
    border-top-width: 0.1rem;
    border-right-width: 0.1rem;
  }
  .btn-learn:hover .circle {
    width: 2.2rem;
  }
  .btn-learn:hover .circle .icon.arrow {
    background: none;
    transform: none;
  }
  .btn-learn:hover .button-text {
    color: inherit;
  }
}


