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

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

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: 0.8em;
}

h6 {
    font-size: 0.4em;
}

a {
    color: black;

    &:hover {
        color: #bd001d;
        transition: 0.5s;
    }
}

#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: 3em;

    @media only screen and (max-width: 1199px) {
        gap: 0;
        background-color: #f8f9fa;

        li {
            padding: 1rem 0;

            &: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;

        @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;
        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;
    }
}
