body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #fafafa;
}

h1 {
  margin-top: 20px;
  color: #333;
}

#controls {
  margin: 20px auto;
  text-align: left;
  max-width: 500px;
  background-color: #f2f2f2;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#controls h2 {
  text-align: center;
  margin-bottom: 15px;
}

#controls label {
  display: inline-block;
  width: 120px;
  margin-bottom: 5px;
}

#controls input, #controls select {
  width: calc(100% - 130px);
  margin-bottom: 10px;
  padding: 5px;
}

#designArea {
  max-width: 100%;
  margin: 20px auto;
  width: 500px;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid #ccc;
  position: relative;
  background-color: #fff;
}

#mySVG {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 500px;
  background-color: #f9f9f9;
}



button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007BFF;
  color: white;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

#designList {
  list-style-type: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

#designList li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0;
  padding: 5px;
  background-color: #eee;
  border-radius: 4px;
}

#designList li span {
  flex-grow: 1;
  cursor: pointer;
  text-align: left;
  color: #333;
}

#designList li button {
  padding: 5px 10px;
  margin-left: 10px;
  background-color: #dc3545;
}

#designList li button:hover {
  background-color: #c82333;
}

@media (max-width: 600px) {
  #designArea {
    width: 90%;
  }
}