@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(200px);
        opacity: 0;
    }
}

#hero {
    --bs-gutter-x: 1rem;
    --hero-height: 250px;

    height: var(--hero-height);
    position: relative;
}

#hero h1 {
    color: #ffffff;
    padding-top: 70px;
    font-size: 62px;
    line-height: .9;
    text-shadow: 0 3px 0 #570400;
    font-weight: 400;
}

#hero .navigation {
    position: absolute;
    bottom: 30px;
    z-index: 102;
    display: none;
    gap: 4px;
}

#hero .navigation .btn {
    background: #fff;
    aspect-ratio: 1 / 1;
    width: 36px;
    padding: 0;
}

#hero .navigation .btn:hover {
    border: 0;
    background: #eee;
}

#hero .navigation .btn:active,
#hero .navigation .btn:focus {
    outline: none;
    box-shadow: none;
}

#hero .navigation .btn.btn-prev::before {
    content: "\f104";
    font-family: FontAwesome;
}

#hero .navigation .btn.btn-next::before {
    content: "\f105";
    font-family: FontAwesome;
}

@media screen and (min-width: 768px) {
    #hero {
        --hero-height: 450px;
    }

    #hero h1 {
        padding-top: 80px;
        font-size: 100px;
    }

    #hero .navigation {
        display: flex;
        left: var(--bs-gutter-x);/*calc((100vw - 768px) / 2 + var(--bs-gutter-x) * .5);*/
    }
}

@media screen and (min-width: 968px) {
    #hero h1 {
        padding-top: 130px;
        font-size: 100px;
    }
}

#hero h1 strong {
    font-weight: 700;
}

#hero .slide-item {
    position: absolute;

    height: var(--hero-height);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

@media screen and (min-width: 768px) {
    #hero .slide-item {
        width: 700px;
    }
}

@media screen and (min-width: 960px) {
    #hero .slide-item {
        width: 100%;
    }
}

@media screen and (min-width: 1180px) {
    #hero .slide-item {
        width: 1200px;
    }

    #hero .navigation {
        display: flex;
        left: calc((100vw - 1200px) / 2 + var(--bs-gutter-x) / 2);
    }
}

#hero .slide-item.active {
    opacity: 1;
    pointer-events: auto;
}

#hero .slide-img {
    display: none;
    position: absolute;
    z-index: 101;
    pointer-events: none;

    animation: slide-out-right linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 300px;
}

@media screen and (min-width: 768px) {
    #hero .slide-img {
        display: block;
    }
}

#hero .slide-img {
    bottom: -210px;
    right: 0;
}