$small: 640px;
$medium: 768px;
$large: 1024px;
$xlarge: 1280px;

.filter-wrapper {
  &.filter-wrapper-show {
    display: block;
  }

  &.filter-wrapper-hide {
    display: none;
  }
}

@media screen and (max-width: $medium) {
  .filter-wrapper {
    transition: right 0.25s ease;
    &.filter-wrapper-show {
      display: block;
      right: 0px;
    }

    &.filter-wrapper-hide {
      display: block;
      right: -260px;
    }
  }

  .filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -50;

    &.show {
      visibility: visible;
      opacity: 1;
    }

    &.hide {
      visibility: hidden;
      opacity: 0;
    }
  }
}
