kiss-popoutmenu {
    display: flex;
    align-items: flex-start;
    position: fixed;
    background: var(--kiss-popoutmenu-background, rgba(0,0,0,.1));
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    touch-action: none;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    z-index: 10000;
    transition: opacity .3s;
}

kiss-popoutmenu > kiss-content {
    position: relative;
    display: flow-root;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;

    padding: var(--kiss-popoutmenu-content-spacing, 15px);

    background: var(--kiss-popoutmenu-content-background, #fff);
    color: var(--kiss-popoutmenu-content-color, inherit);

    min-width: var(--kiss-popoutmenu-width, 250px);
    max-width: calc(100% - 0.01px) !important;

    box-sizing: border-box;

    transform: translateY(20px);
    transition: all 200ms;
}

kiss-popoutmenu[size="large"] > kiss-content {
    width: var(--kiss-popoutmenu-large-width, 600px);
}

kiss-popoutmenu[open] {
    opacity: 1;
    pointer-events: auto;
}
kiss-popoutmenu[open] > kiss-content {
    transform: translateY(10px);
}

kiss-popoutmenu kiss-navlist a {
    color: var(--kiss-popoutmenu-color, inherit);
}

kiss-popoutmenu kiss-navlist a:hover {
    color: var(--kiss-popoutmenu-color-hover, inherit);
}