.main-body.home {
    margin-top: var(--topbar-height);
    min-height: 100vh;
}

nav.navbar.home {
    background-color: transparent;
    transition: all ease 300ms;
}

nav.navbar.home.expanded {
    background-color: rgba(0, 0, 0, 0.7);
}

nav.navbar.home.opaque {
    background-color: var(--navbar-bg-clr);
}

nav.navbar>.container-fluid.home {
    background-color: transparent;
    transition: all ease 300ms;
}

nav.navbar>.container-fluid.home.expanded {
    background-color: inherit;
}

nav.navbar>.container-fluid.home.opaque {
    background-color: inherit;
}

.video {
    margin: 0 auto 0;
    width: 100%;
    /*max-height: 100dvh;*/
    aspect-ratio: 3/4;
    object-fit: cover;
}
.hide{		display:none;}
.video::after,
.video img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--bs-dark);
    z-index: -2;
}

.video img,
.video video {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.product,
.service {
    width: 100%;
    max-width: var(--products-width);
    border-radius: 1rem;
    background-color: var(--bs-light);
}

.product .product-image,
.service .service-image {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    position: relative;
    overflow: hidden;
    transition: all ease 300ms;
}

.product:hover .product-image,
.service:hover .service-image {
    transform: scale(1.1);
    filter: drop-shadow(12px 14px var(--drop-shadow-size) rgba(0, 0, 0, 0.5));
}

.product .product-name,
.service .service-name {
    color: var(--bs-dark);
    font-size: 1.2em;
}

.categories-home {
    max-width: var(--max-vw);
}

.categories-home .category {
    flex-direction: column;
}

.categories-home .category img {
    width: 100% !important;
    filter: drop-shadow(10px 10px var(--drop-shadow-size) black);
    border-radius: 1.5rem;
}

.CTA-in-home{
    background-color: #cdcdcd;
}

body.light-mode .categories-home .category img {
    filter: drop-shadow(10px 10px var(--drop-shadow-size) rgba(0, 0, 0, 0.5));
}

.categories-home .category div {
    width: inherit;
    min-width: 100px;
}

.categories-home .category .products-link {
    color: var(--brand-clr-1);
    border: 1px solid var(--brand-clr-1);
    transition: all ease 300ms;
}

.categories-home .category .products-link:hover {
    color: var(--brand-clr-2);
    background-color: var(--brand-clr-1);

}

.categories-home .category img {
    width: 100vw;
    transition: all ease 300ms;
}

.categories-home .category>div>.img-1 {
    opacity: 1;
    transform: scale(1);
}

.categories-home .category>div>.img-2 {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.categories-home .category:hover>div>.img-1 {
    opacity: 0;
    transform: scale(0);
}

.categories-home .category:hover>div>.img-2 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.milestone .info {
    width: 200px;
    word-wrap: break-word;
}

.milestone .info:hover>.milestone-img {
    transform: translateY(-4px) scale(1.1);
}

.milestone .info:hover>.milestone-text>span:nth-child(1) {
    transform: translateY(4px) scale(1.1);
}

.milestone .info:hover>.milestone-text>span:nth-child(2) {
    transform: translateY(4px) scale(1.05);
}

.milestone .milestone-img {
    width: 100%;
    max-width: 100px;
    padding: 1rem;
    border: 0.25rem solid var(--fg-clr-dark);
    border-radius: 50rem;
    transition: all ease 300ms;
}

body.light-mode .milestone .milestone-img {
    border: 0.25rem solid var(--fg-clr-light);
}

.milestone .milestone-text>span:first-child {
    color: var(--brand-clr-1);
    line-height: 1;
    margin: 0.35rem auto 0.5rem;
    transition: all ease 300ms 100ms;
}

.milestone .milestone-text>span:nth-child(2) {
    line-height: 1.2;
    transition: all ease 300ms 190ms;
}

#clients::-webkit-scrollbar {
    display: none;
}

#clients {
    animation: animate var(--client-count) linear infinite;
}

.client-img {
    height: 35px;
    padding: 0 0.25rem;
}

.btn.explore {
    border: 2px solid var(--brand-clr-1);
    color: var(--brand-clr-1);
    transition: all ease 300ms;
}

.btn.explore:hover {
    color: var(--brand-clr-2);
    background-color: var(--brand-clr-1);
}

.why-us,
.clients>h2 {
    max-width: var(--max-vw);
}

.why-us span:first-child {
    color: red;
}

.why-us h2 {
    font-size: 3em;
    text-underline-offset: 13px;
}

.text-over-video {
    opacity: 0.5;
    letter-spacing: 0.25rem;
    font-family: "Russo One", sans-serif;
}

.text-over-video {
    opacity: 1;
    position: relative;
    background-color: var(--bs-dark);
    top: -7px;
    padding: 2rem 0.5rem !important;
}

body.light-mode .text-over-video {
    color: var(--fg-clr-dark);
}

.text-over-video>span {
    color: var(--brand-clr-1);
    font-size: 1rem;
    /* top: 0; */
    /* display: inline-block; */
    /* max-width: 150px; */
}

body.light-mode .products-in-focus,
body.light-mode .categories-home,
body.light-mode .bestsellers,
body.light-mode .clients,
body.light-mode footer {
    background-color: white;
}

@keyframes zoom-out {
    to {
        transform: translate(440%, 280%) scale(50);
    }
}

@keyframes bg-animate {
    to {
        opacity: 0;
        /* background-color: rgba(255, 255, 255, 0.3); */
    }
}

@media screen and (min-width: 500px) {

    .video,
    .video video,
    .video img {
        aspect-ratio: 16/9;
        max-height: calc(100dvh - var(--topbar-height));
    }

    .video::after {
        background-color: transparent;
    }

    .text-over-video {
        position: absolute;
        top: 50%;
        left: 0%;
        background-color: transparent;
        opacity: 0.5;
        line-height: 2;
        font-size: calc(1rem + 0.9vw);
        transform: translateY(-50%);
    }

    .text-over-video>span {
        position: relative;
        top: -1rem;
        font-size: calc(0.5rem + 0.9vw);
        display: inline;
    }

    .desc {
        margin-top: 0rem;
    }

    .categories-home .category {
        flex-direction: row;
    }

    .categories-home .category>div {
        width: 100%;
    }

    .categories-home .category img {
        width: 50vw;
        max-width: 500px;
    }

}

@media screen and (min-width: 768px) {
    nav.navbar>.container-fluid.expanded {
        background-color: transparent !important;
        transition: all ease 300ms;
    }

    .categories-home .category:nth-child(odd)>div:nth-child(1),
    .categories-home .category:nth-child(even)>div:nth-child(2) {
        order: 1;
    }

    .categories-home .category:nth-child(even)>div>div:nth-child(1),
    .categories-home .category:nth-child(odd)>div>div:nth-child(2) {
        order: 2;
    }

    .client-img {
        height: 55px;
        padding: 0 1rem;
    }

    .why-us h2 {
        font-size: 4em;
        text-underline-offset: 20px;
    }

    .products-in-focus .product,
    .services-in-focus .service {
        max-width: calc(var(--products-width) * 2);
    }

    .bestsellers .product {
        max-width: calc(var(--products-width) * 1.5);
    }
    
    .bestsellers .secondary .product {
        max-width: calc(var(--products-width) * 1);
    }
}