.audioContainer {
  position: relative;
  height: 100%;
  width: 100%;
  // height: 170px;

  .cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 100%;
    // height: 170px;
    background-color: #fff;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    transition: all .2s ease-in-out;

    img {
      height: fit-content;
      min-height: 100%;
    }

    &.imgHover {
      transition: all .2s ease-in-out;
      opacity: 0;
      visibility: hidden;
    }
  }

  .previewAudio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    width: 100%;
    height: 170px;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in-out;

    audio {
      opacity: 0;
    }

    canvas {
      width: 100% !important;
      height: 100% !important;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    &.previewAudioHover {
      opacity: 1;
      visibility: visible;
      transition: all .2s ease-in-out;
    }
  }

  &.imgAnimated {
    .cover {
      opacity: 0;
      transition: all .2s ease-in-out;
    }
  }
}