.controls-box {
  position: absolute;
  bottom: 20px;
  left: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #ffb900;
  border-radius: 10px;
  padding: 15px;
  color: white;
  max-width: 250px;
  font-family: Arial, sans-serif;
}

.controls-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  color: #ffb900;
  font-size: 16px;
  letter-spacing: 1px;
  color: white;
}

.control-item {
  display: flex;
  align-items: center;
  margin: 8px 0;
  font-size: 14px;
  margin-bottom: 10px;
}

.key-group {
  display: flex;
  gap: 5px;
  margin-right: 15px;
}

.key-icon {
  background-color: transparent;
  border: 1px solid #ffb900;
  color: #ffb900;
  font-weight: normal;
  padding: 3px 8px;
  margin-right: 12px;
  border-radius: 3px;
  min-width: 40px;
  text-align: center;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
.key-icon {
  min-width: 35px;
  height: 35px;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 5px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 -2px 0 #d0d0d0;
  border: 1px solid #999;
  margin-right: 15px;
  font-size: 16px;
  padding: 0 5px;
}
}

.key-icon:active {
  transform: none;
}

.key-space {
  min-width: 100px;
}

.control-item span {
  color: white;
}

@media only screen and (max-height: 770px) {
  .controls-box {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .controls-box {
    position: static;
    margin: 20px auto 0;
    max-width: 90%;
    left: auto;
    bottom: auto;
  }
}

@media screen and (max-width: 480px) {
  .controls-box {
    font-size: 12px;
    padding: 10px;
    margin-top: 15px;
  }
  
  .key-icon {
    min-width: 30px;
    height: 30px;
    font-size: 14px;
    margin-right: 10px;
  }
  
  .key-space {
    min-width: 80px;
  }
}
