@use "./../../../../../assets/style/colors.scss" as *;

.movies {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 24px;
}

.movies::-webkit-scrollbar {
  display: none;
}

.movie {
  position: relative;
  width: 213px;
  height: 120px;
  padding: 6px;
  .banner {
    img {
      width: 213px;
      height: 120px;
      transition: scale 300ms ease-in-out;
      border: 2px solid rgba($black, 0);
      cursor: pointer;
      &:hover {
        scale: 1.02;
        border: 2px solid $blue;
      }
    }
  }
  .watched {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    img {
      width: 24px;
      height: auto;
      filter: brightness(0) saturate(100%) invert(100%) sepia(28%) saturate(1%)
        hue-rotate(288deg) brightness(101%) contrast(101%)
        drop-shadow(0 0 5px rgba(38, 143, 255, 1));
    }
  }
}

.selected {
  border: 2px solid $blue !important;
}

// Scroll buttons

.scroll-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: none;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.scroll-buttons.show {
  display: flex;
}

.scroll-left,
.scroll-right {
  position: absolute;
  background-size: 20px 30px;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  pointer-events: auto;
  &:hover {
    transition: 125ms ease-in-out;
    filter: brightness(0) saturate(100%) invert(26%) sepia(77%) saturate(2342%)
      hue-rotate(228deg) brightness(83%) contrast(115%);
  }
}

.scroll-left {
  left: -25px;
}

.scroll-right {
  right: -25px;
}

/*------------- RESPONSIVE -------------*/

@media screen and (max-width: 600px) {
  .hide-scrollbar {
    height: calc(100% - 120px);
  }
}
