.container {
    max-width: 960px;
}

.icon-link>.bi {
    width: .75em;
    height: .75em;
}

/*
 * Custom translucent site header
 */

.site-header {
    background-color: rgba(0, 0, 0, .85);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.site-header a {
    color: #8e8e8e;
    transition: color .15s ease-in-out;
}

.site-header a:hover {
    color: #fff;
    text-decoration: none;
}

/*
 * Dummy devices (replace them with your own or something else entirely!)
 */

.product-device {
    position: absolute;
    right: 10%;
    bottom: -30%;
    width: 300px;
    height: 540px;
    background-color: #333;
    border-radius: 21px;
    transform: rotate(30deg);
}

.product-device::before {
    position: absolute;
    top: 10%;
    right: 10px;
    bottom: 10%;
    left: 10px;
    content: "";
    background-color: rgba(255, 255, 255, .1);
    border-radius: 5px;
}

.product-device-2 {
    top: -25%;
    right: auto;
    bottom: 0;
    left: 5%;
    background-color: #e5e5e5;
}


/*
 * Extra utilities
 */

.flex-equal>* {
    flex: 1;
}

@media (min-width: 768px) {
    .flex-md-equal>* {
        flex: 1;
    }
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow:
        inset 0 0.5em 1.5em #0000001a,
        inset 0 0.125em 0.5em #00000026;
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.object-fit-cover {
    object-fit: cover;
}

footer a.link-secondary:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

footer small,
footer .list-inline-item a {
    font-size: 0.875rem;
}

footer .bi {
    font-size: 1.1rem;
    opacity: 0.8;
}

footer .bi:hover {
    opacity: 1;
}

/* ===== Base footer polish ===== */
footer {
    --footer-section-border-color: var(--bs-border-color);
    border-top: 1px solid silver;
}

footer a.link-secondary:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

footer hr {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    opacity: 1;
}

footer small,
footer .list-inline-item a {
    font-size: 0.875rem;
}

footer .bi {
    font-size: 1.1rem;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

footer .bi:hover {
    opacity: 1;
}

/* ===== Dark theme adjustments ===== */
html[data-bs-theme="dark"] footer.bg-body-tertiary {
    background-color: var(--bs-dark) !important;
}

html[data-bs-theme="dark"] footer {
    --footer-section-border-color: rgba(255, 255, 255, 0.15);
    border-top: 1px solid var(--footer-section-border-color);
}

html[data-bs-theme="dark"] footer hr {
    border: 1px solid var(--footer-section-border-color);
}

html[data-bs-theme="dark"] footer .text-body,
html[data-bs-theme="dark"] footer .text-body-secondary,
html[data-bs-theme="dark"] footer h6,
html[data-bs-theme="dark"] footer small {
    color: var(--bs-gray-300) !important;
}

html[data-bs-theme="dark"] footer a.link-secondary {
    color: var(--bs-gray-400) !important;
}

html[data-bs-theme="dark"] footer a.link-secondary:hover {
    color: var(--bs-primary) !important;
}

/* ===== Logo swap (light vs dark) ===== */
.logo-dark {
    display: none;
}

html[data-bs-theme="dark"] .logo-light {
    display: none;
}

html[data-bs-theme="dark"] .logo-dark {
    display: inline-block;
}

.navbar .btn-sm {
    line-height: 1.25;
    vertical-align: middle;
}

html {
    color-scheme: dark;
}

.navbar .nav-link.active {
    color: #fff !important;
    border-bottom: 3px solid var(--bs-primary);
    font-weight: 600;
}

.screenshot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}


.screenshot-wrapper {
    border-radius: 1rem;
    background-color: #f8f9fa;
}
