:root {
    --body-color: #222;
    --text-color: #fafafa;
    --header-color: #000;
    --footer-color: #333;
    --link-color: #0c2;
    --accent-color: #cfb662;
}

* {
    box-sizing: border-box;
}

html,
body,
main {
    font-size: 16px;
    min-height: 100dvh;
    width: 100dvw;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    color: var(--text-color);
    background: var(--body-color);
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-color);
    z-index: 2;
    padding-right: 0;
}

header h1 {
    font-weight: 400;
    margin: 0;
    padding: 1rem 1.5rem;
    line-height: 1;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
}

header h1 span {
    font-size: 0.75rem;
    font-weight: 300;
    padding-top: 0.5rem;
    display: inline-block;
    width: 7rem;
}

.header--job-title {
    order: 0;
    text-align: right;
}


.header--location {
    order: 2;
}

.header--name {
    order: 1;
}

.header--name::after,
.header--name::before {
    /* content: '·'; */
    /* content: '⚜'; */
    /* content: '☆'; */
    /* content: '♦'; */
    /* content: '⚬'; */
    /* content: '𓆚'; */
    /* content: '𓃭'; */
    /* content: '𓃓'; */
    /* content: '𐦐'; */
    /* content: '𓀴'; */
    /* content: '𓃠'; */
    /* content: '𓆗'; */
    content: '𓊨';
    display: inline-block;
    margin: 0 1rem;
    color: var(--accent-color);
}

.header--name::after {
    transform: scale(-1, 1);
}

a {
    color: inherit;
    text-decoration: none;
}

p a {
    color: var(--link-color);
}

main {
    padding: 1.5rem;
    min-height: 100dvh;
    width: 100dvw;
    overflow-y: auto;
}

footer {
    padding: 1rem;
    background-color: var(--header-color);
}

footer p {
    margin: 0;
    font-size: 0.75rem;
    text-align: right;
    line-height: 1;
    font-weight: 300;
    color: var(--accent-color)
}

section {
    margin: 1.5rem 0 3rem;
}

section:first-child {
    margin-top: 0;
}

section:last-child {
    margin-bottom: 0;
}

.section--wrapper {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}

.section--content {
    overflow-x: hidden;
}

.section--content p {
    text-align: left;
    font-weight: 300;
    max-width: 66vw;
    line-height: 1.4;
    margin: 0 auto 1rem auto;
}

.section--content p:last-child {
    margin-bottom: 0;
}

.section--content p.center {
    text-align: center;
    max-width: none;
}

.section--content ul {
    margin: 0;
    padding: 1rem 0;
}

.section--content li {
    list-style-type: none;
    font-weight: 300;
    font-size: 0.70rem;
    line-height: 1;
}

.section-contact p {
    margin-top: 0.75rem;
}

.section-projects,
.section-skills {
    padding-left: 10vw;
    padding-right: 10vw;
}

.tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags li {
    display: inline-block;
    line-height: 1;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border: 1px var(--accent-color) solid;
    border-radius: 0.5rem;
}

h2 {
    display: inline-block;
    line-height: 1;
    text-align: center;
    font-weight: 300;
    position: relative;
}

h2::before,
h2::after {
    content: '𓊍';
    border-bottom: 1px var(--accent-color) solid;
    position: absolute;
    display: block;
    z-index: 1;
    bottom: 0.25rem;
    width: 50vw;
    height: 1rem;
    font-size: 1.1875rem;
    color: var(--accent-color);
}

h2::before {
    text-align: right;
    right: calc(100% + 1rem);
}

h2::after {
    text-align: right;
    transform: scale(-1, 1);
    left: calc(100% + 1rem);
}

h3 {
    display: inline-block;
    line-height: 1;
    text-align: center;
    font-weight: 300;
    font-size: 1rem;
    position: relative;
}

h3::before,
h3::after {
    content: '𓊎';
    position: absolute;
    display: block;
    z-index: 1;
    bottom: 0rem;
    height: 1rem;
    font-size: 0.7rem;
    color: var(--accent-color);
    color: #eee;
    opacity: 1;
}

h3::before {
    text-align: right;
    right: calc(100% + 0.5rem);
    transform: rotate(-90deg);
}

h3::after {
    text-align: right;
    transform: scale(-1, 1) rotate(-90deg);
    left: calc(100% + 0.5rem);
}

h4 {
    font-weight: 300;
    font-size: 1rem;
    margin-top: 0;
}

.projects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    text-align: left;
}

.projects li {
    line-height: 1;
    font-size: 0.75rem;
    padding: 1rem;
    border: 1px var(--accent-color) solid;
    border-radius: 0.5rem;
}

.projects p {
    margin-top: 0.75rem;
    line-height: 1.4;
}

.projects p a {
    display: inline-block;
    line-height: 1;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-left: 0.5rem;
    color: var(--link-color);
    border: 1px var(--link-color) solid;
    transition: color ease-out 0.5s, border-color ease-out 0.5s;
}

.projects p a:first-child {
    margin-left: 0;
}

.projects p a:hover {
    border: 1px var(--accent-color) solid;
    color: var(--text-color);
}

/* h5 {
    font-size: 1.5rem;
    display: inline-block;
    line-height: 1;
    text-align: center;
    font-weight: 300;
    position: relative;
}

h5::before,
h5::after {
    content: '𓊍';
    border-bottom: 1px var(--accent-color) solid;
    position: absolute;
    display: block;
    z-index: 1;
    bottom: 0.25rem;
    width: 50vw;
    height: 1rem;
    font-size: 1.1875rem;
    color: var(--accent-color);
}

h5::before {
    text-align: right;
    right: calc(100% + 1rem);
    transform: scale(-1, 1)rotate(180deg);
}

h5::after {
    text-align: right;
    transform: rotate(180deg);
    left: calc(100% + 1rem);
} */
@media screen and (max-width: 64rem) {
    .projects {
        grid-template-columns: 1fr 1fr;
    }

    .section-projects,
    .section-skills {
        padding-left: 0;
        padding-right: 0;
    }

    .section--content p {
        max-width: none;
    }
}

@media screen and (max-width: 38rem) {
    .projects {
        grid-template-columns: 1fr;
    }

    .header--name {
        font-size: 1rem;
    }

    .header--job-title,
    .header--location {
        font-size: 0.65rem;
    }

    .header--name::after,
    .header--name::before {
        margin: 0 0.5rem;
    }

    header h1 span {
        width: 6rem;
    }
}

@media screen and (max-width: 25rem) {
    header h1 span {
        display: none;
    }
}