@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:ital,wght@0,100..900;1,100..900&family=Bubbler+One&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Delius&family=Gelasio:ital,wght@0,400..700;1,400..700&family=Homemade+Apple&family=Indie+Flower&family=Jost:ital,wght@0,100..900;1,100..900&family=Kumbh+Sans:wght,YOPQ@100..900,300&family=Oxanium:wght@200..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+GB+J+Guides:ital@0;1&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Tangerine:wght@400;700&display=swap');

* {
    overflow-anchor: none;
}

html,body{
    font-family: "Jost", sans-serif;
    height: 100vh;
    overflow: hidden;
}

.resize-handle {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border: 2px solid white;
    position: absolute;
    cursor: pointer;
}
.resize-handle.nw { top: -4px; left: -4px; cursor: nw-resize; }
.resize-handle.ne { top: -4px; right: -4px; cursor: ne-resize; }
.resize-handle.sw { bottom: -4px; left: -4px; cursor: sw-resize; }
.resize-handle.se { bottom: -4px; right: -4px; cursor: se-resize; }

.element-selected {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

.group {
    box-sizing: border-box;
    background: transparent;
    border: 2px dashed transparent;
    transition: border-color 0.1s;
}

.group.ring-2 {
    border-color: #3b82f6;
    border-style: solid;
}

#canvas {
    position: relative;
}