@import 'global/animate';
@import 'global/color';
@import 'global/font';
@import 'global/grid';

// ===
// Style
// ===
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: $system-default-font-family;
  background: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  width: 100%;
  overflow-x: hidden;
  color: $color-text-dark;
  letter-spacing: 0.2em;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

input,
select {
  &:-webkit-autofill {
    box-shadow: 0 0 0 1000px lighten($color-primary, 40%) inset !important;
    transition: background-color 5000s ease-in-out 0s;
  }
}

svg,
img {
  max-width: 100%;
}

article {
  text-align: left;
  @include max-md {
    font-size: 0.875em;
  }
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 500;
  }
  h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0.8em;
    @include max-md {
      font-size: 1.5rem;
    }
  }
  h3 {
    margin-top: 1.25em;
    margin-bottom: 0.8rem;
    font-size: 1.25em;
    @include max-md {
      font-size: 1rem;
    }
  }
  ul {
    padding-left: 3.5em;
    margin-bottom: 2rem;
    list-style: none;
    li {
      margin-bottom: 0.5rem;
      text-indent: -2.25em;
    }
    ul {
      padding-left: 1.5em;
      li {
        text-indent: -2.5em;

        ul {
          padding-left: 1.5em;
          list-style: disc;
          li {
            text-indent: 0;
          }
        }
      }
    }
  }
}
// ===
// Nprogress
// ===
#nprogress {
  .bar {
    height: 4px;
    background: rgb(var(--color-primary)) !important;
  }
  .peg {
    display: none;
  }
  .spinner-icon {
    border-top-color: rgb(var(--color-primary));
    border-left-color: rgb(var(--color-primary));
  }
  .spinner {
    display: none !important;
  }
}

// ===
// Recaptcha
// ===
.grecaptcha-badge {
  display: none !important;
}

// ===
// Section
// ===
.section {
  padding-top: $section-padding;
  padding-bottom: $section-padding;

  @include max-xl {
    padding-top: $section-xl-padding;
    padding-bottom: $section-xl-padding;
  }

  @include max-lg {
    padding-top: $section-lg-padding;
    padding-bottom: $section-lg-padding;
  }

  // @include max-sm {
  //   padding-top: $section-sm-padding;
  //   padding-bottom: $section-sm-padding;
  // }
  &.isSmallPt {
    padding-top: $section-padding / 2;
    padding-bottom: $section-padding / 2;
    // @include max-sm {
    //   padding-top: $section-sm-padding / 2;
    //   padding-bottom: $section-sm-padding / 2;
    // }
  }
  &__block {
    box-shadow: 0px 0px 8px #21455829;
    background: #fff;
    padding: 4.375rem 3.125rem;
    overflow: hidden;
  }
}

//==
// header-bg
//==
.header__bg {
  position: relative;
  background-image: url('~@assets/images/plan/banner.svg');
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 11%;
  padding-bottom: 8%;
  width: 100vw;
  top: -122px;
  @include max-lg {
    top: 50px;
  }
}

ul.isStyleBase {
  .title {
    font-size: 24px;
    font-weight: 600;
    color: $color-text-1;
    &:before {
      content: '';
      padding-right: 30px;
      margin-right: 15px;
      background-image: url('~@assets/images/basicplan/small-paw.svg');
      background-repeat: no-repeat;
      background-size: cover;

    }
    @include max-md {
      font-size: 18px;
      &:before {
        padding-bottom: 2%;
      }
    }
  }
  .content {
    color: $color-text-2;
    margin-top: 1rem;
    @include max-md {
      font-size: 14px;
    }
  }
  li {
    &:not(:first-child) {
      margin-top: 40px;
    }
  }
}


@mixin unstyled() {
  content: 'unstyled';
}


@keyframes slideRight{
  0%{
    margin-right: 20px;
    // opacity: 1;
  }
  50%{
    // opacity: 0;
    // margin-right: 0;
  }
  100%{
    // margin-right: 20px;
    // opacity: 1;
    margin-right: 0;
  }
}