/*
 * This site's look: what the WordPress Customizer writes for a gCube site, kept as a file because the
 * standalone CSP allows no inline styles. Change the values; the cube's own CSS (cube.css) reads them.
 */

:root {
    --color-bg: #1b1b2f;
    --color-txt: #ffffff;
    --gradcolor1: #e2e2e2;
    --gradcolor2: #ffffff;
    --gradcolor3: #f2f2f2;
    --gradcolor4: #c9c9c9;
    --semi-transparant: rgba(255, 255, 255, 0.28);

    --default-cubeheight: 80vmin;
    --default-cubewidth: 80vmin;
    --scene-perspective: 200vmin;
    --scene-perspective-origin: 50% 50%;

    --nav-button-bg-color: #ffffff;
    --nav-button-text-color: #000000;
    --nav-button-padding: 10px 20px;
    --nav-button-margin: 10px;
    --nav-button-font-size: 16px;
    --nav-button-border-style: solid;
    --nav-button-border-color: #000000;
    --nav-button-border-width: 1px;
    --nav-button-border-radius: 12px;
    --nav-button-hover-bg-color: #1b1b2f;
    --nav-button-hover-text-color: #ffffff;
    --nav-button-min-width: 18vmin;
    --nav-button-max-height: 5vmin;
    --nav-wrapper-default-width: 15%;
}

body,
.navButton {
    font-family: 'Ubuntu', sans-serif;
}

/* Light faces: dark ink. The front face is glass: the glass box shows through it. */
#cube .one,
#cube .three,
#cube .four,
#cube .five,
#cube .six {
    --face-ink: #1b1712;
}

#cube .two {
    --face-front-bg: var(--semi-transparant);
    --face-front-bg-size: auto;
    --face-front-animation: none;
}

#cube .face .face-body h2 {
    color: inherit;
    text-align: center;
    margin-block: 0 1rem;
}

/* The product face: the stage, what is shown, and the buttons to pick a product. */
#cube .face .shop {
    display: grid;
    gap: 0.75rem;
    width: 100%;
    max-width: 60vmin;
    margin-inline: auto;
}

#cube .face .shop-stage {
    width: min(100%, 44vmin);
    margin-inline: auto;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #e9e6e1 70%);
}

#cube .face .shop-stage .g-splat-poster {
    object-fit: contain;
}

#cube .face .shop-info p {
    margin: 0;
    text-align: center;
}

#cube .face .shop-name {
    font-weight: 600;
}

#cube .face .shop-credit {
    font-size: 12px;
    opacity: 0.65;
}

#cube .face .shop-picker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

#cube .face .shop-picker button {
    font: inherit;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

#cube .face .shop-picker button[aria-pressed="true"] {
    background: #1b1712;
    color: #ffffff;
}

/* Steps (how we make it, how to make your own) and the contact links. */
#cube .face .steps {
    max-width: var(--measure-golden, 60ch);
    margin: 1rem auto 0;
    padding-left: 1.4em;
    display: grid;
    gap: 0.6rem;
    text-align: left;
}

#cube .face .steps span {
    display: block;
}

#cube .face .contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

#cube .face .contact a {
    color: inherit;
}
