﻿/* Default CSS for the AI Demo components */
#SiteFrame {
    width: 100%;
}

#ai-lab-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#site-footer{
    margin-top:0 !important;
}

#GlobalNavWrapper {
    --hero-image: url(../../assets/sgmh-flowers-01.jpg);
    --hero-height: 355px;
    --hero-mobile-height: 300px;
    height: var(--hero-height);
    background-image: linear-gradient(to top, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 0%) 32%), var(--hero-image);
    background-position: center;
    background-size: cover;

    @media (max-width: 950px) {
        height: min(var(--hero-height), var(--hero-mobile-height));
        background-image: linear-gradient(to top, rgb(0 0 0 / 80%) 0%, rgb(0 0 0 / 0%) 55%), var(--hero-image);
        background-position: center 86px;
        background-size: cover;
    }

    @media print {
        height: auto;
        background: none;
    }
}


#HomeCallout {
    right: 0;
    left: 0;
    height: auto;
    border-top: none;
    background-color: rgb(0 0 0 / 0);
    text-align: center;

    .callout-content h1 {
        color: white;
        font-family: "museo-sans-display", sans-serif;
        font-size: 4rem;
        font-weight: 700;
        text-transform: uppercase;
        text-shadow: 2px 2px 2px black;
        text-wrap: balance;
    }

    h1 > span {
        color: white;
    }

    &.fade-away {
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.1s ease-out, visibility 0s linear 0.1s !important;
    }

    @media (max-width: 950px) {
        display: flex !important;
        min-width: 100px !important;
        height: 100%;
        padding-inline: 10px;
        flex-direction: column;
        justify-content: center;
        opacity: 1;
        transition: opacity 0.1s ease-out;

        .callout-content h1 {
            font-size: 2rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        &,
        &.fade-away {
            transition: none !important;
        }
    }
}
