:root {
  --status-bar-height: 0px;
}

body {
  background-color: #282a36;
  margin: 0;
  overflow-x: hidden;
  max-height: 100vh;
}


.outputs {
  display: block;
  flex-grow: 1;
  max-width: 50vw;
  width: 50vw;
  display: flex;
  flex-direction: column;
  margin: 5px;
  /* background-color: #ff0000; */
  resize: horizontal;
  overflow: hidden;
  max-height: calc(100% - 10px);
}

.output {
  /* width: 100%; */
  border: 1px solid #8087a2;
  background-color: #1a1c24;
  height: 75%;
  min-height: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  resize: vertical;
}

#loading-screen {
  position: absolute;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background-color: #282a36;
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

#loading-screen-content {
  font-size: x-large;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#console {
  border: 1px solid #8087a2;
  border-top: unset;
  /* width: 100%; */
  min-height: 20%;
  height: 20%;
  flex-grow: 1;
  padding: 5px;
  color: #ffffff;
  overflow: auto;
}

/* the canvas */
#output {
  display: block;
  background-color: #ffffff;
}

.main {
  width: 100vw;
  max-height: 100vh;
  height: calc(100vh - var(--status-bar-height));
  display: flex;
  align-content: stretch;
  flex-grow: 1;
}

.leftContainer {
  display: flex;
  flex-direction: column;
}

.btnbar {
  gap: 5px;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 2px;
  display: flex;
  place-content: end;
}


#editor {
  border-right: 1px solid #8087a2;
  border-top: 1px solid #8087a2;
  width: 45vw;
  font-size: large;
  resize: horizontal;
  overflow: hidden;
  min-width: 20vw;
  flex-grow: 1;
  margin-bottom: 5px;
}

.btn {
  border: 1px solid #6f6fc5;
  border-radius: 2px;
  background-color: #0f1014;
  color: #8891cc;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  min-width: 10%;
  font-size: larger;
}

.btn:hover {
  background-color: #232630;
  border-color: #8181dd;
  cursor: pointer;
}

#example_select {
  border: 1px solid #6f6fc5;
  border-radius: 2px;
  background-color: #0f1014;
  color: #8891cc;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  min-width: 25%;
  font-size: larger;
}

#example_select:hover {
  background-color: #232630;
  border-color: #8181dd;
  cursor: pointer;
}

.sidebar {
  border-left: 1px solid #8087a2;
  border-top: 1px solid #8087a2;
  border-bottom: 1px solid #8087a2;
  margin-top: 5px;
  margin-bottom: 5px;
  /* padding: 5px; */
  min-width: 15vw;
  flex-grow: 1;
  color: white;
}

.sidebar-title {
  background-color: #1a1c24;
  width: 100%;
  padding: 5px;
  border-bottom: 1px solid #535768;
}

.sidebar-content {
  width: 100%;
  padding: 5px;
}

.sidebar-content:nth-child(even) {
  background-color: #232630;
}

.status-bar {
  width: 100vw;
  background-color: #0f1014;
  height: var(--status-bar-height);
}

.property {
  padding: 5px;
  width: 100%;
  max-height: 25px;
  display: flex;
  /* justify-content: center;
    align-content: center; */
  /* flex-direction: column; */
  border-bottom: 1px #414758 solid;
}

.property-name {
  width: 35%;
  max-width: 50%;

  justify-self: center;
  align-self: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: large;
}

.property-input input {
  width: 100%;
}

.property-input {
  width: 65%;
  flex-grow: 1;
  /* padding: 5px; */
  margin-left: 5px;
  margin-right: 20px;
  height: 25px;
  /* display: flex; */
}

.property-value {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin: 0;
}

input[type="submit"] {
  border-radius: 0px;
  outline: none;
  height: 25px;
}

input[type="range"] {
  position: relative;
  top: -0.4rem;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  /* margin-left: 0.5rem; */
  margin: 0;
  offset: 0;
  box-sizing: content-box;
  /* width: 15rem; */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  /* Override default look */
  appearance: none;
  margin-top: -0.2rem;
  border-radius: 0.1rem;
  background-color: #5ceb98;
  height: 0.5rem;
  width: 0.6rem;
}

input[type="range"]::-moz-range-thumb {
  border: none;
  /*Removes extra border that FF applies*/
  border-radius: 0.1rem;
  /*Removes default border-radius that FF applies*/
  background-color: #5ceb98;
  height: 0.5rem;
  width: 0.6rem;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: #828d96;
  height: 0.2rem;
}

/******** Firefox ********/
input[type="range"]::-moz-range-track {
  background: #828d96;
  height: 0.2rem;
}

input[type="color"] {
  border-radius: 2px;
  padding: 0;
  border: 2px solid #DDD;
  max-height: 25px;
}

input[type="color"]::-moz-color-swatch {
  border: none;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
}




.lds-heart,
.lds-heart div,
.lds-heart div:after,
.lds-heart div:before {
  box-sizing: border-box;
}

.lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
}

.lds-heart div {
  top: 28px;
  left: 28px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: currentColor;
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.lds-heart div:after,
.lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: currentColor;
}

.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}

.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}

@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }

  5% {
    transform: scale(1.1);
  }

  39% {
    transform: scale(0.85);
  }

  45% {
    transform: scale(1);
  }

  60% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(0.9);
  }
}








.lds-ripple,
.lds-ripple div {
  box-sizing: border-box;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid currentColor;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }

  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}