﻿.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-lg);
    background-image: url('/Images/background-image.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}


    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 0;
    }

    .hero > * {
        position: relative;
        z-index: 1;
    }

    .hero div {
        width: 100%;
        margin-top: var(--spacing-xl);
    }

    .hero h1 {
        color: var(--color-primary-background);
    }


    .hero p {
        font-weight: bold;
        font-size: 1em;
        color: var(--color-primary-background);
    }


    .hero button {
        width: 20em;
        height: 4em;
        margin-top: var(--spacing-xs);
        margin-bottom: var(--spacing-md);
        transition: box-shadow 0.3s ease;
    }

        .hero button span {
            font-size: 1.5em;
            font-weight: bold;
        }

/* Responsive layout for tablets and up */
@media (min-width: 768px) {

    .hero {
        min-height: 40em;
    }

        .hero div {
            width: 60%;
            max-width: 1000px;
        }


        .hero h1 {
            font-size: 4em;
            font-weight: bold;
        }


        .hero p {
            margin-top: var(--spacing-lg);
            font-size: 1.25em;
            font-weight: bold;
        }


        .hero button {
            margin-top: var(--spacing-lg);
            margin-bottom: var(--spacing-2xl);
        }
}
