
.material-symbols-rounded {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' -25,
    'opsz' 24
}

.right-page {
    position: fixed !important;
    height: calc(100vh - 2rem);
    padding: 1rem;
    margin: 0;
    overflow-y: hidden;
}

.right-page img {
    display: inherit;
    margin-bottom: inherit;
}

.tool-info {
    padding: 1rem;
    padding-top: calc(1.2rem + 1.4*3rem + 1rem);
}

.title {
    font-weight: 800;
}

.subtitle {
    font-weight: 800;
    margin-left: 1rem;
}

.numbering {
    width: fit-content;
    text-align: left;
    margin-left: 3rem;
}

    .numbering li {
        display: grid;
        grid-template-columns: 0.8em minmax(0, 1fr);
        column-gap: 0.35em;
        align-items: start;
        counter-increment: item;
    }

    .numbering li::before {
        content: counter(item) ".";
        grid-column: 1;
        text-align: left;
    }

.notice {
    color: rgb(100, 70, 60, 0.3);
    width: fit-content;
    text-align: left;
    margin-left: 3rem;
    list-style: none;
}

    .notice li {
        display: grid;
        grid-template-columns: 0.8em minmax(0, 1fr);
        column-gap: 0.35em;
        align-items: start;
    }

    .notice li::before {
        content: "–";
        grid-column: 1;
        text-align: left;
    }

#uploadButton {
    background-color: rgb(100, 70, 60, 0.25);
    /* box-shadow: inset 0 0 0 1px rgb(100, 70, 60); */
    width: fit-content;
    padding: 0.4rem 0.8rem;
    border-radius: 0.25rem;
    margin-left: 3rem;
}

#uploadButton:hover {
    background-color: rgb(100, 70, 60);
    color: rgb(251, 249, 246);
}

.specimen {
    width: calc(66.6% - 0.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.canvas-container {
    background-color: rgb(100, 70, 60);
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#editorCanvas {
    background-color: rgb(251, 249, 246);
    max-height: 80%;
    max-width: 80%;
}

.color-controls, .history-controls {
    color: rgb(251, 249, 246);
    display: flex;
    flex-direction: row;
    column-gap: 0.5rem;
    width: fit-content;
    height: 4rem;
    align-items: center;
    justify-content: center;

}

        #backgroundWhiteButton {
            width: 1rem;
            height: 1rem;
            border-radius: 0.25rem;
            background-color: rgb(255, 255, 255);
        }

        #backgroundBlackButton {
            width: 1rem;
            height: 1rem;
            border-radius: 0.25rem;
            background-color: rgb(0, 0, 0);
        }

        #backgroundCustomColorButton {
            width: 1rem;
            height: 1rem;
            border-radius: 0.25rem;
            background:
            radial-gradient(
                ellipse at 12% 18%,
                rgba(255, 50, 90, 0.95) 0%,
                rgba(255, 50, 90, 0.75) 18%,
                transparent 48%
            ),
            radial-gradient(
                ellipse at 78% 12%,
                rgba(255, 210, 0, 0.95) 0%,
                rgba(255, 210, 0, 0.7) 17%,
                transparent 48%
            ),
            radial-gradient(
                ellipse at 92% 72%,
                rgba(20, 210, 110, 0.9) 0%,
                rgba(20, 210, 110, 0.65) 18%,
                transparent 50%
            ),
            radial-gradient(
                ellipse at 52% 92%,
                rgba(30, 110, 255, 0.95) 0%,
                rgba(30, 110, 255, 0.7) 20%,
                transparent 52%
            ),
            radial-gradient(
                ellipse at 8% 78%,
                rgba(150, 50, 230, 0.9) 0%,
                rgba(150, 50, 230, 0.65) 18%,
                transparent 50%
            ),
            radial-gradient(
                ellipse at 48% 46%,
                rgba(255, 70, 190, 0.85) 0%,
                rgba(255, 70, 190, 0.55) 18%,
                transparent 48%
            );
        }

            .custom-color-control {
                position: relative;
                width: 1rem;
                height: 1rem;
            }

            #backgroundCustomColorButton {
                position: absolute;
                inset: 0;

                width: 100%;
                height: 100%;
                border-radius: 0.25rem;

                /* 기존 무지개 그라디언트 유지 */
            }

            #backgroundCustomColorInput {
                position: absolute;
                inset: 0;
                z-index: 1;

                width: 100%;
                height: 100%;
                margin: 0;
                padding: 0;
                border: 0;

                opacity: 0;
                cursor: pointer;
            }

.history-controls {
    color: rgb(251, 249, 246);
    width: 80%;
    justify-content: space-between;
}

.history-controls button span {
    font-size: 1.35rem;
    align-self: center;
}

.canvas-overlay {
    pointer-events: none;
}





@media (max-width: 720px) {
    #header {
        position: fixed;
        margin: 0;
        top: 0;
        left: inherit;
        z-index: 1000;
        width: 100svw;
        height: 4rem;

        display: flex;
        align-items: center;
        justify-content: center;

        color: inherit;
        filter: invert(1);
        mix-blend-mode: inherit;
    }

    .left-page {
        background-color: rgb(251, 249, 246);
        position: absolute !important;
        width: calc(100vw - 2rem);
        height: fit-content;
        padding: 10rem 1rem 1rem 1rem;
        margin: 0;
    }

    .editing-active .left-page {
        display: none; 
    }

    .right-page {
        position: fixed !important;
        width: 100vw;
        height: 100vh;
        padding: 0;
        margin: 0;
        overflow: hidden;
        z-index: -1;
    }

    .tool-info {
        text-align: center;
        padding: 0;
    }

    .subtitle {
        text-align: center;
        font-weight: 800;
        margin: inherit;
    }

    .numbering {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        text-align: left;
        margin: 0;
        width: 70%;
        
    }

    .notice {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: inherit;
        width: 70%;
    }

    #uploadButton {
        background-color: rgb(100, 70, 60, 0.25);
        color: inherit;
        width: fit-content;

        padding: 0.5rem 1rem;
        margin-left: inherit;
    }

    .specimen {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: calc(80% - 0.5rem);
        margin: inherit;
    }

    .canvas-container {
        background-color: rgb(100, 70, 60, 0.25);
    }

    #editorCanvas {
        touch-action: none;
    }

    .color-controls button, .history-controls button {
        color: rgb(100, 70, 60);
    }

    #backgroundEyedropperButton span {
        color: rgb(100, 70, 60);
        display: flex;
        align-self: center;
        font-size: 1.35rem;
    }

    .center-M {
        text-align: center;
    }
}





@media (max-width: 500px) {

}