﻿html, body {
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.hero {
    --hero-left-pane: 340px; /* image lane width */
    background: #e9f7ef url('/images/ClubBayside.jpg') 1.5rem center / 280px auto no-repeat;
    min-height: 320px;
    border: 1px solid rgba(25, 135, 84, 0.4);
    display: flex;
}

.hero-overlay {
    width: calc(100% - var(--hero-left-pane));
    margin-left: var(--hero-left-pane);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.60) 45%,
        rgba(0, 0, 0, 0.68) 100%
    );
}

.hero-overlay > * {
    max-width: 560px;
}

@media (max-width: 992px) {
    .hero {
        --hero-left-pane: 0px;
        background-position: center top;
        background-size: 220px auto;
    }

    .hero-overlay {
        width: 100%;
        margin-left: 0;
        padding-top: 170px;
    }
}
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
