@import "../../../../styles.scss";
@import "../../../../assets/scss/variable";


.feature {
  &__title {
    padding: 0 30px;
    @include pageHeader;
    @include pageContainer;

    &__toogle {
      font-size: 15px;
      font-weight: lighter;
      color: $dark-grey-color;
    }
  }

  &__card {
    margin: 30px 30px;

    &__price {
      padding-top: 70px;
      padding-bottom: 30px;

      &__title {
        font-size: 16px;
        white-space: nowrap;
      }

      &__card {
        margin: 10px 0;

        text-align: center;

        &__item {
          color: $dark-grey-color;
          white-space: nowrap;
          font-size: 30px;
          padding: 0 5px;
        }

        @media (max-width: $breakpoint-feature-lg) {
          &__item {
            font-size: 14px;
          }
        }

        @media (max-width: $breakpoint-md) {
          &__item {
            font-size: 12px;
          }

        }

        @media (max-width: $breakpoint-md) {
          &__item {
            font-size: 22px;
          }

          &__price {
            color: $dark-grey-color;
            padding: 20px 0px;
            font-size: 22px;
          }
        }

        &__grey {
          text-align: center;
          border: 1px solid $dark-grey-color;
          width: 30vw;
          cursor: pointer;
        }

        &__yellow {
          text-align: center;
          border: 1px solid $yellow-color;
          width: 30vw;
          cursor: pointer;
        }

        &__orange {
          text-align: center;
          border: 1px solid $orange-3-color;
          width: 30vw;
          cursor: pointer;
        }
      }

      @media (max-width: $breakpoint-md) {
        &__title {
          font-size: 20px;
        }

      }
    }

    &__menu {
      padding-top: 70px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      justify-content: center;

      &__type {

        padding: 50px 20px;
        height: 20px;
        text-align: center;
      }

      &__content {
        padding-top: 25px;

        &__item {
          padding-left: 5px;
          font-weight: lighter;
          font-size: 20px;
          height: 50px;
          display: flex;
          justify-content: flex-start;
          align-items: center;

          @media(max-width: $breakpoint-md) {
            &__text {
              @include ellipsisText;
              width: 15vw;
            }
          }

          @media (max-width: $breakpoint-lg) {
            font-size: 15px;
          }
        }

        &__item:nth-child(odd) {
          background-color: $backround-grey-light-color;
        }
      }

    }

    &__column {
      position: relative;
    }

    &__header {
      @include header-icon;
      color: #fff;
      padding: 0px;
      background: none;
      box-shadow: none;
      border-radius: 0px;
      width: 100%;

      &__starter {
        background-color: $dark-grey-color;
        box-shadow: 0px 3px 6px $dark-grey-shadow;
        padding: 20px;
        border-radius: 5px;

        @media(max-width: $breakpoint-md) {
          margin-right: 32px;
        }
      }

      &__professional {
        background-color: $orange-color;
        box-shadow: 0px 3px 6px $orange-shadow;
        padding: 20px;
        border-radius: 5px;

        @media(max-width: $breakpoint-md) {
          margin-right: 32px;
        }
      }

      &__enterprise {
        background-color: $orange-2-color;
        box-shadow: 0px 3px 6px $orange-2-shadow;
        padding: 20px;
        border-radius: 5px;

        @media(max-width: $breakpoint-md) {
          margin-right: 32px;
        }
      }

      &__title {
        font-size: 25px;
      }

      @media (min-width: $breakpoint-xs) and (max-width: $breakpoint-md) {
        &__title {
          font-size: 20px;
        }
      }

      @media (max-width: $breakpoint-lg) {
        &__title {
          font-size: 18px;
        }
      }
    }

    &__content {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      justify-content: center;

      &__item {
        font-weight: lighter;
        font-size: 20px;
        height: 50px;
        text-align: center;

        @media(min-width: $breakpoint-md) and (max-width: $breakpoint-lg) {
          font-size: 15px;
        }

        &__no-active {
          color: $disable_color;
        }
      }


      &__item:nth-child(odd) {
        background-color: $backround-grey-light-color;
      }
    }

    @media (max-width: 960px) {
      &__content {
        &__item {
          display: flex;
          align-items: center;
          width: 70vw;
          @include ellipsisText;
          font-size: 18px;
        }

        &__small-item {
          width: 60vw;
          padding: 0;
          overflow: hidden;
          position: relative;
          display: inline-block;
          text-align: left;
          text-decoration: none;
          text-overflow: ellipsis;
          white-space: nowrap;

          &__no-active {
            color: $disable_color;
          }
        }

        &__item:nth-child(odd) {
          background-color: #fff;
        }
      }
    }
  }
}
