@charset "UTF-8";

/* Update these variables to match your brand colors and styles */

:root {
    --bs-primary: #040C1F;
    --bs-primary-dark: #182445;
    --bs-foreground: #F8FAFC;
    --h2-color: #090909;
    --h2-top-margin: 0.5em;
    --logo-start-offset: 0;
    --logo-top-offset: 2em;
    --bs-font-sans-serif: "DM Sans";
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
}

/* End of brand colors and styles */

.btn {
    background-color: var(--bs-primary);
    color: var(--bs-foreground);
    border: none;
    border-radius: 99px;
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    vertical-align: middle;
    min-height: 40px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn.show {
    color: var(--bs-foreground);
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.btn-primary {
    color: var(--bs-foreground);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    color: var(--bs-foreground);
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.btn-primary:focus {
    color: var(--bs-foreground);
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
}

.btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--bs-primary);
}

.dropdown-item:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-dark);
}

.btn-primary:active,
.btn-primary.active {
    color: var(--bs-foreground) !important;
    background-color: var(--bs-primary-dark) !important;
    border-color: var(--bs-primary-dark);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25) !important;
}

.btn-primary.disabled {
    color: var(--bs-foreground);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.logo {
    margin-left: var(--logo-start-offset);
    margin-top: var(--logo-top-offset);
}

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    -webkit-text-size-adjust: 100%;
}

/* The body is focused programmatically (tabindex="-1") so key events reach the page;
   don't show a focus outline for it. */
body:focus {
    outline: none;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

h2,
.h2 {
    margin-top: var(--h2-top-margin);
    font-weight: 700;
    line-height: 1.25;
    color: var(--h2-color);
    font-size: calc(1.325rem + 0.9vw);
    margin-bottom: 1rem;
}

/* Step-by-step instructions for navigating the device with the keyboard. */

.kbd-steps {
    margin: 1.5rem 0 0;
    padding-left: 3.25rem;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.9;
}

.kbd-steps li {
    padding-left: 0.35rem;
}

.kbd-steps li::marker {
    color: var(--bs-primary);
    font-weight: 700;
}

.kbd-note {
    margin-top: 0.75rem;
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
}

.kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bs-font-sans-serif);
    font-weight: 600;
    color: var(--bs-primary);
    background: var(--bs-foreground);
    border: 1px solid #e2e6ee;
    border-radius: 0.4rem;
    user-select: none;
}

/* Inline keycaps used within the instruction text. */
.kbd-inline {
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 0.4rem;
    font-size: 0.85rem;
    vertical-align: middle;
    box-shadow: 0 1px 0 #d3d9e4, 0 2px 4px rgba(4, 12, 31, 0.08);
}

#appActions {
    margin-left: -1.25em;
}

#appActions > * {
    margin-left: 1.25rem;
    margin-bottom: 1em;
}

.dropdown-hover-all .dropdown-menu,
.dropdown-hover > .dropdown-menu.dropend {
    margin-left: -1px !important
}

#device-dropdown-content {
    max-height: 400px;
    overflow-y: scroll;
}

#os-dropdown-content {
    max-height: 400px;
    overflow-y: scroll;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--bs-foreground);
    cursor: pointer;
    background-color: var(--bs-primary);
}

.orientation-toggle {
    display: flex;
    background-color: #e9ecef;
    border-radius: 99px;
    padding: 3px;
    gap: 2px;
}

.toggle-option {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-option:hover {
    color: #333;
}

.toggle-option.active {
    background-color: var(--bs-primary);
    color: var(--bs-foreground);
}

.toggle-option:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#appetize.portrait {
    height: 90vh;
    width: 100%;
}

#appetize.landscape {
    width: 100%;
    height: 700px;
}

@media screen and (max-width: 750px) {
    #appetize.landscape {
        width: 100%;
        height: 300px;
    }
}