body {
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  background: #f5f5f5;
  padding: 0;
  margin: 0;
  color: #666;
}

#container {
  margin: 20px auto;
  max-width: 750px;
}

h1 {
  font-size: 24px;
  font-weight: 300;
  flex: 1;
}

#flex {
  display: flex;
}

#box {
  margin-right: 20px;
  padding: 20px;
  background: white;
  width: 185px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16)
}

p {
  margin-bottom: 5px;
}

p:first-child {
  margin-top: 0;
}

input[type="text"] {
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 16px;
    font-family: Roboto, Arial, sans-serif;
    width: 100%;
}

.cores {
  margin-bottom: 20px;
}

.cores button {
  display: inline-block;
  height: 32px;
  margin: 0 2px;
  border: solid;
  border-width: 0.1px;
}

.cores button:first-child {
  margin-left: 0;
}

.btn {
  background: #0075FF;
  height: 32px;
  text-transform: uppercase;
  color: white;
  display: block;
  text-align: center;
  line-height: 32px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 1px;
  font-size: 12px;
  margin-top: 10px;
  transition: all .5s;
}

.btn:hover {
  background: #005CC8;
}

canvas#c {
  width: 100%;
}

@media (max-width: 749px) {
  #flex {
    flex-direction: column;
  }

  #container {
    width: 90%;
  }

  #box {
    width: calc(100% - 40px);
    margin-bottom: 20px;
  }

  .slidecontainer {
    width: 100%; /* Width of the outside container */
  }
  
  /* The slider itself */
  .slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 100%; /* Full-width */
    height: 25px; /* Specified height */
    background: #d3d3d3; /* Grey background */
    outline: none; /* Remove outline */
    opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
    -webkit-transition: .2s; /* 0.2 seconds transition on hover */
    transition: opacity .2s;
  }
  
  /* Mouse-over effects */
  .slider:hover {
    opacity: 1; /* Fully shown on mouse-over */
  }
  
  /* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #04AA6D; /* Green background */
    cursor: pointer; /* Cursor on hover */
  }
  
  .slider::-moz-range-thumb {
    width: 25px; /* Set a specific slider handle width */
    height: 25px; /* Slider handle height */
    background: #04AA6D; /* Green background */
    cursor: pointer; /* Cursor on hover */
  }
  
}