main {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (max-width: 768px) {
    main {
        padding: 0 1rem;
    }
}

main > h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

main > p {
    text-align: center;
    margin: 0;
    max-width: 100ch;
}

#contact_card {
    padding: 2rem;
    margin: 1rem;
    border-radius: 1rem;
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
}

#contact_card h1 {
    text-align: center;
    margin: 0;
    font-weight: 700;
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 60ch;
}

@media (max-width: 768px) {
    #contact_card {
        margin-left: 0;
        margin-right: 0;
    }
    form {
        width: 100%;
    }
}

md-filled-text-field {
    width: 100%;
}

md-filled-text-field[type="textarea"] {
    resize: vertical;
    min-height: 6.5rem;
}