.projects-search-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;

  &__title {
    color: $primary-color;
    font-weight: 700;
    text-align: center;
    font-size: 48px;
    margin-bottom: 15px;
  }

  &__tags {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 $gutter;
    max-width: $projects-content-width;
    margin: 0 auto;
  }

  &__container-project {
    margin: -130px auto 0;
    min-height: 400px;
    width: 100%;
    max-width: $projects-content-width;

    .js-empty-results & {
      display: none;
    }
  }

  &__header {
    width: 100%;
    // background-color: $background-blue;
    padding-bottom: 160px;
    padding-top: 20px;

    .js-empty-results & {
      padding-bottom: 0;
    }

    .filter-projects__input-form {
      margin-top: 0;
    }

    .tagify__tag {
      line-height: 15px;
      margin-top: 0;
    }
  }

  .project-slide {
    margin-bottom: 120px;
    max-height: 500px;

    @include mdx {
      padding: 0 20px;
      max-height: unset;
      margin-bottom: 0px;

      &:last-child {
        margin-bottom: 50px;
      }
    }
  }

  &__close-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-left: 10px;

    &:focus {
      outline: none;
    }
  }

  &__pagination {
    position: relative;
    margin-top: 30px;
    transition: all 300ms ease-out;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;

    .js-empty-results & {
      display: none;
    }

    @include sm {
      margin-top: 60px;
    }

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 50%;
      top: -125px;
      height: 100px;
      width: 1px;
      background-color: $gray-border;
    }

    .js-has-more & {
      transform: translateY(0);
      opacity: 1;
      pointer-events: all;
    }
  }

  &__page {
    opacity: 0;
    transform: translateY(20px);
    transition: all 300ms ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    &.js-show {
      opacity: 1;
      transform: translateY(-20px);
    }
  }
}
