* {
  box-sizing: border-box;
}

body {
  margin: 32px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background-color: oklch(0.20472 0.01214 185.35);
  color: oklch(0.95302 0.2728 277.31);

  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

canvas {
  width: 100%;
  height: 500px;
}

select {
  margin: 0;
  width: 100%;
  max-width: 250px;
  height: 40px;
  padding: 4px 24px;
  -webkit-appearance: none;
  appearance: none;
  color: white;
  background: oklch(0.20472 0.01214 185.35 / .3);
  cursor: pointer;
}

button {
  padding: 0;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
}

.buttonBasic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 44px;
  padding: 4px 24px;
  font-family: sans-serif;
  font-size: 14px;
  color: oklch(0.20472 0.01214 185.35);
  text-align: center;
  overflow-wrap: anywhere;
  border: 1px solid oklch(0.20472 0.01214 185.35);
  background-color: oklch(0.95302 0.2728 277.31);
}

#saveButton {
  width: 40px;
  height: 40px;
  padding: 4px;
}

@media (any-hover: hover) {
  .buttonBasic {
    transition: background-color 0.2s;
  }

  .buttonBasic:hover {
    color: oklch(0.95302 0.2728 277.31);
    background-color: oklch(0.20472 0.01214 185.35);
    border-color: oklch(0.95302 0.2728 277.31);

  }
}

.rendering {
  padding: 8px;
  position: relative;
  width: 100%;
}

.rendering::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: calc(100% - 15px);
  border: 1px solid oklch(0.87561 0.00031 248.16);
  z-index: -1;
}

.flexRow {
  display: flex;
  flex-direction: row;
}

.upperSpace {
  margin-top: 32px;
}

.downloadContent {
  align-items: center;
  justify-content: space-between;
}

.optionSection {
  padding: 8px;
  position: relative;
  width: 100%;
}

.optionSection::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: calc(100% - 15px);
  border: 1px solid oklch(0.87561 0.00031 248.16);
  z-index: -1;
}


.patternBlockWrapper {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  position: relative;
  z-index: 5;
  background-color: oklch(0.20472 0.01214 185.35);
  padding: 0 4px;
}

.patternBlock1 {
  display: inline-flex;
  align-items: center;
  height: 8px;
  width: 8px;
  background-color: oklch(0.87561 0.00031 248.16);
  color: oklch(0.20472 0.01214 185.35);
}

.patternBlock2 {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 8px;
  width: 8px;
  background-color: oklch(0.20472 0.01214 185.35);
  color: oklch(0.87561 0.00031 248.16);
  box-shadow: currentcolor 0px 0px 0px 1px inset;
}

.blockLabel {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding: 2px 4px;
  border-radius: 0px;
  background-color: oklch(0.87561 0.00031 248.16);
  color: oklch(0.20472 0.01214 185.35);
  font-size: 10px;
}

/* oklch(0.95302 0.2728 277.31); opacity: 1 - 0.1, 0.05, 0.025, 0.0125 */

@media (width > 500px) {
  body {
    margin: 64px 0;
    justify-content: center;
  }

  canvas {
    width: 500px;
    height: 500px;
  }

  .rendering {
    width: auto;
  }

  .optionSection {
    max-width: 400px;
  }
}
