body {
  font-size: 16px;
  color: #6f6f6f;
  font-family: Consolas, Monaco, Lucida Console, Liberation Mono,
    DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  margin: 0;
}

.titleContainer {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.sideNav {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: space-between;
  width: relative;
  height: 100vh;
  border: solid #6f6f6f;
  border-width: 0 2px 0 0;
}

h1 {
  color: #1a1a1a;
  text-shadow: -1px -1px 0 #6f6f6f, 1px -1px 0 #6f6f6f, -1px 1px 0 #6f6f6f,
    1px 1px 0 #6f6f6f;
}

.label {
  font-size: 1.25rem;
  margin: 0;
}

#text-input > input[type="text"]:focus {
  outline: none;
  border: 2px solid #6f6f6f;
}

#text-input {
  color: #6f6f6f;
  background-color: #1a1a1a;
  padding: 0.5em;
  font-size: 1.5em;
  font-family: Consolas, Monaco, Lucida Console, Liberation Mono,
    DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New;
  text-align: center;
  border: 2px solid #1a1a1a;
  border-bottom: 2px solid #6f6f6f;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#dynamic-text {
  font-size: 6.5rem;
  text-align: center;
}

.control-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.toggle {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#toggle-animation {
  padding: 0;
  border: 2px solid #6f6f6f;
  border-radius: 18px;
  background-color: #1a1a1a; /* off state */
  position: relative;
  display: inline-block;
  width: 64px;
  height: 36px;
}

#toggle-animation::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

#toggle-animation.on::before {
  transform: translateX(26px);
}

#toggle-animation.on {
  background-color: #4d4d4d; /* on state */
}

.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.slider-container.hidden {
  display: none;
}

#speed-input {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #6f6f6f;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  margin-top: 1rem;
}

#speed-input:hover {
  opacity: 1;
}

#speed-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #1a1a1a;
  cursor: pointer;
  border: 2px solid #6f6f6f;
  border-radius: 50%;
}

#speed-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #1a1a1a;
  cursor: pointer;
  border: 2px solid #6f6f6f;
  border-radius: 50%;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 1rem;
  color: #6f6f6f;
  margin-top: 0.5rem;
}
