h1,
h2,
h3,
h4,
h5,
h6,
.navbar a {
    font-family: Koulen;
}

p,
div {
    font-family: "acumin-variable", sans-serif;
}

h1 {
    font-size: 2em !important;
}

h2 {
    font-size: 1.8em !important;
}

h3 {
    font-size: 1.4em !important;
}

h4 {
    font-size: 1em !important;
}

h5 {
    font-size: 0.8em !important;
}

h6 {
    font-size: 0.4em !important;
}

.display-1 {
    font-size: calc(1.625rem + 4.5vw) !important;
    font-weight: 300;
    line-height: 1.2;
}

a {
    color: black !important;
    cursor: pointer;
    &:hover {
        cursor: pointer;
        color: #dc3545 !important;
        transition: 0.5s;
    }
}

a.btn.btn-outline-danger {
    color: #dc3545 !important;
    &:hover {
        color: white !important;
    }
}

#site-header a {
    &:hover {
        color: #bd001d !important;
        transition: 0.5s;
    }
}

.gap-3 {
    gap: 1.2rem !important;
}

#footer {
    .footer-stripe {
        overflow: hidden;
        position: relative;
        transform: skewY(-1deg) translateY(50px);
        height: 3em;
    }
    .footer-child {
        transform: translateY(20px);
    }
}

#site-header {
    padding: 0 3rem;
    height: 5em;
    .navigation {
        a {
            text-decoration: none;
        }
        a.selected {
            color: #bd001d;
        }
    }
    @media only screen and (max-width: 1199px) {
        padding: 0;
        display: list-item;
        height: 7em;
    }
}

#site-header-background {
    position: fixed;
    height: 80px;
    width: 100%;
    top: 0px;
    padding-top: 60px;
    margin-bottom: 25px;
    z-index: 1;
    transform: skewY(-1deg) translateY(-50px);
    filter: drop-shadow(0 0 4px #333);
    background-image: linear-gradient(#bd001d, #bf394e 180px);
    text-align: center;
    color: #fff;
    outline: 1px;
}

#mobile-menu {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    gap: 2em;
    @media only screen and (max-width: 1199px) {
        height: 100vh;
        gap: 0;
        background-color: #f8f9fa;
        li {
            &:last-child {
                border-bottom: 0px;
            }
        }
    }
}

#navbarNavDropdown {
    transform: skewY(1deg) translateY(10px);
    @media only screen and (max-width: 1199px) {
        transform: skewY(1deg) translateY(-20px);
    }
}

#navbar-header-logo {
    max-height: 14em;
    transform: skewY(1deg);
    position: relative;
    z-index: 200;
    img {
        height: 85px;
        transform: skewY(1deg);
        @media only screen and (max-width: 1199px) {
            height: 105px;
        }
    }
    @media only screen and (max-width: 1199px) {
        position: sticky;
    }
}

#homepage-boxes {
    .homepage-box {
        background-color: rgba(0, 0, 0, .6);
        background-blend-mode: multiply;
        text-decoration: none;
        color: white !important;
        transition: 0.3s;
        --bs-card-border-color: black;
        .card-header,
        .card-footer {
            height: 4em;
            border: none;
        }
        .card-body {
            height: 6em;
        }
        &:hover {
            h2 {
                color: #bd001d;
                filter: drop-shadow(0px 0px 11px #000);
            }
            border: black solid 4px;
        }
    }
}

#highlight-video {
    width: 100%;
    height: 60em;
    -o-object-fit: cover;
    object-fit: cover;
    @media only screen and (max-width: 1200px) {
        height: 40em;
    }
    @media only screen and (max-width: 800px) {
        height: 30em;
    }
}

#welcome-to-sensible {
    @media only screen and (max-width: 600px) {
        padding: 0.5em !important;
    }
}

#history-and-legacy {
    img {
        &:hover {
            background-color: rgba(0, 0, 0, .6);
            transition: 0.3s;
        }
    }
}

.captionEffect[data-effect="fade-in"] figcaption {
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0;
}

.captionEffect[data-effect="fade-in"]:hover figcaption {
    opacity: 1;
}

.captionEffect figcaption h2 {
    margin: 0;
    font-size: .875rem;
}

.captionEffect figcaption p {
    margin: 0;
}

.captionEffect figcaption {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: .5rem;
    position: absolute;
    transition: 0.2s;
    width: 100%;
}

.captionEffect {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.captionEffect img {
    width: 100%;
    display: block;
    transition: 0.2s;
}

.sbl-our-services-table {
    tr {
        background-color: red !important;
    }
}

.studio-container {
    position: relative;
    transition: .5s ease;
    margin-bottom: 4em;
    &:hover {
        box-shadow: 0 0 5px;
        transition: .5s ease;
    }
    &:hover .studio-image {
        opacity: 0.7;
        transition: .5s ease;
    }
    &:hover .studio-middle {
        opacity: 1;
        transition: .5s ease;
    }
    .studio-image {
        opacity: 1;
        display: block;
        width: 100%;
        height: 16em;
        -o-object-fit: cover;
        object-fit: cover;
        backface-visibility: hidden;
        transition: .5s ease;
    }
    .studio-middle {
        opacity: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        text-align: center;
        transition: .5s ease;
    }
    .studio-text {
        background-color: #bd001d;
        color: white;
        font-size: 16px;
        padding: 0.5em 1em;
        transition: .5s ease;
    }
    a {
        text-decoration: none !important;
    }
}

.timeline {
    border-left: 1px solid hsl(0, 0%, 90%);
    position: relative;
    list-style: none;
}

.timeline .timeline-item {
    position: relative;
}

.timeline .timeline-item:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .timeline-item:after {
    background-color: hsl(0, 0%, 90%);
    left: -38px;
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
}

.studio-image-slider {
    img {
        width: 100%;
    }
}

.studio-a-image {
    height: 20em;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 40%;
    object-position: 40%;
    padding-top: 5em;
    @media screen and (min-width: 400px) {
        height: 30em;
    }
    @media screen and (min-width: 640px) {
        height: 40em;
        -o-object-position: 50%;
        object-position: 50%;
        padding-top: 0;
    }
}

figcaption {
    margin: 0 !important;
}

.btn-danger,
.btn-danger:hover {
    color: white !important;
}

#menu-main-menu {
    display: inline-flex;
    gap: 3em;
    padding: 0;
    @media only screen and (max-width: 1199px) {
        gap: 0;
        background-color: #f8f9fa;
        display: block;
        font-size: 1.2em;
        li {
            padding-bottom: 0.6rem;
            &:last-child {
                border-bottom: 0px;
            }
        }
    }
}

#menu-main-menu .sub-menu {
    background-color: white;
    border: 1px lightgrey solid;
    border-radius: 3px;
    gap: 1em;
    list-style-type: none;
    padding: 0px;
    position: absolute;
    @media only screen and (max-width: 1199px) {
        margin: 0.6em;
    }
}

#menu-main-menu .sub-menu .menu-item {
    padding: 0.6em 1.2em;
    text-align: left;
    a {
        padding: 1em 1.4em;
    }
    @media only screen and (max-width: 1199px) {
        padding: 0.4em 0;
        margin: 3px;
        text-align: center;
        a {
            padding: 0;
        }
    }
}

#menu-main-menu .menu-item {
    @media only screen and (max-width: 1199px) {
        font-size: 1.1em;
        padding-bottom: 0.6em;
    }
}

#menu-main-menu .menu-item:not(.menu-item-has-children) {
    @media only screen and (max-width: 1199px) {
        margin-bottom: 0.2em;
    }
}

#menu-main-menu .menu-item-has-children a:first-of-type {
    @media only screen and (max-width: 1199px) {
        font-size: 1.3em;
        padding-bottom: 0.2em;
    }
}

#menu-main-menu .menu-item-has-children .sub-menu {
    display: none;
    @media only screen and (max-width: 1199px) {
        a {
            font-size: 0.8em !important;
        }
        display: block;
        position: relative;
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        column-count: 2;
        column-gap: 20px;
    }
}

#menu-main-menu .menu-item-has-children:hover .sub-menu,
#menu-main-menu .sub-menu:hover {
    display: block !important;
}

#menu-main-menu .current_page_item>a {
    color: #bd001d !important;
}

#header-social-icons .fa-brands {
    @media only screen and (max-width: 1199px) {
        font-size: 1.5em;
        margin-bottom: 2em;
    }
}