﻿.blog-hero-header {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0; */
    z-index: 0;
}

    .hero-image-wrapper picture,
    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 15% 25%; 
    }

.blog-hero-header-h1-container {
    left: 15%;
    bottom: 10%;
}

    .blog-hero-header-h1-container h1 {
        color: white;
        text-shadow: 4px 4px 4px rgba(0,0,0,0.4);
        font-size: 3.25rem;
    }

    @media (max-width: 768px) {
        .blog-hero-header {
            max-height: 45vh;
        }

        .blog-hero-header-h1-container {
            left: 7%;
            bottom: 7%;
        }

            .blog-hero-header-h1-container h1 {
                font-size: 2.5rem;
            }
    }

    @media (max-width: 576px) {
        .blog-hero-header {
            max-height: 30vh;
        }

        .blog-hero-header-h1-container {
            left: 2%;
            bottom: 4%;
        }

            .blog-hero-header-h1-container h1 {
                font-size: 2rem;
            }
    }

