:root {
  --darkText: #2f2f2f;
  --lightText: #f0f0d0;
  --highlightText: #f5f5d5;
  --dark: #35374B;
  --panel: #344955;
  --background: #50727B;
  --element: #78A083;
  --highlightElement: #9bb6a3;
  --alertBackground: #f77408;
}

html, body {
  margin: 0;
  padding: 0;
}
  
canvas {
  display: block;
}

.mobile-pop-up {
  background-color: var(--alertBackground);
  overflow: hidden;
  display: none;
}

@media (pointer:none), (pointer:coarse) {
  .mobile-pop-up {
    display: block;
  }
}

.main {
  width: 800px;
  margin: auto;
  margin-bottom: 50px;
  border: 5px solid var(--dark);
  border-radius: 0.2em;
}

canvas {
  margin: auto;
}

.controls {
  border-top: 5px solid var(--dark);
  border-bottom: 5px solid var(--dark);
  display: inline-grid;
  grid-template-columns: auto auto auto auto auto auto;
  overflow: hidden;
  background-color: var(--element);
  color: var(--lightText);
  width: 100%;
  padding-bottom: 5px;
  input {
    -webkit-appearance: none;
    border-radius: 5px;
    height: 12px;
    background-color: var(--lightText);
  }
  input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: var(--dark);
    cursor: pointer;
  }
  
  input::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--dark);
    cursor: pointer;
  }
}

.control {
  display: block;
  text-align: center;
}

#reset-button {
  background-color: var(--element);
  border: 2px solid var(--panel);
  font-weight: bold;
  width: 60px;
  height: 60px;
  margin-top: 22px;
  border-radius: 200px;
}

#reset-button:hover {
  background-color: var(--highlightElement);
}

.info {
  padding: 0.2em 2em 0.2em 2em;
  background-color: var(--panel);
  color: var(--lightText);
  overflow: hidden;
  a {
    color: var(--lightText);
  }
}