#video-container #video-popup #resources-container {
  width: 0;
  height: 0;
  background: var(--dark-grey);
  border-radius: 5px;
  opacity: 0;
  grid-column: 3/3;
  transition: width 0.2s;
}

#video-container #video-popup.two-sections #resources-container {
  grid-column: 2/3;
}

#video-container #video-popup.two-sections #resources-container.visible {
  transition: width 0.2s;
  width: 100%;
  opacity: 1;
  height: 100%;
  display: grid;
  grid-template-rows: 0.4fr 0fr 6fr 0.5fr;
  max-height: 446px;
}

#video-container #video-popup.two-sections #resources-container #resources-title {
  font-size: 0.9em;
  text-align: center;
  padding: 0.8em 1.2em;
}

#video-container #video-popup #separator {
  margin: 0 1em;
  border: 1px solid var(--grey);
}

#video-container #video-popup.two-sections #resources-container #resources {
  height: 100%;
  overflow: auto;
  scrollbar-gutter: stable;
}

#video-container #video-popup.two-sections #resources-container .snapshot-container {
  position: relative;
  margin: 1em 1em 0 1em;
  animation: slidein 0.2s normal;
  z-index: 2;
}

@keyframes slidein {
  from {
    top: -10em;
    opacity: 0;
    z-index: 1;
  }

  to {
    top: 0em;
    opacity: 1;
    z-index: 2;
  }
}

#video-container #video-popup.two-sections #resources-container .snapshot-container.deleted,
#video-container #video-popup.two-sections #resources-container .video-cut-container.deleted {
  animation: slideout 0.2s normal;
  top: -10em;
  opacity: 0;
  z-index: 1;
  height: 0;
  margin: 0 1em;
}

@keyframes slideout {
  from {
    top: 0em;
    opacity: 1;
    z-index: 1;
  }

  to {
    top: -10em;
    opacity: 0;
    z-index: 1;
    height: 0;
  }
}

#video-container #video-popup.two-sections #resources-container .delete-resource {
  position: absolute;
  right: 0.2em;
  top: 0.4em;
}

#video-container #video-popup.two-sections #resources-container .snapshot-canvas {
  border-radius: 5px;
  border: 2px solid var(--grey);
  width: 100%;
  height: 10em;
  background: black;
  object-fit: contain;
}

#video-container #video-popup.two-sections #resources-container .video-cut-container {
  position: relative;
  margin: 1em 1em 0 1em;
  animation: slidein 0.2s normal;
  z-index: 2;
}

#video-container #video-popup.two-sections #resources-container .video-cut-container .loading-cut {
  border-radius: 5px;
  border: 2px solid var(--grey);
  width: 100%;
  background-image: url("../../assets/loading.svg");
  height: 10em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 5em;
}

#video-container #video-popup.two-sections #resources-container .video-cut-container .video-cut-player.hidden {
  display: none;
}

#video-container #video-popup.two-sections #resources-container .video-cut-container .loading-cut.hidden {
  display: none;
}

#video-container #video-popup.two-sections #resources-container .video-cut-container .video-cut {
  border-radius: 5px;
  border: 2px solid var(--grey);
  width: 100%;
  height: 10em;
  background: black;
}

#video-container #video-popup.two-sections #resources-container #resources-actions {
  display: flex;
  gap: 1em;
  padding: 0em 0.8em;
  align-items: center;
  justify-content: space-around;
  /* margin: 1em 0; */
}
