* {
    transition: all cubic-bezier(0, 0.32, 0.25, 1) 200ms;
}

body {
  background-color: #f6f5ffc4;
}

img {
  margin: 20px;
  height: 50px;
}

#editorWrapper {
  display: flex;
  flex-direction: row;
}

#lineNumbers {
  width: 50px;
  text-align: right;
  padding-right: 5px;
  border-right: 1px solid #ccc;
  user-select: none;
}

#editor {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  padding: 10px;
  font-family: 'Courier New', monospace;
  background-color: #e6e3ffc4;
}

#canvas {
  border: 5px solid black;
  border-radius: 6px;
  width: 40%;
  height: 40%;
}

#editorWrapper {
    display: flex;
    overflow: hidden;
}

#lineNumbers {
    width: 70px;
    height: 80vh;
    margin-top: 25px;
    text-align: right;
    padding-right: 10px;
    padding-left: 5px;
    border-right: 2px solid #5b86d6;
    user-select: none;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    font-size: 10pt;
    color: #333;
}

.size {
    margin-right: -1.5vw;
}

#editor {
    width: 100vw;
    height: 80vh;
    border: 2px solid #5b86d6;
    border-radius: 10px;
    padding: 10px;
    resize: none;
    font-family: 'Courier New', monospace;
    overflow-y: scroll; /* Zet verticale scroll aan */
    font-size: 10pt;
    color: #1a1a1a;
}

.buttons {
    display: flex;
    flex-direction: column;
    height: 53vh;
}

.run,.import,.export,.exportPng,.exportSvg,.color {
    height: 17vh;
    margin-left: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    border-radius: 10px;
    margin: 10px 40px 10px 40px;
    cursor: pointer;
}

.run:hover,.import:hover,.export:hover,.exportPng:hover,.exportSvg:hover,.color:hover {
    transform: scale(0.9);
  }

.run {
    background-color: #d77f7f;
    border: 4px solid #8c3535;
}

.color {
    background-color: #d7a17f;
    border: 4px solid #8c4e35;
}

.export {
    background-color: #d7c47f;
    border: 4px solid #86742e;
}

.import {
    background-color: #94d77f;
    border: 4px solid #468c30;
}

.exportPng {
    background-color: #7fd7d4;
    border: 4px solid #2d8481;
}

.exportSvg {
    background-color: #7f7fd7;
    border: 4px solid #2c2c88;
}


#colorInputSection {
    margin-left: 40px;
    margin-right: 40px;
}

#colorStorage {
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-weight: bold;
  }
  
  .storedColor {
    display: flex;
    align-items: center;
    margin-top: 5px;
  }
  
  .colorBlock {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 4px;
    border: 2px solid black;
  }

  .colorBlock:hover {
    transform: scale(0.9);
  }

  .deleteButton {
    margin-left: 10px;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 5px;
    background-color: rgb(223, 108, 108);
    cursor: pointer;
  }

  .deleteButton:hover {
    transform: scale(0.9);
  }

  .copyButton {
    background-color: #8BD65B;
    margin-left: 10px;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 5px;
    cursor: pointer;
  }

  .copyButton:hover {
    transform: scale(0.9);
  }

  #colorInput {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    margin: 5px 0px 5px 0px;
    background-color: rgb(255, 255, 255);
  }

  #add {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 10px;
    margin: 5px 0px 5px 0px;
    cursor: pointer;
  }

  #add:hover {
    transform: scale(0.95);
  }

  #colorPreview {
    width: 50px;
    height: 50px;
    border: 3px solid black;
    border-radius: 10px;
  }

  #colorPreview:hover {
    transform: scale(0.9);
  }
  
  /* Voor Hue - een simpele regenboog van kleuren */
#hue {
    background: linear-gradient(to right, red, yellow, green, cyan, blue, magenta, red);
}
  
  /* Voor Saturation - van grijs naar de huidige gekozen kleur */
#saturation {
    background: linear-gradient(to right, grey, red);  /* Rode kleur is een placeholder */
}
  
  /* Voor Lightness - van zwart naar de huidige gekozen kleur naar wit */
#lightness {
    background: linear-gradient(to right, black, red, white);  /* Rode kleur is een placeholder */
}
  
input[type=range] {
    -webkit-appearance: none;
    width: 150px;
    height: 25px;
    background: transparent;
    border-radius: 100px;
    border: 3px solid #000000;
}
  
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff80;
    cursor: pointer;
    border-radius: 100px;
    border: 3px solid #000000;
}