html,
body,
h1,
h2 {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.is-family-serif {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.is-size-0 {
    font-size: 4rem;
}

.has-line-height-2 {
    line-height: 2;
}

.is-small-caps {
    font-variant: small-caps;
}

.has-letter-spacing-4 {
    letter-spacing: 0.4em;
}

.has-letter-spacing-05 {
    letter-spacing: 0.05em;
}

.is-strikethrough {
    text-decoration: line-through;
}

.is-square-box {
    border-radius: 0;
    height: 100%;
    padding: 1.5rem;
}

.is-reverse-columns {
    flex-direction: row-reverse;
}

/* Brand Logo Badges in brand-bar */

.navbar-brand {
    width: 100%;
}

.navbar {
    flex-wrap: wrap;
}

.navbar-brand.level {
    margin: 0px;
}

.main-brand-logo {
    background: white;
    border-radius: 20px;
    padding: 1rem 3rem;
    height: 40px;
}

.main-brand-logo.logo-badge a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.main-brand-logo img {
    filter: grayscale(100%) opacity(0.75);
}

.main-brand-logo img:hover {
    filter: none;
    transition: filter 0.3s ease;
}

/* Single Product Logo Overlay */

.image.has-logo {
    position: relative;
}

.image.has-logo .is-product-overlay-logo {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 125px;
    max-height: 50px;
    overflow: hidden;
}

.image.has-logo .is-product-overlay-logo img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Tile Text Overlay */

.has-caption-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.has-caption-overlay img {
    display: block;
    width: 100%;
    height: auto;
}

.caption-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    letter-spacing: 0.1em;
    pointer-events: none;
}

/* Product Image Text Overlay */

.product-figure {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.overlay-top-left {
    align-self: flex-start;
}

.overlay-top-right {
    position: absolute;
    top: 0rem;
    right: 1.75rem;
}

.overlay-bottom-right {
    position: absolute;
    bottom: 1.75rem;
    right: 1.75rem;
}

.overlay-bottom-left {
    align-self: flex-start;
}

.is-markdown h3 {
    padding: 1rem 0;
    font-weight: 700;
    font-size: 1.33rem;
}

/* Media Queries */
/* Desktop */
@media (min-width: 769px) {
    .hero-with-banner {
        background-image: var(--banner-desktop);
        height: 600px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 350px;
        padding-bottom: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-with-banner {
        background-image: var(--banner-mobile);
        height: 250px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 250px;
        padding-left: 1rem;
    }
    /* We don't want the logo to be too big on mobile */
    .main-brand-logo {
        padding: 1rem 7rem;
    }
}
