body {
  margin: 0;
  background-color: black;
  color: white;
  font-family: "Arial";
}

#info{
  margin: 60px;
}

h1{
  font-weight: normal;
}

h2{
   font-weight: normal;
}
/*styling for the return arrow*/
#return, #return:visited{
  /*switched the colours around to have a more subtle arrow*/
  background:transparent;
  color: white;
  font-size: 10;
  position: fixed;
  left: 0;
  bottom: 0;
  margin: 10px;
  text-decoration: none;
}
#return:hover{
  background: transparent;
  color: white;
}

/*setting the slider style*/
p{
  margin: 0;
  font-family: "courier new";
}

/*As we didin't study slider customisation in class, I ended up finding a helpful link to a site where you can visually customise a slider and it automatically writes the CSS code for you!
website where I found the link: https://www.gorillasun.de/blog/how-to-make-sliders-in-p5/
the website that hepls to create a simble slider css code: https://danielstern.ca/range.css/?ref=css-tricks#/*/

input[type=range] {
  width: 100%;
  margin: 9.5px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background: #ffffff;
  border: 0;
  border-radius: 25px;
  width: 100%;
  height: 3px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  margin-top: -9.5px;
  width: 17px;
  height: 20px;
  background: #c80000;
  border: 0px solid rgba(0, 0, 0, 0);
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ffffff;
}
input[type=range]::-moz-range-track {
  background: #ffffff;
  border: 0;
  border-radius: 25px;
  width: 100%;
  height: 3px;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #c80000;
  border: 0px solid rgba(0, 0, 0, 0);
  border: 0;
  border-radius: 50px;
  cursor: pointer;
}
input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 9.5px 0;
  color: transparent;
  width: 100%;
  height: 3px;
  cursor: pointer;
}
input[type=range]::-ms-fill-lower {
  background: #ebebeb;
  border: 0;
  border-radius: 50px;
}
input[type=range]::-ms-fill-upper {
  background: #ffffff;
  border: 0;
  border-radius: 50px;
}
input[type=range]::-ms-thumb {
  width: 22px;
  height: 22px;
  background: #c80000;
  border: 0px solid rgba(0, 0, 0, 0);
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range]:focus::-ms-fill-lower {
  background: #ffffff;
}
input[type=range]:focus::-ms-fill-upper {
  background: #ffffff;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}
