.container {
  background: #212121;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

img {
  position: absolute;
  top: 50vh;
  left: 50vw;
  margin-left: -512px;
  margin-top: -412px;
}

img.tester {
  animation: none;
}

img.playing {
  animation: none !important;
}

img.loading {
  animation:spin 2s ease-in-out infinite;
  animation-play-state: running;
  animation-fill-mode: both;
}

img.loading.reverse {
  animation:spin-reverse 2s ease-in-out infinite;
  animation-play-state: running;
  animation-fill-mode: both;
}

.pin-list {
  margin-top: 32px;
  width: 120px;
}

.pin-list .title {
  font-weight: 600;
  font-size: 14px;
  color: #757575;
  margin-bottom: 8px;
}

.pin-list .item {
  border: 1px solid white;
  height: 16px;
  padding: 4px 8px;
  padding-top: 2px;
  padding-bottom: 6px;
  border-radius: 32px;
  line-height: 14px;
  margin: 8px 0;
  position: relative;
}

.pin-list .item .remove {
  position: absolute;
  right: 22px;
  left: auto;
  top: 50%;
  margin: 0;
  margin-top: -10px;
  width: 20px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
}

.pin-list .item:hover .remove {
  opacity: .5;
}

.pin-list .item:hover .remove:hover {
  opacity: 1;
}

.pin-list .item editor-pin {
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -7px;
}

.pin-list .item input {
  display: inline;
  background: none;
  border: none;
  outline: none;
  max-width: 102px;
  font-family: inherit;
  font-size: 13px;
  color: white;
}

.pin-list.outputs {
  text-align: right;
  direction: rtl;
}

.pin-list .item.output editor-pin {
  right: auto;
  left: 6px;
}

.pin-list .item.output .remove {
  right: auto;
  left: 20px;
}

.pin-list .item.control {
  border-color: #FFC400;
}

.pin-list .item.control input {
  color: #FFC400;
}

.out-pins {
  position: absolute;
  bottom: 0px;
}

@keyframes spin { 100% {transform:rotate(720deg); } }
@keyframes spin-reverse { 100% {transform:rotate(-720deg); } }

.main-action-holder {
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 112px;

  will-change: transform;
  transform: scale(1);
  transition: transform .5s, opacity .3s;
}

.main-action-holder.hidden {
  z-index: -1000;
  opacity: 0;
  transform: scale(0);
}

.main-action-holder.test {
}

.main-action-holder.test.hidden {
  transform: scale(2);
}

.main-action {
  width: 96px;
  height: 96px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto;
  border: 4px solid white;
  border-radius: 96px;
  font-size: 72px;
  cursor: pointer;
  opacity: .25;
  transform: rotate(0deg);

  transition: all .3s;
}

.main-action span {
  font-size: 72px;
}

.main-action:hover {
  opacity: 1;
}

.main-action.cancel {
  transform: rotate(135deg);
  opacity: 1;
}

.main-action .play-pause {
  border: 0;
  background: transparent;
  box-sizing: border-box;
  width: 0;
  height: 74px;

  border-color: transparent transparent transparent #ffffff;
  transition: .2s all ease-in-out;
  cursor: pointer;

  border-style: solid;
  border-width: 37px 0 37px 60px;
  transform: scale(0.5) translateX(8px) rotateY(0);
}

.main-action .play-pause.playing {
  border-style: double;
  border-width: 0px 0 0px 60px;
  transform: scale(0.5) translateX(0) rotateY(180deg);
}

.action-list {
  margin-top: 24px;
  text-align: center;
}

.action-list.main {
  transform: translateY(80px);
  transition: transform .3s;
}

.action-list.main.wd {
  transform: translateY(0px);
}

.action-list.right-bar {
  position: absolute;
  width: 100%;
  z-index: 10;
  transform: translateY(-50%);
  opacity: 0;

  transition: transform .3s, opacity .3s;
}

.action-list.right-bar.active {
  transform: translateY(104px);
  opacity: 1;
}

editor-bar .button {
  padding: 2px;
  padding-bottom: 3px;
  border: 1px solid white;
  border-radius: 32px;
  font-size: 14px;
  margin: 8px 0;
  cursor: pointer;
  opacity: .5;

  transition: opacity .3s, transform .5s;
}

editor-bar .button:hover {
  opacity: 1;
}

editor-bar .button.disabled {
  opacity: .2;
  cursor: no-drop;
}

editor-bar .action-list.bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.button.save.hidden {
  opacity: 0;
  transform: scaleY(0);
}

.mode-toggle-buttons {
  height: 26px;
  width: 124px;
  margin: 8px;
  position: relative;
}

.mode-toggle-buttons .button {
  position: absolute;
  left: -8px;
  right: 8px;
  top: -8px;
}

.mode-toggle-buttons .button.test,
.mode-toggle-buttons .button.edit {
  opacity: 0;
}

.mode-toggle-buttons .button.test.active,
.mode-toggle-buttons .button.edit.active {
  transform: rotateX(0);
  opacity: .5;
}

.mode-toggle-buttons .button.test.active:hover,
.mode-toggle-buttons .button.edit.active:hover {
  opacity: 1;
}

.mode-toggle-buttons .button.test {
  transform: rotateX(90deg);
}

.mode-toggle-buttons .button.edit {
  transform: rotateX(-90deg);
}

.overlay-path {
  color: #00BFA5;
}

.overlay-input {
  color: #76FF03;
}

.overlay-input-editor {
  background: rgba(0, 0, 0, .25);
  width: calc(100% - 24px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 19px;
  padding: 8px;
}

.error-message {
  margin-bottom: 12px;
}

.error-stack {
  color: #ff0033;
  font-size: 12px;
}
