:root {
    --bg: #F2C6C3;
    --text: #3E5F73;
    --accent: #7A3A3A;
    --line: #6B8FA3;
}

@import url('https://fonts.googleapis.com/css2?family=Rokkitt:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: "Rokkitt", serif;
    text-align: center;
}

/* STRUCTURE */
header,
section,
footer {
    padding: 5rem 2rem;
}

/* HEADER */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

h1 {
    font-size: 8rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 400;
}

/* TEXT */
h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

p {
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* LINKS */
a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
}

/* PROJECT LIST */
section article {
    border-top: 1.5px solid var(--line);
    position: relative;
}

section article:last-child {
    border-bottom: 1.5px solid var(--line);
}

section article a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    font-size: 1.8rem;
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* subtitle */
section article em {
    font-style: normal;
    font-size: 1rem;
    opacity: 0.7;
}

/* hover effect */
section article a:hover {
    background-color: var(--bg-hover);
    color: var(--text-hover);
}

/* auto numbering */
section {
    counter-reset: project;
}

section article::before {
    counter-increment: project;
    content: "0" counter(project);
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    opacity: 0.4;
}

video{
    width: 100%;
}