#editorContainer {
  opacity: 1;
  z-index: 1;
  min-width: 350px;
  max-width: 350px;
  margin-top: 0;
  margin-right: 0;
  background: #fff;
  transition: all 0.3s;
}
#editorContainer.show {
  box-shadow: 0 0 20px rgb(0 0 0 / 15%);
}
#editorContainer.hide {
  opacity: 0;
  box-shadow: 0 0 0 rgb(0 0 0 / 0%);
}

#paragramUIContainer {
  padding: 1rem 1rem;
  max-height: calc(100vh - 80px);
  overflow-y: scroll;
  overflow-x: hidden;
  transition: all 0.3s, transform 0.6s;
}

#loadingProgressContainer {
  text-align: center;
  position: relative;
  width: 200px;
  height: 0;
  top: 48%;
  left: calc( 50% - 100px );
}
#loadingProgressContainer .progress {
  height: 3px;
  width: 100%;
  background: #dddddd;
  margin-top: 0.2rem;
}
#loadingProgressContainer .progress-bar {
  height: 100%;
  background: #8c8c8c;
}
#loadingProgressLabel {
  color: #8c8c8c;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

#resetControlsContainer {
  position: relative;
  width: 110px;
  height: 0;
  top: calc(100% - 6rem);
  left: calc( 50% - 55px );
}
#resetControlsBtn {
  cursor: pointer;
  width: 100%;
  font-size: 0.9rem;
  border-radius: 2rem;
  border: none;
  background: var(--light);
  color: #333;
  display: block;
  padding: 0.5rem 1.1rem;
  box-shadow: 0 2px 4px rgb(0 0 0 / 35%);
}

#editorToggleOpen {
  position: fixed;
  top: 1rem;
  right: 1rem;
  opacity: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 1.5rem;
  background-color: var(--light);
  color: var(--dark);
  box-shadow: 0 2px 4px rgb(0 0 0 / 35%);
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s;
}
#editorToggleOpen:after {
  content: '';
  display: block;
  position: relative;
  left: calc(50% - 10px);
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  background-image: url(https://cdn-icons-png.flaticon.com/32/219/219317.png);
}

#editorHeaderContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  height: 80px;
  overflow-y: hidden;
  transition: all 0.3s;
}
#editorHeaderContainer span {
  opacity: 1;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--black);
  transition: all 0.3s;
}
#editorToggleClose {
  width: 3rem;
  height: 3rem;
  background: none;
  color: var(--black);
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s;
}
#editorToggleClose:after {
  content: '';
  display: block;
  position: relative;
  left: calc(50% - 10px);
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  background-image: url(https://cdn-icons-png.flaticon.com/32/5368/5368396.png);
}

/*
#editorContainer.show .puiOptionGroup {
  animation: slide 0.3s 1 forwards;
  transform: translateX(100%);
}
.puiOptionGroup:nth-child(1) { animation-delay:0.0s !important; }
.puiOptionGroup:nth-child(2) { animation-delay:0.03s !important; }
.puiOptionGroup:nth-child(3) { animation-delay:0.06s !important; }
.puiOptionGroup:nth-child(4) { animation-delay:0.09s !important; }
.puiOptionGroup:nth-child(5) { animation-delay:0.12s !important; }
.puiOptionGroup:nth-child(6) { animation-delay:0.15s !important; }
.puiOptionGroup:nth-child(7) { animation-delay:0.18s !important; }
@keyframes slide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
*/

@media (min-width: 1000px) {

  #editorContainer.hide {
    margin-right: -350px
  }

  /* margin for scrollbar padding */
  #paragramUIContainer {
    margin-right: 0.5rem;
  }

  /* custom scrollbar */
  ::-webkit-scrollbar {
    width: 6px;
  }
  ::-webkit-scrollbar-track {
    background: none;
    border-radius: 3px;
  }
  ::-webkit-scrollbar-thumb {
    background: #D9D9D9;
    border-radius: 3px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #A6A6A6;
  }

}

@media (max-width: 1000px) {
  #editorToggleOpen {
    top: unset;
    bottom: 1rem;
  }
  #container {
    flex-direction: column;
  }
  #editorContainer {
    max-width: 100%;
  }
  #editorContainer.hide #editorHeaderContainer {
    height: 0;
    padding: 0 1rem;
  }
  #paragramUIContainer {
    max-height: 40vh;
  }
  #editorContainer.hide #paragramUIContainer {
    max-height: 0;
    padding: 0 1rem;
  }
  #resetControlsContainer {
    top: calc(100% - 3.5rem);
  }
}