@font-face {
    font-family: "Anton SC";
    src: url("/fonts/AntonSC-Regular.ttf");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    src: url("/fonts/Inter-VariableFont_opsz,wght.ttf");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    src: url("/fonts/Inter-Italic-VariableFont_opsz,wght.ttf");
}

@font-face {
    font-family: "Josefin Sans";
    font-style: normal;
    src: url("/fonts/JosefinSans-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Josefin Sans";
    font-style: italic;
    src: url("/fonts/JosefinSans-Italic-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Liter";
    src: url("/fonts/Liter-Regular.ttf");
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
body {
    min-height: 100vh;
}

:root {
    --neutral: #cabcb3;
    --primary: oklch(0.7 0.1258 228.71);
    --secondary: hsla(341, 66%, 67%, 1);
    --tertiary: hsla(78, 69%, 55%, 1);
    --auxiliary: hsla(31, 87%, 53%, 1);
    --text: hsla(60, 22%, 92%, 1);
    --inverted-text: hsla(60, 22%, 2%, 1);

    --heading: "Anton SC";
    --body: "Inter";

    background-color: var(--neutral);
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.6)
        ),
        url("/img/bg.webp");
    background-size: cover;
    color: var(--text);
    font-family: var(--body);
}

main {
    margin: auto;
    max-width: 1280px;
}

heading {
    color: var(--text);
    padding: 33px 22px;
    text-align: center;
}

heading > div {
    margin-top: max(96px, 12%);
    padding: 11px 0;
    position: relative;
    z-index: 1;
}

heading h1 {
    font-family: var(--heading);
    font-size: 4rem;
    width: 100%;
}

heading h1 img {
    left: 0px;
    max-height: 300px;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 0;
}

heading h2 {
    font-family: "Josefin Sans";
    font-size: 1.45rem;
    margin: auto;
    padding: 4px 0px;
    width: fit-content;
}

heading h3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    letter-spacing: 3px;
    margin: auto;
    max-width: 300px;
    min-height: 44px;
    padding: 4px 0px;
    text-transform: uppercase;
}

heading h3 span {
    align-items: center;
    background-color: transparent;
    display: flex;
    font-size: 1.15rem;
}

heading h3 span:first-of-type {
    border-right: 2px solid var(--text);
    justify-content: right;
    padding-right: 22px;
}

heading h3 span:last-of-type {
    justify-content: left;
    padding-left: 22px;
}

#contact-info {
    display: flex;
    flex-direction: column;
    gap: 11px;
    justify-content: center;
    padding: 4px 0px;
}

#contact-info a {
    align-items: center;
    color: inherit;
    display: flex;
    gap: 12px;
    justify-content: center;
    text-decoration: none;
}

heading h4 {
    font-size: 1.15rem;
}

.section-heading {
    font-size: 1.25rem;
    letter-spacing: 2px;
    padding: 0px 12px;
    text-transform: uppercase;
}

.link-button-area {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 12px 0;
}

.link-button {
    background-color: var(--primary);
    border-radius: 2px;
    border: 2px solid var(--inverted-text);
    box-shadow: -4px 6px 0px var(--secondary);
    color: var(--inverted-text);
    font-size: 1.25rem;
    margin: 12px auto;
    padding: 4px 8px;
    text-decoration: none;
}

.link-button:visited {
    color: var(--inverted-text);
}

#canvas-container {
    display: flex;
    justify-content: center;
    position: relative;
}

#canvas-container img {
    max-width: 100%;
}

#canvas {
    align-items: center;
    display: flex;
    height: 80%;
    left: 22%;
    margin-top: 2%;
    justify-content: center;
    position: absolute;
    top: 5%;
    transform: skew(3deg, -4.4deg);
    width: 68%;
}

#canvas img {
    max-height: 100%;
    max-width: 100%;
}

#gallery {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    gap: 24px;
}

#gallery > h2 {
    padding: 40px 12px 12px;
}

#gallery > div {
    align-items: center;
    display: flex;
    min-height: 300px;
    justify-content: center;
}

#gallery iframe {
    min-height: 300px;
    width: min(500px, 100%);
}

#process {
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#process a {
    color: inherit;
}

#process > div {
    align-items: center;
    display: flex;
    gap: 24px;
    padding: 12px 24px;
}

.step-number {
    align-items: center;
    background-color: var(--primary);
    border-radius: calc(1px * infinity);
    color: var(--inverted-text);
    display: flex;
    font-size: 3rem;
    min-height: 70px;
    min-width: 70px;
    justify-content: center;
}

#process > div > span:nth-of-type(2) {
    font-size: 2rem;
}

#biography {
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 1.2rem;
    line-height: 1.6rem;
    margin-top: 12px;
    padding: 32px 0;
}

#biography h4 {
    padding: 12px 12px 0;
}

#biography p {
    padding: 12px;
}

footer {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    border-top: 1px solid var(--secondary);
    padding: 40px 24px 12px;
    text-align: center;
}

/* Utilities */
.centered {
    align-items: center;
    display: flex;
    justify-content: center;
}

.pad-bottom {
    padding-bottom: 40px;
}

.hidden {
    display: none;
}

.shown {
    display: block;
}

@media (min-width: 1024px) {
    #process {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #process h2 {
        grid-column: 1 / 3;
        padding-bottom: 24px;
    }

    .link-button-area {
        margin: auto;
        max-width: 800px;
        padding: 24px 0;
    }
}
