@keyframes rotateContinued {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.vl-preview-image {
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);


  &__close {
    position: absolute;
    right: 50px;
    top: 50px;
    width: 36px;
    height: 36px;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0,0,0,.2);
    backdrop-filter: blur(5px);

    &:hover {
      transform: rotate(90deg);
    }
  }

  &__loading {
    font-size: 60px;
    animation: rotateContinued 1.5s linear infinite;
  }

  &__fail {
    font-size: 60px;
  }

  &__arrow {
    width: 42px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    position: absolute;
    top: 50%;
    border-radius: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, .8);

    &-left {
      left: 50px;
    }

    &-right {
      right: 50px;
    }
  }


  &__control {
    height: 44px;
    bottom: 10%;
    padding: 0 22px;
    display: flex;
    border-radius: 22px;
    margin: 0 auto;
    background: rgba(0, 0, 0, .3);

    &-btn {
      line-height: 44px;
      font-size: 24px;
      cursor: pointer;
      padding: 0 9px;
      transition: all 0.2s;
    }


    &-indicator {
      position: absolute;
      bottom: 5%;
      left: 50%;
      transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      padding: 0 22px;
      font-size: 16px;
      border-radius: 15px;
      background: rgba(0,0,0,.3);
    }

    &__wrapper {
      display: flex;
      position: absolute;
      width: 100%;
      bottom: 10%;
      left: 0;
    }
  }


  &__wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    z-index: 2018;
    color: rgba(255,255,255,.6);
  }
}


.vl-preview-image-fade-enter,
.vl-preview-image-fade-leave-to {
  opacity: 0;
  transform: translate3d(0, -20px, 0);
}

.vl-preview-image-fade-enter-active,
.vl-preview-image-fade-leave-active {
  transition: all 0.3s;
}
