:root {
  --main: hsl(350, 95%, 60%);
  --highlight: white;
  --hover: hsla(0, 0%, 100%, 0.4);
  --active: hsla(0, 0%, 100%, 0.6);
  --shadow: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  font-family: 'ft88';
  color: var(--highlight);
}

@font-face {
  font-family: 'ft88';
  src: url('./FT88.otf');
}

body {
  text-align: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  background: var(--main);
  padding-bottom: 100px;
}

h1 {
  font-size: 2.25rem;
  line-height: 3.25rem;
}

#mobile {
  display: none;
}

#commands {
  letter-spacing: 1px;
  z-index: 0;
  animation: fade-in 0.4s;
  margin-top: 75px;
  font-size: 1rem;
}

span {
  margin: 0 5px;
  padding: 14px 12px;
  border: solid 1.5px var(--highlight);
  border-radius: 5px;
}

#controls {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fade-in 0.4s;
}

button {
  width: 160px;
  text-transform: uppercase;
  letter-spacing: 10px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  padding: 18px 20px 15px 32px;
  background: var(--highlight);
  border-radius: 500px;
  color: var(--main);
  border: none;
  cursor: pointer;
}

button:hover {
  box-shadow: 0px 0px var(--shadow) var(--hover),
    0px 0px var(--shadow) var(--hover), 0px 0px var(--shadow) var(--hover),
    0px 0px var(--shadow) var(--hover);
}

button:active {
  box-shadow: 0px 0px var(--shadow) var(--active),
    0px 0px var(--shadow) var(--active), 0px 0px var(--shadow) var(--active),
    0px 0px var(--shadow) var(--active);
}

#inputs {
  display: flex;
  margin-top: 30px;
}

.input {
  margin: 0px 15px;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 11px;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 8px;
}

input {
  z-index: 2;
}

input[type='range'] {
  appearance: none;
  transform: scale(-1);
  height: 26px;
  width: 130px;
  outline: none;
  border-radius: 30px;
  cursor: pointer;
  padding: 5px;
  border: solid 1.5px var(--highlight);
  background: var(--main);
}

input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--highlight);
  border-radius: 30px;
  outline: none;
}

input[type='range']:hover::-webkit-slider-thumb {
  box-shadow: 0px 0px 30px var(--hover), 0px 0px 30px var(--hover),
    0px 0px 30px var(--hover), 0px 0px 30px var(--hover);
}

input[type='range']:active::-webkit-slider-thumb {
  box-shadow: 0px 0px 30px var(--active), 0px 0px 30px var(--active),
    0px 0px 30px var(--active), 0px 0px 30px var(--active);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 700px) {
  body {
    padding: 50px 50px 120px 50px;
  }

  h1 {
    padding: 0 20px;
  }

  #mobile {
    margin-top: 40px;
    display: block;
    font-size: 1.25rem;
    line-height: 1.5rem;
  }
}
