#numbers {
  font-family: sans-serif;
}

/* COLORS */
html,body,
svg {
  background-color: #242442;
}

.guide {
  fill: #36417d;
}

#src_svg {
  width: 100%;
  height: 100%;
}

#seg_path {
  fill-rule: nonzero;
}

.preview {
  fill: inherit;
  stroke: inherit;
}

#seg {
  clip-path: url(#clip);
}

#seg_preview {
  stroke: #3d99f5;
  fill: #fff;
}

.handle {
  fill: #80d5ff;
  stroke: #3d99f5;
  stroke-width: 0.75;
  cursor: grab;
}

.fg {
  fill: #ffffff;
  stroke: none;
}

.s-01 {
  transform: rotate(0deg);
}

.s-02 {
  transform: rotate(60deg) scaleX(-1);
}

.s-03 {
  transform: rotate(60deg);
}

.s-04 {
  transform: rotate(120deg) scaleX(-1);
}

.s-05 {
  transform: rotate(120deg);
}

.s-06 {
  transform: rotate(180deg) scaleX(-1);
}

.s-07 {
  transform: rotate(180deg);
}

.s-08 {
  transform: rotate(240deg) scaleX(-1);
}

.s-09 {
  transform: rotate(240deg);
}

.s-10 {
  transform: rotate(300deg) scaleX(-1);
}

.s-11 {
  transform: rotate(300deg);
}

.s-12 {
  transform: rotate(0deg) scaleX(-1);
}

.s {
  -moz-clip-path: url("#clip");
  -webkit-clip-path: url("#clip");
  clip-path: url("#clip");
}

.neg {
  fill: #808080;
  stroke: #808080;
  stroke-width: 2;
  stroke-linejoin: round;
}

.neg-01 {
  transform: rotate(0deg);
}

.neg-04 {
  transform: rotate(120deg) scaleX(-1);
}

.number {
  font-family: Arial, sans-serif;
  font-size: 10px;
  fill: #000000;
}

.number-circle {
  fill: none;
  stroke: #000000;
  stroke-width: 1;
}

.fold-lines {
  fill: none;
  stroke: #000000;
  stroke-width: 0.5;
  stroke-dasharray: 4 4;
}

.buttons{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.2em;
    padding: 0.5em;
    text-align: center;
}
.button{
    display: block;
    padding: 0.25em 0.5em;
    background-color: hsla(0,0%,100%,0.8);
    color: #000;
    text-decoration: none;
    border-radius: 0.5em;
    border: none;
    font-family: sans-serif;
    font-size: 1em;
    line-height: 1em;
    cursor: pointer;
}
.button:disabled,
.button[disabled]{
    background-color: hsla(0,0%,100%,0.5);
    pointer-events:none;
    cursor: not-allowed;
}

@media print {
    html,body{
        background-color: #fff !important;
    }
  #src_svg,
  #print_svg,
  svg {
    background-color: transparent !important;
  }
  #wrapper{
      display: grid;
      margin: 0;
  }

  #src_svg {
    width: 0;
    height: 0;
  }

  @page {
    margin: 0 !important;
  }
  html, body {
    margin: 0 !important;
  }

  #print_svg {
    margin: 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    page-break-after: always;
    width: 11in;
    height: 8.25in;
  }

  .buttons {
    display: none;
  }
}

@media screen and (min-width: 800px){
    #wrapper{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: 3fr 5fr;
        grid-gap: 10px;
    }

    #src_svg,
    #print_container,
    #print_svg{
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100vh;
    }
}
@media screen and (max-width: 799.98px){
    #src_svg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    #print_container {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50vmin;
        height: 50vmin;
        pointer-events: none;
    }
    .button{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .button__text-label{
        font-size: 0.6em;
    }
}

@media screen {
  .number,
  .number-circle,
  .fold-lines,
  .neg{
    display: none;
  }
}
/** /
@media (min-width: 600px) {
  #wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-gap: 10px;
  }
}
@media (min-width: 800px) {
  #wrapper {
    display: grid;
    grid-template-columns: 3fr 5fr;
    grid-gap: 10px;
  }
}
/**/