body {
  margin: 0;
  background-color: white;
  color: black;
  font-family: "IBM Plex Mono", monospace;
}

main {
  display: grid;
  grid-template-columns: 350px 1fr; /*gives the artboard the remaining width*/
  height: 100vh; /*makes main one viewport tall*/
}

h1 {
  margin: 0px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: normal;
  font-size: 35px;
  margin-bottom: 6px;
  padding: 0;
  line-height: 1;
}

canvas {
  display: block;
  flex-shrink: 0; /*prevent the canvas from being squeezed narrower*/
}

#canvasContainer {
  background: rgb(238, 238, 238);
  display: flex;
  justify-content: center; /*center horizontally*/
  align-items: center; /*center vertically*/
  overflow: hidden; /*clips when overflowing sidebar*/
}

/*----------*/

.panel {
  box-sizing: border-box; /*includes padding and borders within an element’s specified dimensions*/
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow-x: hidden; /*clips horizontal overflow. It hides oversized content rather than resizing it. Prevents horizontal scrolling */
  overflow-y: auto; /*allows vertical scrolling when the panel’s content exceeds its available height*/
  z-index: 10; /* higher than the canvas */
}

.column-area {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  flex-direction: column;
  flex-shrink: 0;
  /*outline: 2px solid red;*/
}

.panel button {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px;
  border-color: black;
  border-style: solid;
  cursor: pointer;
  padding: 5px;
  display: block;
width: 100%;
margin-bottom: 12px;
}

.panel button:hover {
  background-color: black;
  color: white;
}

.panel .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 0;
  border: 1px solid #999;
  border-radius: 50%;
  line-height: 1;
  vertical-align: middle;
  cursor: help;
}

.grid-divider {
  border: 0;
  border-top: 1px solid #c8c8c8;
  margin: 0 -16px 15px -14px;
}

#save {
  margin-top: auto;
  margin-bottom: 0;
  flex-shrink: 0;
}


.tool-group{
  padding-top: 18px;
  padding-bottom: 4px;
  padding-left: 14px;
  padding-right: 16px;
  margin-bottom: 12px;
}



.tool-group legend {

 font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  margin-top: 0px;
}

.tool-group label {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  margin-top:5px;
  margin-bottom:14px;
}

#width-slider label {
  display: flex;
  justify-content: space-between;
}

#height-slider label {
  display: flex;
  justify-content: space-between;
}

#column-slider label {
  display: flex;
  justify-content: space-between;
}

#row-slider label {
  display: flex;
  justify-content: space-between;
}

fieldset {
   border: 1px solid rgb(200, 200, 200) !important;
 
}

#name {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
  line-height: auto;
  font-size: 10px;
  margin: 0;
  margin-bottom: 5px;
  letter-spacing: 10%;
}

#description {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
  line-height: auto;
  font-size: 14px;
  margin: 0;
  margin-bottom: 20px;
}

.tool-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 0px;
  width: 100%;
  cursor: pointer;
  padding: 0;
border: 0;
border-top: 1px solid black;
border-bottom: none;
}

#width-slider {
  display: flex;
  flex-direction: column-reverse;
  
}

#height-slider {
  display: flex;
  flex-direction: column-reverse;
 
}

#column-slider {
  display: flex;
  flex-direction: column-reverse;
  
}

#row-slider {
  display: flex;
  flex-direction: column-reverse;
 
}

.tool-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: black;
  width: 8px;
  height: 8px;
  cursor: pointer;
  border-radius: 50%;
}

.color-pickers input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border: 1px;
  border-color: black;
  border-style: solid;
  
}

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

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

.color-pickers {
  display: flex;
  flex-direction: row;


}

#fill-picker {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  flex-grow: 1;
  position: relative;
  margin-bottom: 12px;
}

#fill-picker label {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#grid-picker {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  flex-grow: 1;
  position: relative;
  margin-bottom: 12px;
}

#grid-picker label {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#grid-picker input[type="color"] {
  width: auto;
  align-self: stretch;
}

#fill-picker input[type="color"] {
  width: auto;
  align-self: stretch;
}



/*styling for the return arrow*/
#return,
#return:visited {
  background: white;
  color: black;
  font-size: 18px;
  position: fixed; /*Keeps the arrow at the viewport’s bottom-left corner*/
  left: 0;
  bottom: 0;
  margin: 10px;
  text-decoration: none;
  z-index: 20; /*controls stacking when elements overlap. It does not position them*/
}

#return:hover {
  background: black;
  color: white;
}

/* ---------------------------------------- */
/*
.ibm-plex-mono-thin {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-mono-extralight {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-mono-light {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-mono-regular {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-mono-medium {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-mono-semibold {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-mono-bold {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-mono-thin-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-mono-extralight-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-mono-light-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-mono-regular-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-mono-medium-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-mono-semibold-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-mono-bold-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

--------------------------------------------
--------------------------------------------
--------------------------------------------
.ibm-plex-serif-thin {
  font-family: "IBM Plex Serif", serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-serif-extralight {
  font-family: "IBM Plex Serif", serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-serif-light {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-serif-medium {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-serif-semibold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-serif-thin-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-serif-extralight-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-serif-light-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-serif-regular-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-serif-medium-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-serif-semibold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-serif-bold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: italic;
}

--------------------------------------------
--------------------------------------------
--------------------------------------------

.ibm-plex-sans-<uniquifier> {
  font-family: "IBM Plex Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

  */
