body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#controls {
    margin: 10px;
}

#canvas {
    position: relative;
    width: 80%;
    height: 80%;
    border: 2px solid black;
    overflow: hidden;
}

.shape {
    position: absolute;
    cursor: grab;
}

.circle {
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
}

.square {
    width: 30px;
    height: 30px;
    background-color: blue;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 30px solid green;
}

.nonagon {
    width: 50px;
    height: 50px;
    background-color: purple;
    clip-path: polygon(50% 0%, 78% 15%, 93% 50%, 78% 85%, 50% 100%, 22% 85%, 7% 50%, 22% 15%);
}

