body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #0d47a1, #2196f3, #ff8a65);
  color: #fff;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.controls {
  background: #ffffff11;
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.controls label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.controls input,
.controls select,
.controls button {
  margin-top: 5px;
  padding: 8px;
  border-radius: 5px;
  border: none;
}

.controls button {
  background-color: #ff8a65;
  color: white;
  cursor: pointer;
}

#canvas {
  margin-top: 30px;
  background: #fff;
  min-height: 400px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.shape {
  position: absolute;
}

.circle {
  border-radius: 50%;
}

.square {
  transition: transform 0.3s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid red;
}
