@font-face {
    font-family: 'Sensapen';
    src: url('/fonts/sensapen-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    min-height: 2000px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    text-wrap: pretty;
}

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

::selection {
    background: var(--green);
    color: var(--white);
}

.font-sensapen {
    font-family: var(--font-sensapen);
}
