:root {
    --color-background: #04090c;
    --color-primary: #e6b900;
}

body {
    background-color: var(--color-background);
}

.scene-collection {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    height: 100dvh;
    width: 100dvw;
    overflow: clip;
}


voyager-explorer {
    position: relative;
    display: block;
    height: 100%;
}

menu {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    list-style-type: none;
    height: 20%;
    max-height: 100px;
    max-width: 100%;
    padding: 0;
    justify-content: center;

    #sceneScroll {
        display: flex;
        justify-content: center;
        overflow-block: clip;
        overflow-inline: scroll;
        scrollbar-width: thin;

        button:disabled {
            border-radius: 4px;
            border-color: var(--color-primary);
            border-width: 3px;
        }
    }

    li {
        height: 100%;
        line-height: 0;
    }

    button {
        height: 100%;
        border-radius: 0px;
        border: solid 0px transparent;
        padding: 0;
        outline-offset: -4px;
        aspect-ratio: 1/1;
        overflow: clip;
        cursor: pointer;



        img {
            height: 100%;
            object-fit: cover;
            transition: all 0.2s;
        }


        img:hover {
            transform: scale(1.1)
        }

        &:focus-visible {
            outline: none;
            position: relative;
            z-index: 1;
            background-color: rgba(31, 36, 38, 0.8);
            box-shadow: 0 0 3pt 2pt #bfedff;
            height: calc(100% - 6px);
            margin: 3px;
        }
    }

    .scrollControl {
        color: var(--color-primary);
        background-color: var(--color-background);
        aspect-ratio: 0.5 / 1;
        display: none;
        align-items: center;
        justify-content: center;

        svg {
            height: 50%;
        }

        &:disabled {
            color: var(--color-highlight2);
        }
    }

    &.overflowing {
        grid-template-columns: min(50px, 10vh) 1fr min(50px, 10vh);

        .scrollControl {
            display: flex
        }

        #sceneScroll {
            justify-content: flex-start;
        }
    }
}