/* roboto-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/roboto-v30-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('./fonts/roboto-v30-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/roboto-v30-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/roboto-v30-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root,
:host {
    --md-sys-color-background: #141314;
    --md-sys-color-on-background: #e6e1e2;
    --md-sys-color-surface: #141314;
    --md-sys-color-surface-dim: #141314;
    --md-sys-color-surface-bright: #3a3939;
    --md-sys-color-surface-container-lowest: #0f0e0f;
    --md-sys-color-surface-container-low: #1c1b1c;
    --md-sys-color-surface-container: #201f20;
    --md-sys-color-surface-container-high: #2b2a2a;
    --md-sys-color-surface-container-highest: #051739;
    --md-sys-color-on-surface: #e6e1e2;
    --md-sys-color-surface-variant: #48464b;
    --md-sys-color-on-surface-variant: #c9c5cb;
    --md-sys-color-inverse-surface: #e6e1e2;
    --md-sys-color-inverse-on-surface: #313031;
    --md-sys-color-outline: #938f95;
    --md-sys-color-outline-variant: #48464b;
    --md-sys-color-shadow: #000000;
    --md-sys-color-scrim: #000000;
    --md-sys-color-surface-tint: #cac4d1;
    --md-sys-color-primary: #cdc8d4;
    --md-sys-color-on-primary: #322f39;
    --md-sys-color-primary-container: #a49fab;
    --md-sys-color-on-primary-container: #16141d;
    --md-sys-color-inverse-primary: #605d67;
    --md-sys-color-secondary: #c9c5ca;
    --md-sys-color-on-secondary: #313034;
    --md-sys-color-secondary-container: #413f43;
    --md-sys-color-on-secondary-container: #d8d3d8;
    --md-sys-color-tertiary: #d9c4cc;
    --md-sys-color-on-tertiary: #3a2d32;
    --md-sys-color-tertiary-container: #af9ca3;
    --md-sys-color-on-tertiary-container: #1d1217;
    --md-sys-color-error: #ffb4ab;
    --md-sys-color-on-error: #690005;
    --md-sys-color-error-container: #93000a;
    --md-sys-color-on-error-container: #ffdad6;

    /* Text field specific */
    --md-filled-text-field-container-shape: 0px;
    --md-filled-select-text-field-container-shape: 0px;
    --md-filled-button-container-shape: 0px;
    --md-filled-button-label-text-size: 1.1em;
    --md-filled-button-label-text-weight: 700;

    /* Checkbox specific */
    --md-checkbox-container-shape: 0px;
    --md-checkbox-focus-outline-color: #00d7a0;
    --md-checkbox-hover-outline-color: #00d7a0;
    --md-checkbox-outline-color: #00ffb9;
    --md-checkbox-selected-container-color: #00ffb9;
    --md-checkbox-selected-focus-container-color: #00d7a0;
    --md-checkbox-selected-hover-container-color: #00d7a0;
    --md-checkbox-container-size: 32px;
    --md-checkbox-icon-size: 32px;
    --md-checkbox-outline-width: 4px;
    --md-checkbox-hover-outline-width: 4px;
    --md-checkbox-focus-outline-width: 4px;
    --md-checkbox-pressed-outline-width: 4px;
}

html {
    background-color: #000028;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 3.5rem;
}

p {
    font-size: 1.35em;
    margin-top: 0rem;
    margin-bottom: 2.25rem;
}

p:last-child {
    margin-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.hidden {
    display: none;
}

.secondary-text {
    color: #d0d1c8;
    font-style: italic;
}

.navbar {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}

main {
    margin: 0 auto;
    max-width: 100rem;
    padding: 1.5rem;

    display: grid;
    grid-template-columns: 1fr;
    column-gap: 5rem;
    row-gap: 5rem;
}

.hero-text {
    padding-top: 0.5rem;
}

.logo {
    width: auto;
    height: 2rem;
}

.feedback-form {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2.25rem;
    column-gap: 2rem;
}

#terms-container {
    display: flex;
}

#terms-container>.checkbox-container {
    width: 48px;
    padding-right: 0.75rem;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.helper-text-container {
    color: #d0d1c8;
    font-size: 0.75em;
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
}

#terms-label {
    font-size: 0.875em;
    margin-bottom: 1rem;
}

#terms-label p:not(:last-child) {
    margin-bottom: 1.25rem;
}

#submit-button {
    min-width: 12rem;
    min-height: 4rem;
}

#content {
    min-height: 10rem;
}

.message-container.error {
    color: #dc2626;
    font-size: 0.875em;
}

.message-container.success {
    color: #16a34a;
    font-size: 0.875em;
}

/* md screens */
@media (min-width: 768px) {
    .feedback-form {
        grid-template-columns: 1fr 1fr;
    }

    #content {
        grid-column: span 2;
    }

    #terms-container {
        grid-column: span 2;
    }

    .form-buttons {
        grid-column: span 2;
    }

    #subject {
        grid-column: span 2;
    }

    .message-container {
        grid-column: span 2;
    }
}

/* xl screens */
@media (min-width: 1280px) {
    .navbar {
        padding: 5rem;
    }

    main {
        padding-left: 5rem;
        padding-right: 5rem;
        padding-bottom: 5rem;
        grid-template-columns: 1fr 1fr;
    }

    .hero-text {
        padding-top: 3.5rem;
    }
}