body {
    /*margin: 3vh;*/
    display: flex;
    /* This centers our sketch horizontally. */
    justify-content: center;
    /* This centers our sketch vertically. */
    align-items: center;
    background-color: black;
}

#sketch {


}

p {
  text-align: left;

}

.white, .white a {
  color: #fff;
}

#overlay {
     visibility: hidden;
     position: absolute;
     left: 0px;
     top: 0px;
     width:100%;
     height:100%;
     text-align:center;
     background-color: black;
     z-index: 1000;
}



canvas {
    vertical-align: top;
    left: 10%;
    right: 10%
}
/*Chrome*/


#title {
  top: 5px;
}

h3 {
    font-family: 'Amatic SC', cursive;
    font-size: 2vw;
    color: white;
}

.btn {
  background: #000000;
  background-image: -webkit-linear-gradient(top, #000000, #000000);
  background-image: -moz-linear-gradient(top, #000000, #000000);
  background-image: -ms-linear-gradient(top, #000000, #000000);
  background-image: -o-linear-gradient(top, #000000, #000000);
  background-image: linear-gradient(to bottom, #000000, #000000);
  -webkit-border-radius: 4;
  -moz-border-radius: 4;
  border-radius: 4px;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  border: solid #ffffff 1px;
  text-decoration: none;
}
a {
    color: white;
}

.btn:hover {
  background: #ed0000;
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  #overlay div {
       width:60%;
       margin: 100px auto;
       background-color: #111;
       border:1px dotted #fff;
       color: white;
       padding:15px;
       text-align:center;
  }
  h1 {
      font-family: 'Amatic SC', cursive;
      font-size: 6vw;
      color: white;
  }
    input[type='range'] {
        overflow: hidden;
        width: 200px;
        -webkit-appearance: none;
        background-color: #212020;
    }
    input[type='range']::-webkit-slider-runnable-track {
        height: 12px;
        -webkit-appearance: none;
        color: #F9F9F9;
        margin-top: -1px;
    }
    input[type='range']::-webkit-slider-thumb {
        width: 20px;
        -webkit-appearance: none;
        height: 18px;
        cursor: ew-resize;
        background: #F1E3E4;
        box-shadow: -80px 0 0 80px #CCBCBC;
    }

    /* The Modal (background) */





}


/*@media screen and (min-width: 1500px) {
    input[type='range'] {
        overflow: hidden;
        width: 450px;
        -webkit-appearance: none;
        background-color: #21F020;
    }
    input[type='range']::-webkit-slider-runnable-track {
        height: 18px;
        -webkit-appearance: none;
        color: #F9F9F9;
        margin-top: -1px;
    }
    input[type='range']::-webkit-slider-thumb {
        width: 20px;
        -webkit-appearance: none;
        height: 18px;
        cursor: ew-resize;
        background: #F1E3E4;
        box-shadow: -80px 0 0 80px #CCBCBC;
    }
}*/

@media screen and (min-width: 600px) {
  #overlay div {
       width:33%;
       margin: 100px auto;
       background-color: #111;
       border:1px dotted #fff;
       color: white;
       padding:15px;
       text-align:center;
  }
  h1 {
      font-family: 'Amatic SC', cursive;
      font-size: 3vw;
      color: white;
  }
    input[type='range'] {
        overflow: hidden;
        width: 150px;
        -webkit-appearance: none;
        background-color: #212020;
    }
    input[type='range']::-webkit-slider-runnable-track {
        height: 18px;
        -webkit-appearance: none;
        color: #F9F9F9;
        margin-top: -1px;
    }
    input[type='range']::-webkit-slider-thumb {
        width: 20px;
        -webkit-appearance: none;
        height: 18px;
        cursor: ew-resize;
        background: #F1E3E4;
        box-shadow: -80px 0 0 80px #CCBCBC;
    }
}

/** FF*/

input[type="range"]::-moz-range-progress {
    background-color: #EB5160;
}

input[type="range"]::-moz-range-track {
    background-color: #EB5160;
}
/* IE*/

input[type="range"]::-ms-fill-lower {
    background-color: #68EDC6;
}

input[type="range"]::-ms-fill-upper {
    background-color: #EB5160;
}
