html,
body {
    min-height: 100%;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: #11100e;
}

body {
    color: #fffaf0;
}

.landing {
    position: relative;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    place-items: center;
    padding: clamp(1.5rem, 5vw, 5rem);
}

.landing__background,
.landing__overlay {
    position: absolute;
    inset: 0;
}

.landing__background {
    z-index: -3;
    background-image: url("images/library-background.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.landing__overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(15, 12, 9, 0.66), rgba(15, 12, 9, 0.26) 48%, rgba(15, 12, 9, 0.54)),
        linear-gradient(180deg, rgba(15, 12, 9, 0.14), rgba(15, 12, 9, 0.62));
}

.landing__content {
    width: min(100%, 980px);
    text-align: center;
    text-shadow: 0 3px 28px rgba(0, 0, 0, 0.56);
}

.landing__kicker {
    margin: 0 0 1.2rem;
    color: #d9c08a;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.landing h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 7.4rem);
    font-weight: 700;
    line-height: 0.96;
    text-wrap: balance;
}

.landing__message {
    max-width: 760px;
    margin: clamp(1.3rem, 3vw, 2rem) auto 0;
    color: rgba(255, 250, 240, 0.9);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.55;
}

.landing__contact {
    margin: clamp(1rem, 2vw, 1.45rem) 0 0;
    color: rgba(255, 250, 240, 0.86);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.4;
}

.landing__contact a {
    color: #f0d89d;
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 0.24em;
}

.landing__contact a:hover,
.landing__contact a:focus {
    text-decoration: underline;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #8a1f1f;
    color: white;
    padding: 1rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

@media (max-width: 640px) {
    .landing {
        place-items: end center;
        padding-bottom: 10vh;
    }

    .landing__background {
        background-position: center top;
    }

    .landing__overlay {
        background:
            linear-gradient(180deg, rgba(15, 12, 9, 0.1), rgba(15, 12, 9, 0.72)),
            linear-gradient(90deg, rgba(15, 12, 9, 0.42), rgba(15, 12, 9, 0.28));
    }
}
