:root {
    --brand-dark: #0f172a;
    /* slate-900 */
    --brand: #0ea5e9;
    /* sky-500 */
    --brand-accent: #38bdf8;
    /* sky-400 */
    --ink: #0b1320;
}

body {
    color: #14213d;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}

.btn,
.nav-link {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.dropdown-menu {
    background-color: var(--brand) !important;
    border: none !important;
}

.nav-link {
    color: #fff !important;
}

.nav-link.active,
.nav-link.show,
.nav-link:hover {
    color: #000 !important;
}

.btn-primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary.active {
    background-color: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
}

.bg-body-primary {
    background-color: var(--brand) !important;
}

.bg-body-secondary {
    background-color: var(--ink) !important;
}

/* NAV */
.navbar-brand span {
    color: var(--brand);
}

.navbar-collapse.collapse.show,
.navbar-collapse.collapsing {
    text-align: center;
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:hover,
.dropdown-item.active,
.dropdown-item:focus {
    background-color: var(--ink);
    color: #fff;
}

/* HERO */
.hero {
    position: relative;
    min-height: 85vh;
    display: grid;
    place-items: center;
    background: #000;
    overflow: clip;
}

.hero video,
.hero .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .45;
    filter: saturate(1.1);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.hero-overlay .kicker {
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .9;
}

/* SECTION HEADERS */
.section-title {
    letter-spacing: -0.01em;
}

.section-intro {
    max-width: 60ch;
}

/* GRAPHICAL LINKS */
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border: 0;
    overflow: hidden;
    color: #fff;
    background: #0b0f1a;
    min-height: 220px;
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
}


.feature-card .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .65;
    transform: scale(1.02);
    transition: transform .5s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 11, 25, 0) 0%, rgba(6, 11, 25, 0.6) 100%, rgba(6, 11, 25, .45) 100%);
}

.feature-card:hover .bg {
    transform: scale(1.06);
}

.feature-card .content {
    position: relative;
    z-index: 2;
}

/* PRODUCT LINKS */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border: 0;
    overflow: hidden;
    color: #000;
    background: #fff;
    min-height: 220px;
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
}


.product-card .bg {
    position: absolute;
    inset: 0;
    background-size: auto 80%;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: .65;
    transform: scale(1.02);
    transition: transform .5s ease;
}

.product-card:hover .bg {
    transform: scale(1.06);
}

.product-card .content {
    position: relative;
    z-index: 2;
}


/* WELCOME SPLIT */
.img-cover {
    object-fit: cover;
    height: 100%;
}

/* PARALLAX STRIPE */
.parallax {
    position: relative;
    min-height: 60vh;
    padding-top: 5rem;
    padding-bottom: 5rem;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

@media (max-width: 992px) {
    .parallax {
        background-attachment: scroll;
    }
}

.parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .55);
}

.parallax>* {
    position: relative;
    z-index: 2;
}

/* CONTACT */
.form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .25);
}

/* FOOTER */
.footer {
    background: #0b1020;
    color: rgba(255, 255, 255, .5);
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.text-brand {
    color: var(--brand) !important;
}

h1 small {
    font-size: 60%;
}

.bg-light {
    background-color: #EDEDED !important;
}

.container.small,
.term-description {
    max-width: 770px;
}

.container.sm {
    max-width: 900px;
}

.woocommerce-breadcrumb {
    background-color: var(--brand-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 15px;
}

.woocommerce-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.woocommerce li.product,
.woocommerce-product-gallery,
.summary.entry-summary {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
    padding: 24px !important;
}

.woocommerce li.product .woocommerce-loop-product__title,
h2,
.product_title.entry-title {
    font-size: 24px !important;
    color: #000 !important;
    font-weight: 700 !important;
}

h1 {
    font-size: 34px !important;
    font-weight: 700 !important;
}

.related.products {
    clear: both;
    display: block;
}

.vimeo-container {
    --videoRatio: calc(16 / 9);
    background-color: #101010;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: calc(100vh - 140px);
    overflow: hidden;
    position: relative;
}

.vimeo-container iframe {
    padding: 0;
    margin: 0;
    position: relative;
    --w: 100vw;
    --h: calc(var(--w) / var(--videoRatio));
    top: calc(50% - (var(--h) / 2));
    left: 0;
    width: var(--w);
    height: var(--h);
}

/* Maximum aspect ratio */

@media (max-aspect-ratio: 16/9) {
    /*the viewport is too narrow for the full video */

    .vimeo-container iframe {
        --h: 100vh;
        --w: calc(var(--h) * var(--videoRatio));
        top: 0;
        left: calc(50% - (var(--w) / 2));
    }
}

#loading-screen {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: 1s opacity;
}

#loading-screen.fade-out {
    opacity: 0;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #9370db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ba55d3;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ff00ff;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}