* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.hero
{
    background:
        linear-gradient(to top, rgba(0, 0, 0,.55), rgba(0, 0, 0,.15)),
        url("img/hero.jpg") center/cover no-repeat;
    color:#b1f6ff;
    padding: clamp(2rem, 6vw, 6rem) 1rem;
    border-radius:var(--radius);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
}

label {
    display: block;
    margin: 0.5rem 0 0.25rem;
}

input, select, textarea, button {
    width: 100%;
    max-width: 480px;
    padding: .5rem .75rem;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    background: #fff;
}

.closeButton {
    background: #0a84ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.submitButton {
    background: #0a84ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.openButton {
    background: #0a84ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

:where(input, select, textarea, button):focus-visible {
    outline: 2px solid #0a84ff;
    outline-offset: 2px;
}

button:hover {
    filter: brightness(0.95);
}

:disabled, [aria-disabled="true"] {
    opacity: .6;
    cursor: not-allowed;
}

[aria-invalid="true"] {
    border-color: #b00020;
}
