#canvas-container {
  margin: 0 auto;
  padding: 40px;
  background: rgb(58,170,53);
  background: linear-gradient(141deg, rgba(58,170,53,1) 0%, rgba(201,226,101,1) 100%);
  border-radius: 10px;
}

#p5-editor, #p5-editor-code {
  height: 800px;
  overflow-y: scroll;
}

#p5-editor-code {
  font-family: Courier, monospace;
  padding: .85rem;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.CodeMirror {
  font-size: .85rem;
}

.editor-shape, #editor-shape {
  max-width: 100%;
  /*margin: 1rem;*/
}

.editor-shape-points {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
}

.editor-shape-color-preview {
  width: 32px;
  height: 32px;
  margin-right: 1rem;
}

.editor-shape-position {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
}

.editor-shape-points input, .editor-shape-position input {
}

.color-picker-box {
  width: 50px;
  height: 50px;
  margin-bottom: .5rem;
}

.editor-shape .input-group {
  margin-bottom: .5rem;
}

.editor-shape-remove {
  margin-left: 1rem;
}

.add-shape {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: nowrap;

}

.shape-image {
  width: 48px;
  height: 48px;
}

.add-shape-button {
  min-width: 215px;
}

.steamdive-container {
  width: 90%;
  margin: 0 auto;
}

@media (max-width: 1850px) {
  .steamdive-container {
    width: 98%;
  }
}

.accordion-button:hover {
  cursor: pointer;
}

.btn-primary {
  font-weight: 700;
  background-color: #94C01F;
  border-color: #94C01F;
}

.btn-primary:hover {
  background-color: #3AAA35;
  border-color: #3AAA35;
}

.image-processing-style-items {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.style-choose-img {
  margin: 1rem;
  text-align: center;
}

.style-choose-img img {
  max-height: 140px;
}

.style-choose-img button {
  margin-top: .5rem;
}

#color-picker-canvas .color-picker-box {
  border: 1px solid #000000;
}

.canvas-color {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#color-picker-canvas {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

#color-picker-canvas .color-picker-box {
  margin: 1rem;
}

#horizontalRuler {
  position: absolute;
  background: url(horizontal.svg);
  width: 500px;
  height: 20px;
  left: 0;
  top: -20px;
  overflow: hidden;
  background-repeat: no-repeat;
}

#verticalRuler {
  position: absolute;
  background: url(vertical.svg);
  width: 20px;
  height: 400px;
  left: -20px;
  top: -20px;
  overflow: hidden;
  background-repeat: no-repeat;
}

.hljs-number {
  border-bottom: 1px dashed blue;
}
