html, body {
  font-family: 'Neue Montreal', sans-serif; 
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden; 
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#canvas-holder {
  position: relative;
  margin: 0px auto;
  width: 100%;
  height: 100%;
}

#controls {
  position: fixed;
  right: 0px; 
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  width: 200px; 
}

.row {
  justify-content: center; 
  display: flex;
  flex-direction: column; 
}

#slider-container {
  position: fixed;
  left: -45px; 
  top: 50%;
  transform: translateY(-50%);
}

#speed-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: #ddd;
  outline: none;
  opacity: 0.7;
  transition: opacity .2s;
  transform: rotate(270deg);
}

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

#speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
}

#speed-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
}

#speed-slider::-ms-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
}

#controls .row {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
}

#buttons {
  position: fixed;
  right: 5px; 
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column; 
}

#buttons button {
  padding: 30px; 
  font-size: 1rem; 
  cursor: pointer; 
}

.overlay-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Add this line to vertically align the items */
  width: 99%;
  position: absolute;
  top: 0;
  left: 0; 
  z-index: 10;
  padding: 10px;
}

.right-items {
  display: flex;
  justify-content: flex-end;
}

#about {
  color: white;
  font-size: 30px;
  cursor: pointer;
}

#works, #sounds, #images, #writing {
  color: white;
  font-size: 30px;
  margin-left: 20px; 
  cursor: pointer; 
}

#centered-name {
  position: fixed; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6.5em;
  font-family: 'Neue Montreal', sans-serif; 
  z-index: 10; 
  transition: opacity 0.3s ease; 
  color: white; 
  text-align: center; 
}

#centered-name:hover {
  cursor: pointer;
}