/* Maple Mono NF font faces */
@font-face {
    font-family: "Maple Mono NF";
    src: local("Maple Mono NF"), 
        url("./fonts/Maple-Mono-NF-Regular.woff2") format("woff2"),
        url("./fonts/Maple-Mono-NF-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Maple Mono NF";
    src: local("Maple Mono NF Bold"), 
        url("./fonts/Maple-Mono-NF-Bold.woff2") format("woff2"),
        url("./fonts/Maple-Mono-NF-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Maple Mono NF";
    src: local("Maple Mono NF Italic"), 
        url("./fonts/Maple-Mono-NF-Italic.woff2") format("woff2"),
        url("./fonts/Maple-Mono-NF-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Maple Mono NF";
    src: local("Maple Mono NF Bold Italic"), 
        url("./fonts/Maple-Mono-NF-BoldItalic.woff2") format("woff2"),
        url("./fonts/Maple-Mono-NF-BoldItalic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

.ccss-editor {

    h2 {
        margin: .2rem 0 0 0;
        font-size: 1.25em;
    }

    .notes {
        flex-basis: unset;
        padding: 0;
    }

    #ccss-super-container {
        display: flex;
        flex-direction: column;
        height: 90%;
        width: 100%;
    }

    .stylesheet-container {
        display: flex;
        flex-direction: column;
        height: 75%;
        min-height: 5%;
        width: 100%;
    }

    .stylesheet-editor {
        width: 100%;
        min-height: 10px;
        
        * {
            font-family: 'Maple Mono NF', monospace;
        }
    }

    code-mirror {
        height: 100%;
        width: 100%;

        * {
            font-family: 'Maple Mono NF', monospace;
        }
    }

    #ccss-top {
        padding: 0;
        margin: 0;
        height: 100%;
    }

    #ccss-bottom {
        height: 100%;
    }

    #ccss-separator {
        cursor: row-resize;
        width: 100%;
        height: 10px;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: var(--color-pf-primary);
        mask-image: linear-gradient( to right, 
          transparent, 
          transparent calc( 50% - 25px), 
          black calc( 50% - 25px),  
          black calc( 50% + 25px), 
          transparent calc( 50% + 25px),
          transparent );
        mask-size: 100% 0.3rem;
        mask-position: 0% 0%;
        mask-repeat: no-repeat;
        margin-bottom: -0.3rem;
    }
}