/* Variables */

:root {
    --cubic-bezier: cubic-bezier(.22,.68,0,1);
    --transition-03s: all 0.3s var(--cubic-bezier);
    --transition-06s: all 0.6s var(--cubic-bezier);
    --transition-1s: all 1s var(--cubic-bezier);
    --font-size: 15px;
    --border-radius: 14px;
    --border-width: 1px;
}

/* Global */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-neutral-light-100);
    color: var(--color-neutral-dark-100);
    /* font-family: "Inter", sans-serif; */
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section, div, nav {
    box-sizing: border-box;
}

/* Typography */
a {
    color: var(--color-neutral-dark-100);
    text-decoration: underline;
    transition: var(--transition-03s);
    cursor: pointer;
}

a:hover {
    opacity: 0.75;
}

strong {
    color: var(--color-neutral-dark-100);
    font-weight: 700;
}

em {
    color: var(--color-neutral-dark-100);
    font-style: italic;
}

p {
    color: var(--color-neutral-dark-100);
    margin: 0;
}

h1.big {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1.huge {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.2;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-neutral-dark-100);
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.2;
}

h4 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
}

h5 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    /* color: var(--color-neutral-dark-050); */
}

h6 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    /* color: var(--color-neutral-dark-050); */
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 32px;
}

li {
    color: var(--color-neutral-dark-100);
    margin-bottom: 4px;
}

ul li,
ol li {
    list-style-position: outside;
}

ul li {
    list-style-type: disc;
}

ol li {
    list-style-type: decimal;
}

/* Forms */
button,
input,
textarea,
select {
    box-sizing: border-box;
    /* font-family: "Inter", sans-serif; */
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: var(--font-size);
    color: var(--color-neutral-dark-100);
    height: 42px;
    line-height: 1.5;
    padding: 8px 16px;
    transition: var(--transition-03s);
    border-radius: var(--border-radius);
    outline: 0px solid transparent;
}

input,
textarea,
select {
    background-color: var(--color-neutral-dark-005);
    border: var(--border-width) solid var(--color-neutral-dark-010);
    width: 100%;
}

button {
    background-color: transparent;
    color: var(--color-primary-100);
    font-weight: 400;
    cursor: pointer;
    border: var(--border-width) solid var(--color-primary-025);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    border-radius: calc(var(--border-radius) * 2);
}

button:hover {
    background-color: var(--color-primary-100);
    color: var(--color-neutral-light-100);
    border-color: transparent;
}

button:active {
    transform: scale(0.98) !important;
}

/* button.primary {
    background-color: var(--color-primary-100);
    color: var(--color-neutral-light-100);
    border-color: var(--color-neutral-dark-025);
} */

textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 400px;
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--color-primary-010);
}

input:focus,
textarea:focus,
select:focus,
/* button:hover, */
button:focus {
    opacity: 1;
    /* border-color: var(--color-neutral-dark-025); */
    outline: 4px solid var(--color-primary-010);
    /* transform: scale(1.02); */
}

input::placeholder,
textarea::placeholder {
    color: var(--color-neutral-dark-025);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="%23A1A1A1" d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

label {
    display: block;
    margin-bottom: -8px;
    color: var(--color-neutral-dark-050);
    font-weight: 500;
    font-size: 0.875rem;
}

.reverse-contrast button,
button.reverse-contrast {
    color: var(--color-neutral-light-100);
    background-color: transparent;
    border-color: var(--color-neutral-light-100);
    pointer-events: all;
}

.reverse-contrast button:hover,
button.reverse-contrast:hover {
    color: var(--color-primary-100);
    background-color: var(--color-neutral-light-100);
    border-color: transparent;
}

.reverse-contrast button:focus,
button.reverse-contrast:focus {
    outline-color: var(--color-neutral-light-025);
}

.reverse-contrast a,
a.reverse-contrast {
    color: var(--color-neutral-light-100);
}

.reverse-contrast a:hover,
a.reverse-contrast:hover {
    color: var(--color-neutral-light-075);
}

.reverse-contrast a:focus,
a.reverse-contrast:focus {
    outline-color: var(--color-neutral-light-025);
}
