:root {
    --black: #3d405b;
    --green: #81b29a;
    --gray: #ccc5b9;
    --blue-dark: #48cae4;
    --blue: #90e0ef;
    --blue-light: #caf0f8;
    --main: 'Quicksand', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --base-size: 1rem;
    --scale: 1.2;
    --h6: var(--base-size);
    --h5: calc(var(--h6) * var(--scale));
    --h4: calc(var(--h5) * var(--scale));
    --h3: calc(var(--h4) * var(--scale));
    --h2: calc(var(--h3) * var(--scale));
    --h1: calc(var(--h2) * var(--scale));
}

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

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: var(--main);
    font-size: var(--base-size);
    height: 100%;
    display: flex;
    justify-content: center;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    margin: 0;
}

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

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

a {
    color: var(--green);
    font-size: 14px;
}

a:hover {
    text-decoration: none;
}

li {
    padding: 0.5em 0;
    font-size: 15px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: solid #bbb;
    border-width: 1px;
}

/* Utility Classes */
.color-black {
    color: var(--black);
}

.font-light {
    font-weight: 300;
}

.mono-light {
    font-family: var(--mono);
    font-weight: 300;
}

.lower-case {
    text-transform: lowercase;
}

/* Skills Section */
.skills {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--gray);
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.bg-blue-dark { background: var(--blue-dark); }
.bg-blue { background: var(--blue); }
.bg-blue-light { background: var(--blue-light); }

/* Contact Section */
#contact {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

/* Sticky Elements */
#experience, #intro, #projects {
    position: relative;
}

.category, #intro #name {
    position: sticky;
    top: 0;
    background: white;
    padding: 15px 0 0 0;
    border-bottom: 1px solid #eee;
    transition: box-shadow 0.3s ease;

    z-index: 10;
}

.category:sticky, #intro #name:sticky {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
