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

/* @font-face {
    font-family: InterLight;
    src: url(/fonts/Inter-Light.ttf);
} */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Inter;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #383838;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #383838;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #383838;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #383838;
}

p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #383838;
    line-height: 2rem;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 0;
}

.subtitle {
    color: #4b5dff;
}

/* Nav Styling */

nav {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
}

.logo {
    height: 2.5rem;
    width: auto;
    filter: invert(80%);
    margin-right: 2rem;
}

.nav-title {
    color: #383838;
    font-size: 1.5rem;
    font-weight: 800;
}

.list {
    list-style: none;
    display: flex;
    align-items: center;
}

.list-item:not(:last-child) {
    margin-right: 3rem;
}

.nav-link {
    color: #383838;
    font-weight: 700;
    font-size: 1rem;
    transition: .25s;
}

.nav-link:hover {
    color: #4b5dff;
}

/* Styling for Header */

.vert-bar {
    height: 2rem;
    width: 2px;
    background-color: #383838;
    margin-left: 3rem;
    margin-right: 3rem;
}

header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 10rem 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
}

.header-text {
    margin: 1rem 0;
}

.social-list {
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.social {
    height: 2rem;
    width: 2rem;
    fill: #383838;
    transition: .25s;
}

.social:hover {
    fill: #4b5dff;
}

.tech-stack {
    display: flex;
    align-items: center;
    padding: 2rem;
}

.tech-content {
    display: flex;
    flex-wrap: wrap;
}

.tech-bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    height: 4.25rem;
    width: 4.25rem;
    border-radius: 50%;
}

.tech-bubble:hover {
    cursor: pointer;
}

.tech-bubble:not(:last-child) {
    margin-right: 2rem;
}

.tech {
    height: 2.75rem;
    width: auto;
}

/* Styling for About Me */

.about-content {
    width: 50%;
}

/* Styling for projects */

#projects {
    background-color: #f9f9f9;
}

.projects-content {
    width: 50%;
}

.project-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.project {
    margin-top: 4rem;
    width: 100%;
    background-color: white;
    border-radius: .5rem;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-preview {
    height: 70%;
    width: 70%;
    border-radius: .5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.project-buttons {
    display: flex;
    width: 40%;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 1rem;
}

.project-link {
    font-size: 1rem;
    color: #4b5dff;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.project-icon {
    height: 1.25rem;
    width: auto;
    margin-left: .5rem;
    fill: #4b5dff;
}

.project-title {
    color: #4b5dff;
}

/* Styling for footer */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: #383838;
}

.footer {
    font-size: 1rem;
    color: white;
}

/* Misc */

.lines {
    scale: 1.25;
    color: #383838;
    display: none;
}

.lines:hover {
    cursor: pointer;
}

.mobile-list {
    display: none;
}

.flex {
    display: flex;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-item:not(:last-child) {
    margin-bottom: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
}

.path {
    margin-left: .5rem;
}

@media (max-width: 800px) {
    .mobile-list {
        list-style: none;
        position: fixed;
        height: 100vh;
        width: 100%;
        background-color: #f9f9f9;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-link {
        font-size: 2rem;
        line-height: 4rem;
    }

    .list-item:not(:last-child) {
        margin-right: 0;
    }

    section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1rem;
    }

    /* Nav */
    nav {
        padding: .5rem 5%;
    }

    .logo {
        height: 2rem;
        width: auto;
    }

    .nav-title {
        font-size: 1.25rem;
    }

    .list {
        display: none;
    }

    .lines {
        display: inline-block;
    }

    .social-list {
        display: flex;
        margin-bottom: 1rem;
    }

    .mobile-list-item:not(:last-child) {
        margin-right: 1rem;
    }

    /* Header */
    header {
        padding: 8rem 0 0 0;
    }

    .header-content {
        width: 70%;
    }

    .tech-stack {
        flex-direction: column;
        margin-top: 2rem;
    }

    .stack {
        margin-bottom: 1rem;
    }

    .tech-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .tech-bubble {
        margin: 0rem;
    }

    .tech-bubble:not(:last-child) {
        margin-right: 0rem;
    }

    .vert-bar {
        display: none;
    }

    /* About */
    .about-content {
        width: 70%;
    }

    .about-title {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    /* Projects */
    .projects-content {
        width: 80%;
    }

    .project-preview {
        width: 100%;
    }

    .project-buttons {
        width: 90%;
    }

    .project-link {
        font-size: .9rem;
    }

    .project-icon {
        height: 1rem;
        width: auto;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .path {
        font-size: 1rem;
    }

    .footer {
        font-size: .75rem;
    }
}