:root {
    --dark-green: #397962;
    --tan: #F7E1D7;
    --dark-grey: #202229;
    --light-purple: #C5B9D0;
    --light-green: #9AB99C;
}

body {
    margin: 0;
    padding: 0;

    background-color: var(--tan);
    color: var(--dark-grey);

    font-family: "Manrope", sans-serif;
}

h1, h2 {
    font-family: "Space Grotesk", sans-serif;
}

a {
    color: var(--dark-green);
}

.black-link {
    color: var(--dark-grey);
}

section {
    padding: 0 80px 0 80px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

.profile {
    background-color: var(--light-purple);
    height: 100dvh;

    align-items: center;
    justify-content: center;
    text-align: center;

    /* Desktop view */
    position: fixed;
    top: 0;
    left: 0;
    width: 32%;

    box-shadow: var(--dark-grey) 5px 0 15px;
}

#headshot {
    border-radius: 50%;
    width: 200px;
    display: block;
    border: 5px solid var(--dark-grey);
}

.profile-links {
    padding-bottom: 50px;
}

.fa-icon-spacer {
    width: 8px;
    display: block;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-size: large;
}

nav li {
    margin-bottom: 10px;
}

.nav-link.active {
    font-size: x-large;
}

.scroll-fade {
    transition: opacity 0.1s ease;
}

.desktop-hidden {
    display: none;
}

.content {
    margin-left: 32%;
    margin-top: 60px;
    margin-bottom: 60px;
}

.intro p {
    font-size: x-large !important;
}

.content h1 {
    font-size: xxx-large;
    margin-bottom: 10px;
}

.content h2 {
    font-size: xx-large;
}

.content p {
    font-size: large;
}

.project {
    margin-bottom: 50px;
}

.project-links {
    font-weight: bold;
}

.project-links a {
    text-decoration: none;
}

.tags {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

.tags li {
    background-color: var(--light-green);
    border-radius: 5px;
    padding: 3px 5px;
}

footer {
    margin-left: 32%;
    display: flex;
    justify-content: space-between;
    padding: 10px 30px;
    font-size: small;
    gap: 20px;
}

@media (max-width: 850px) {
    .profile {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;

        box-shadow: var(--dark-grey) 5px 0 15px;
    }

    .content {
        margin-left: 0;
        padding: 0 40px 0 40px;
    }

    .mobile-hidden {
        display: none;
    }

    .desktop-hidden {
        display: block;
    }

    footer {
        margin-left: 0;
    }
}