151 lines
3.2 KiB
CSS
151 lines
3.2 KiB
CSS
@font-face {
|
|
font-family: "DM Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "DM Sans";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "DM Sans";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
|
|
}
|
|
.contact-dialog {
|
|
--contact-foreground: oklch(96% 0.008 210);
|
|
--contact-accent: oklch(70% 0.12 205);
|
|
box-sizing: border-box;
|
|
width: min(32rem, calc(100vw - 2rem));
|
|
max-height: calc(100dvh - 2rem);
|
|
margin: auto;
|
|
padding: 1.75rem;
|
|
overflow-y: auto;
|
|
border: 1px solid #324449;
|
|
border-radius: 1.25rem;
|
|
background: #071316;
|
|
color: var(--contact-foreground);
|
|
font:
|
|
400 16px/1.5 "DM Sans",
|
|
sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
box-shadow: 0 1.5rem 4rem #0006;
|
|
}
|
|
.contact-dialog::backdrop {
|
|
background: rgb(0 0 0 / 65%);
|
|
}
|
|
.contact-dialog * {
|
|
box-sizing: border-box;
|
|
}
|
|
.contact-dialog h2 {
|
|
margin: 8px 32px 8px 0;
|
|
font-size: 1.35rem;
|
|
line-height: 1.25;
|
|
}
|
|
.contact-dialog p {
|
|
margin: 0;
|
|
}
|
|
.contact-dialog .contact-eyebrow {
|
|
color: var(--contact-accent);
|
|
font-size: 12px;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
.contact-advisor,
|
|
.contact-help,
|
|
.contact-consent {
|
|
color: oklch(72% 0.015 214);
|
|
}
|
|
.contact-form {
|
|
margin-top: 32px;
|
|
display: grid;
|
|
gap: 24px;
|
|
}
|
|
.contact-form label {
|
|
display: block;
|
|
margin-bottom: 0.35rem;
|
|
font-weight: 600;
|
|
}
|
|
.contact-form input:not([type="checkbox"]),
|
|
.contact-form select {
|
|
width: 100%;
|
|
min-height: 2.75rem;
|
|
padding: 0.65rem 0.8rem;
|
|
border: 1px solid #61777d;
|
|
border-radius: 0.75rem;
|
|
background: #101e22;
|
|
color: inherit;
|
|
font: inherit;
|
|
color-scheme: dark;
|
|
}
|
|
.contact-dialog button {
|
|
min-height: 2.75rem;
|
|
padding: 0.65rem 0.8rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 0.75rem;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
.contact-dialog .contact-close {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
padding: 0;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font-size: 28px;
|
|
}
|
|
.contact-submit {
|
|
width: 100%;
|
|
background: #53d5cd;
|
|
color: oklch(20% 0.03 220);
|
|
}
|
|
.contact-submit:hover:not(:disabled) {
|
|
background: #6de0d9;
|
|
}
|
|
|
|
.contact-dialog :disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
}
|
|
.contact-dialog :focus-visible {
|
|
outline: 3px solid #53d5cd;
|
|
outline-offset: 4px;
|
|
}
|
|
.contact-dialog .contact-help {
|
|
margin-top: 8px;
|
|
font-size: 14px;
|
|
}
|
|
.contact-form .contact-consent {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
.contact-consent input {
|
|
flex-shrink: 0;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 2px 0 0;
|
|
accent-color: var(--contact-accent);
|
|
}
|
|
.contact-status {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.contact-status:empty {
|
|
display: none;
|
|
}
|
|
.contact-status a {
|
|
color: var(--contact-accent);
|
|
}
|