@import '~riotclient-lol-asset-csslib/styles/fonts';
@import '~riotclient-lol-asset-csslib/styles/color-palette';
@import '~riotclient-lol-asset-csslib/styles/typekit';

.honor-postgame-notification-component {
  margin-top: 30px;
  position: relative;
  width: 195px;
  height: 97px;
  text-align: center;
  transition: opacity 0.5s;
  opacity: 0;
}

.honor-postgame-notification-component.active {
  opacity: 1;
  animation: fadeInComponent linear 0.5s;
}

.honor-postgame-notification-header {
  @extend $typekit_h5;
  height: 16px;
}

.honor-postgame-notification-header-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s;
  opacity: 0;
  white-space: nowrap;
}

.honor-postgame-notification-header-text.active {
  opacity: 1;
}

.honor-postgame-notification-contents {
  margin-top: 6px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  border-left: 0 solid transparent;
  border-right: 0 solid transparent;
  border-image: linear-gradient(to right, transparent, $color_palette_gold6 10%, $color_palette_gold6 90%, transparent);
  border-image-slice: 1;
  background: linear-gradient(to right, transparent, rgba(10, 150, 170, 0.2), transparent);
  width: 100%;
  height: 40px;
  position: relative;
}

.honor-postgame-notification-flair-container {
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  width: 45px;
  height: 45px;
  margin-left: auto;
  margin-right: auto;
}

.honor-postgame-notification-flair-icon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.5s;
  opacity: 0;
}

.honor-postgame-notification-flair-icon.visible {
  opacity: 1;
}

.honor-postgame-notification-progress-container {
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  height: 50px;
  width: 185px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  text-align: center;
  transition: opacity 0.5s;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.honor-postgame-notification-progress-container.hidden {
  opacity: 0;
}

.honor-postgame-notification-progress-indicator {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 17px;
  width: 120px;
  opacity: 0;
}

.honor-postgame-notification-progress-indicator.top {
  top: -4px;
  animation: progressIndicator 4s linear infinite;
}

.honor-postgame-notification-progress-indicator.bottom {
  bottom: -4px;
  animation: progressIndicator 4s linear infinite;
}

@keyframes fadeInComponent {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes progressIndicator {
  0% {
    opacity: .6;
    transform: translateX(-163px);
  }
  100% {
    opacity: .6;
    transform: translateX(163px);
  }
}