﻿.hero-image {
    background-image: /*linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), puts a black gradeint over the image*/ var(--bannerUrl);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    aspect-ratio: 1200 / 400;
    width: 100%;
    height: auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

    .hero-image h1 {
        font-size: 3.25rem;
        margin-bottom: -2rem
    }

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 900px);
    text-align: center;
    color: var(--banner-font-color);
    text-transform: capitalize;
    text-shadow: 3px 3px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000 !important;
}

.hero-text p {
    font-size: 2.25rem;
}
    .hero-text button {
        border: none;
        outline: 0;
        display: inline-block;
        padding: 10px 25px;
        color: var(--secondary-font-color);
        background-color: var(--secondary-bg-color);
        text-align: center;
        cursor: pointer;
    }

        .hero-text button:hover {
            background-color: var(--secondary-font-color);
            color: var(--secondary-bg-color);
        }


@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: clamp(20px, 7vw, 32px);
        line-height: 1.1;
        margin: 0 0 6px;
    }

    .hero-text p {
        font-size: clamp(14px, 4.5vw, 20px);
        margin: 0;
    }
}

@media (min-width: 1470px) {
    .hero-image {
        aspect-ratio: auto;
        height: 490px;
        background-size: cover;
    }
}