:root {
    --black: rgb(21, 21, 21);
    --bs-body-bg: rgb(21, 21, 21);
    --bs-link-color: rgb(255, 255, 255);
    --bs-link-color-rgb: rgb(255, 255, 255);
    --bs-link-hover-color-rgb: rgb(173, 18, 8);
    --bs-link-hover-color: rgb(173, 18, 8);
}

body {
    font-family: 'Inter', sans-serif;
}

h1 {
    font-size: calc(1rem + 5.5vw);
    line-height: calc(1rem + 6.4vw);
    font-weight: 500;
}

h4 {
    font-size: calc(1rem + 2vw);
    line-height: calc(1rem + 2.6vw);
    font-weight: 500;
}

p {
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    letter-spacing: 1px;
}

.bg-red {
    background-color: rgba(173, 18, 8, 0.8);
}

.red {
    color: var(--bs-link-hover-color);
}

a:hover {
    color: var(--bs-link-hover-color-rgb);
    transition: .25s;
}

.animate-bg-image {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
}

.animate-bg-image:after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgb(21, 21, 21);
    position: absolute;
    left: 0;
    top: 0;
    transition: all  cubic-bezier(1, 0, 0, 1) 1s;
    -webkit-transition: all cubic-bezier(1, 0, 0, 1) 1s;
    -moz-transition: all cubic-bezier(1, 0, 0, 1) 1s;
    -ms-transition: all cubic-bezier(1, 0, 0, 1) 1s;
    -o-transition: all cubic-bezier(1, 0, 0, 1) 1s;
}

.animate-bg-image.revealed:after {
    width: 0;
}

header {
    z-index: 100;
    top: 0;
    transition: .5s;
}

header .logo {
    width: 100px;
}

header.active {
    background-color: rgba(0, 0, 0, 0.9);
}

.video-wrapper {
    position: relative;
}

.video-wrapper:after {
    content: ' ';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(359.19deg, var(--black) 5%, rgba(0, 0, 0, 0) 100%), url(image.png);
}

.hero {

}

.hero-content {
    z-index: 5;
}

.hero-content .logo {
    margin-bottom: 8rem;
}

.services li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px 0;
    font-weight: 700;
}

.services li:last-child {
    border-bottom: none;
}

.services-background-image {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-image: url('assets/services.jpeg');
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.2;
}

.service-line {
    border-left: 4px var(--bs-link-hover-color) solid;
}

.latest-video {
    margin-top: 12rem;
}

#instagram {
    margin-top: 12rem;
}

.spacer-50 {
    display: block;
    height: 50px;
}

.spacer-100 {
    height: 120px;
}

footer {
    margin-top: 12rem;
}

footer .logo {
    width: 150px;
}

.youtube-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

.loader {
    border: 8px solid var(--bs-body-bg);
    border-top: 8px solid var(--bs-link-hover-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

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

.instagram-post {
    aspect-ratio: 1/1;
    opacity: 0;
}

.instagram-post img {
    object-fit: cover;
    aspect-ratio: 1/1;
    width: 100%;
}

.instagram-post .caption {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
    transition: .25s;
}

.instagram-post .caption:hover {
    opacity: 1;
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease-out;
}