body {
    background-color: #F0F0F0;
    position: relative;
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0;
    height: 100%;
    display: flex;
    font-size: 14px;
    font-family: ABC Santa Cruz, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main {
    display: flex;
    position: sticky;
    top: .5rem;
    /* padding: 1rem; */
    max-height: calc(100vh - 2rem);
    overflow-y: scroll;
    flex-grow: 1;
}


canvas {
    /* max-width: 100vw; */
    z-index: 5;
}

/* Main */
#main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75vw;
    flex-grow: 1;
    margin: 1rem;
    overflow: visible;
}

#main canvas {
    box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
}


/* Aside */
.aside {
    background-color: white;
    border-right: 1px solid rgb(223, 223, 223);
    min-width: 25vw;
    width: 25vw;
    max-width: 25vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow-y: scroll;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
    transition: 700ms;
}

.aside.collapse {
    width: 3rem;
    max-width: 3rem;
    min-width: 3rem;
}

.aside.collapse section,
.aside.collapse nav {
    opacity: 0;
}

.aside.collapse .aside-header-title {
    display: none;

}

.aside-header {
    position: sticky;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 100;
    padding: 0.65rem 1rem;
    line-height: 1.01em;
    background-color: white;
    color: black;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgb(223, 223, 223);
}

.aside-header-button {
    transition: 300ms;
    font-size: 2rem;
}

.aside.collapse .aside-header-button {
    rotate: 45deg;
}

.aside-section {
    padding: 1rem;
    border-bottom: 1px solid rgb(223, 223, 223);
}

.aside-section-header {
    margin-bottom: 1rem;
}

.aside-section-draw-generate {
    padding-top: 0;
}

.aside-section-draw {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Tabs */
.aside-tabs {
    display: flex;
}

.tab-button {
    padding: 1rem;
    border: 1.5px solid rgb(150, 150, 150);
    flex-grow: 1;
    font-weight: 600;
    color: rgb(150, 150, 150);
    background-color: rgba(0, 0, 0, 0.05);
}

.tab-button.active{
    border: 0;
    border-top: 1.5px solid rgb(150, 150, 150);
    background-color: white;
    color: black;
}

.aside-section-tab {
    display: none;
}

.aside-section-tab.active {
    display: block;
}

/* Buttons */
.vertical-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    padding: 0.5rem;
    transition: 300ms;
}

.vertical-button:hover {
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.vertical-button.active {
    border: 1.5px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.vertical-button-text {
    pointer-events: none;
    font-size: 11px;
    color: rgb(150, 150, 150);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.vertical-button *,
.horizontal-button * {
    pointer-events: none;
}

/* Horizontal-button */

.horizontal-button {
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    border: 1.5px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.25rem;
    transition: 300ms;
}

.horizontal-button:hover {
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.horizontal-button.active {
    border: 1.5px solid rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.horizontal-button-text {
    pointer-events: none;
    font-size: 11px;
    color: rgb(150, 150, 150);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Icons */
.ratio-rectangle {
    width: 1.5rem;
    /* height: 40px; */
    aspect-ratio: 1/1;
    border: 1.5px solid rgb(0, 0, 0, 0.15);
    margin-bottom: .5rem;
    pointer-events: none;
}

.rectangle {
    width: 100%;
    /* height: 40px; */
    border: 1px solid rgb(223, 223, 223);
    padding: .5rem;
}

.circle {
    width: 2rem;
    height: 2rem;
    border-radius: 100%;
    border: .2rem solid rgb(247, 247, 247);
    margin-bottom: .5rem;
    box-shadow: 0.05rem 0.15rem 0.5rem rgb(172, 172, 172);
    pointer-events: none;
}

.grid-button{
    padding:.2rem !important;
    gap:0.2rem !important;
    align-items: center;
}

.grid-circle {
    width: .05rem;
    height: .05rem;
    border-radius: 100%;
    border: .15rem solid black;

}


.draw-generate-button {
    width: 100%;
    /* height: 40px; */
    padding: .5rem;

}

.stroke-small {
    width: .5rem;
    height: .5rem;
}

.stroke-medium {
    width: .75rem;
    height: .75rem;
}

.stroke-large {
    width: 1rem;
    height: 1rem;
}

.gradient {
    background-color: rgb(156, 109, 233);
    background-color: linear-gradient(90deg, rgba(156, 109, 233, 1) 0%, rgba(233, 191, 109, 1) 100%);
    pointer-events: none;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.25rem 0.5rem 0.5rem;
    display: flex;
    justify-content: center;
}

.logo-footer {
    width: 24.5rem;
}