@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Nunito:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
    --font-sans: "Nunito", sans-serif;
    --font-serif: "Fraunces", serif;
    --font-mono: "Space Mono", monospace;
}

body {
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

code,
pre {
    font-family: var(--font-mono);
}

/* Form styling */
form {
    margin: 2rem 0;
}

form div {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: inherit;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--accent-color, #ff7800);
    border-radius: 8px;
    background-color: transparent;
    color: inherit;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition:
        border-color 0.4s,
        box-shadow 0.4s;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color, #ff7800);
    box-shadow: 0 0 0 4px rgba(255, 120, 0, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button[type="submit"] {
    background-color: transparent;
    color: var(--accent-color, #ff7800);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color, #ff7800);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

button[type="submit"]:hover {
    background-color: var(--accent-color, #ff7800);
    color: white;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

.buttons.left {
    justify-content: flex-start;
    margin-top: 1rem;
}

.buttons.right {
    justify-content: flex-end;
    margin-top: 1rem;
}

.buttons.centered {
    justify-content: space-around;
    margin-top: 1rem;
}
