.fhm-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    isolation: isolate;
    position: relative;
    z-index: 0;
}

@media (max-width: 575px) {
    .fhm-header {
        background: none !important;
        min-height: 175px;
    }
}

.fhm-overlay {
    width: fit-content;
    color: white;
    text-transform: uppercase;
    background-color: var(--bs-secondary);
    margin-bottom: 50px;
    padding: 10px 20px;
    z-index: 2;
    position: relative;
}

.fhm-slider-css {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 575px) {
    .fhm-slider-css .slide {
        display: none;
    }
}

.fhm-slider-css .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: fadeSlider 16s infinite;
}

.fhm-slider-css .slide:nth-child(1) { animation-delay: 0s; }
.fhm-slider-css .slide:nth-child(2) { animation-delay: 4s; }
.fhm-slider-css .slide:nth-child(3) { animation-delay: 8s; }
.fhm-slider-css .slide:nth-child(4) { animation-delay: 12s; }


@keyframes fadeSlider {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    25%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}

.fhm-slider-css img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
}
