
html,
body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

html,
body,
model-viewer {
    width: 100%;
    height: 100%;
}

model-viewer {
    display: block;
    max-width: 100%;
    transition: max-width 0.3s ease-in-out;
}

model-viewer.smaller {
    max-width: 66%;
}

a {
    color: inherit;
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

button:not([data-slide]) {
    position: absolute;
    bottom: 16px;
    right: 16px;
    /*padding: 0.5em;*/
    /*background: #fff;*/
    /*border: 1px solid #ccc;*/
    /*border-radius: 0.5em;*/
    /*font-size: 1em;*/
    /*font-weight: bold;*/
    /*text-decoration: none;*/
    /*color: #000;*/
    /*cursor: pointer;*/
    /*z-index: 1000;*/
}

.qr-button {
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    opacity: 0;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    padding: 40px;
    line-height: 1.5;
    border-left: 1px solid #e9e9e9;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.overlay * + *:not(button span) {
    margin-top: 1em;
}

.overlay.visible {
    transform: translateX(0);
}

:root {
    --brand-color: #fcc400;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9rem;
    padding: 12px 20px;
    border: none;
    background: var(--brand-color);
    color: black;
    cursor: pointer;
}

button svg {
    width: 20px;
    height: 20px;
}

button span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-left: 10px;
}

@media only screen and (min-width: 768px) {
    .overlay {
        width: 50vw;
        padding: 56px;
    }

    [slot=ar-button] {
        display: none;
    }

    .qr-button.active {
        pointer-events: auto;
        opacity: 1;
    }
}

@media only screen and (min-width: 992px) {
    .overlay {
        width: 33vw;
        padding: 80px;
    }
}

@media (prefers-color-scheme: dark) {
    html {
        /*color-scheme: dark;*/
    }

    body {
        /*color: white;*/
        /*background: black;*/
    }
}

.slides {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.slides button {
    height: 44px;
}

select {
    font: inherit;
    width: 100%;
    height: 56px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid rgba(56, 56, 56, 0.2);
}

.select {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 16px;
    left: 16px;
    max-width: 140px;
    width: 100%;
    flex-basis: 50%;
}

.select label {
    padding: 0;
    position: absolute;
    inset: 10px auto auto 12px;
    color: rgba(56, 56, 56, 1);
    pointer-events: none;
    font-size: 64%;
}

.select select {
    text-indent: 1px;
    text-overflow: '';
    -moz-appearance: none;
    -webkit-appearance: none;
    padding: 20px 40px 4px 10px;
    text-transform: capitalize;
}

/*.select i {*/
/*    position: absolute;*/
/*    right: 0;*/
/*    width: 4rem;*/
/*    height: 2.4rem;*/
/*    user-select: none;*/
/*    pointer-events: none;*/
/*    border-left: 1px solid #808080;*/
/*    background: url("/chevron.svg") no-repeat center;*/
/*    background-size: 2rem;*/
/*}*/
