$hoverScale: 1.05;

.content {
  transition: all 200ms ease-in;

  &:hover {
    z-index: 2;
    box-shadow: 0 0 12px $black;
    transition: all 200ms ease-in;

    .controls {
      opacity: 0.9;
      transition: opacity 200ms linear 150ms;
    }
  }
}

.posterContainer {
  position: relative;
}

.link {
  composes: link from '~Components/Link/Link.css';

  position: relative;
  display: block;
  background-color: $defaultColor;
}

.externalLinks {
  margin-right: 0.5em;
  margin-left: 0.5em;
}

.overlayTitle {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  width: 100%;
  height: 100%;
  color: $offWhite;
  text-align: center;
  font-size: 20px;
}

.title {
  @add-mixin truncate;

  background-color: #fafbfc;
  text-align: center;
  font-size: $smallFontSize;
}

.excluded {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 0;
  height: 0;
  border-width: 0 25px 25px 0;
  border-style: solid;
  border-color: transparent $dangerColor transparent transparent;
  color: $white;
}

.controls {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  border-radius: 4px;
  background-color: #707070;
  color: $white;
  font-size: $smallFontSize;
  opacity: 0;
  transition: opacity 0;
}

.editorSelect {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.action {
  composes: button from '~Components/Link/IconButton.css';

  &:hover {
    color: $radarrYellow;
  }
}

@media only screen and (max-width: $breakpointSmall) {
  .container {
    padding: 5px;
  }
}
