* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "franklin-gothic-urw", sans-serif;
  font-weight: 700;
  font-style: normal;
}

body {
  overflow: hidden;
  cursor: pointer;
}

main {
  padding: 2vw;
  height: 100vh;
}

h1 {
  font-size: 2.6vw;
}

h2 {
  font-size: 1.2vw;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: black;
}

a:visited {
  color: auto;
}

input {
  rotate: -90deg;
}

input[type="range"] {
  -webkit-appearance: none;
  border: 1px solid white;
  width: 7vw;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 7vw;
  height: 0.1vw;
  background: black;
  border: none;
  border-radius: noen;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 2vw;
  width: 1vw;
  border-radius: none;
  background: black;
  margin-top: -1vw;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: black;
}

input[type="range"]::-moz-range-track {
  width: 7vw;
  height: 0.1vw;
  background: black;
  border: none;
  border-radius: none;
}

input[type="range"]::-moz-range-thumb {
  border: none;
  height: 2vw;
  width: 1vw;
  border-radius: none;
  background: black;
}

input[type="range"]:-moz-focusring {
  outline: 1px solid white;
  outline-offset: -1px;
}

#canvas {
  display: block;
  cursor: pointer;
  width: 100%;
  height: 70vh;
}

footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer img {
  width: 2vw;
  height: 2vw;
}

.tools {
  display: flex;
  column-gap: 1vw;
  align-items: center;
}

.color-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4vw;
}

.color {
  width: 1.2vw;
  height: 1.2vw;
  border-radius: 1vw;
}

.color-active {
  border: solid 1px black;
}

.blue {
  background: #1881cc;
}

.orange {
  background: #e96b19;
}

.yellow {
  background: #f5bf1c;
}

.green {
  background: #049422;
}

.tool-type-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4vw;
}

.tool-type {
  color: grey;
}

.tool-type:hover {
  color: black;
}

.tool-active {
  color: #000000;
}

.ctas {
  display: flex;
  align-items: center;
  column-gap: 4vw;
}

.cta {
  display: flex;
  align-items: center;
  column-gap: 1vw;
  transition: all 0.25s ease-in-out;
}

.cta:hover {
  opacity: 0.7;
}

.clear,
.dl {
  cursor: pointer;
}

.button-wrap {
  background: #000000;
  padding-left: 1vw;
  padding-right: 1vw;
  padding-top: 0.5vw;
  padding-bottom: 0.5vw;
  transition: all 0.25s ease-in-out;
}

.button-wrap:hover {
  background: #3d3d3d;
}

.button p {
  color: #ffffff;
}

.only-mobile {
  display: none;
}

/*MOBILE*/
@media (max-width: 480px) {
  main {
    padding: 5vw;
  }

  h1 {
    font-size: 4vw;
  }

  h2 {
    font-size: 5vw;
  }

  p {
    font-size: 5vw;
  }

  #canvas {
    height: 55vh;
  }

  footer {
    flex-direction: column;
  }

  footer img {
    width: 10vw;
    height: 10vw;
  }

  .tools {
    width: 100%;
    justify-content: space-between;
  }

  .tool-type-wrap {
    text-align: right;
  }

  .color {
    width: 7vw;
    height: 7vw;
    border-radius: 10vw;
  }

  input[type="range"] {
    width: 30vw;
  }

  input[type="range"]::-webkit-slider-thumb {
    height: 10vw;
    width: 5vw;
    margin-top: -5vw;
  }

  .ctas {
    width: 100%;
    justify-content: space-between;
    padding-top: 5vw;
  }

  .cta p {
    display: none;
  }

  .only-mobile {
    display: block !important;
    margin: 2vw;
  }
}

/*REDIRECT*/
.redirect {
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.redirect h1 {
  font-size: 10vw !important;
}
