.projects-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0px auto 50px;
  max-width: $projects-content-width;
  position: relative;

  &.projects-slider--fix-margin {
    margin: 50px auto 50px;
  }

  @include sm {
    overflow: hidden;
    margin: 50px auto 0;
    padding-top: 210px;
  }

  &__divider {
    width: 1px;
    height: 0px;
    background-color: $gray-border;
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
  }

  &__container-title {
    width: 50%;
    min-height: 200px;
    padding: 0 100px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    @include mdx {
      padding: 0 50px 0 40px;
    }

    @include sm {
      padding: 0 20px;
      width: 100%;

      margin: 0 auto;
      justify-content: flex-start;
      height: auto;
      min-height: unset;
    }

    h2 {
      color: $primary-color;
      margin: 15px 0;

      @include mdx {
        font-size: 32px;
        line-height: 38px;
      }

      @include sm {
        font-size: 21px;
        line-height: 29px;
      }
    }

    p {
      color: $primary-color;
      font-size: 16px;
      margin: 0;

      @include sm {
        font-size: 14px;
      }
    }
  }

  &--center {
    padding: 0;
    margin: 80px auto 0;
    align-items: center;

    h2,
    p {
      text-align: center;
    }
  }

  &__wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  &__container {
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 500px;

    @include mdx {
      max-height: 500px;
    }

    @include sm {
      min-height: 410px;
    }

    @include sm {
      overflow: unset;
      min-height: 400px;
      display: flex;
      transition: transform 300ms ease-out;
    }
  }

  &__navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  &__prev {
    margin-right: 20px;
    transform: rotate(90deg);
    cursor: pointer;
    height: 12px;
    width: 12px;
  }

  &__next {
    margin-left: 14px;
    transform: rotate(-90deg);
    cursor: pointer;
    height: 12px;
    width: 12px;
  }

  &--disable {
    opacity: 0.5;
    cursor: default;
  }

  &__dot {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: $gray-border;
    margin-right: 6px;
    cursor: pointer;
  }

  &--active {
    background-color: $primary-color;
  }

  &__container-button {
    position: absolute;
    bottom: -5px;
    right: 0;

    @include mdx {
      right: 20px;
    }

    @include sm {
      position: relative;
      bottom: unset;
      right: unset;
      margin: 30px auto 0;
    }
  }

  &__desktop {
    @include sm {
      display: none;
    }
  }

  &__mobile {
    display: none;

    @include sm {
      display: flex;
    }
  }

}
