@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary-color: #0F172A;
    --secondary-color: #1E293B;
    --primary-cta: #3B82F6;
    --secondary-cta: #D35000;
    --cta-hover: #2563EB;
    --code-bg: #1E1E2E;
    --footer-bg: #141414;
    
    --text-primary: #F1F5F9;
    --text-muted: #94A3B8;

    --font-primary: 'Inter', sans-serif;
}

/* Base Styles */
.text-primary {
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-muted);
}

.bg-raised {
    background-color: var(--secondary-color);
}

.bg-cta {
    background-color: var(--secondary-cta);
}

.bg-code {
    background-color: var(--code-bg);
}

.font-primary {
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

/* Site Styles */
body {
    background-color: var(--primary-color);
    color: var(--text-primary);

    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

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

/* Media Links */
.media-links {
    display: flex;
    color: var(--secondary-cta);
    gap: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
}

.media-links-right {
    justify-content: right;
}

.media-links a {
    cursor: pointer;
    font-size: 2rem;
}

.media-links a:hover {
    color: var(--cta-hover)
}

/* Header Styles */
.header {
    width: 50%;
    margin-top: 2rem;
    justify-self: center;
    position: relative;
}

#headshot-container {
    width: 9.3rem;
    height: 9.3rem;
    overflow: hidden;
    border-radius: 50%;
    position: absolute;
    left: -4.65rem;
    top: -4.65rem;
}

#headshot {
    image-rendering: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-box {
    background-color: var(--secondary-color);
    padding: 2rem 4rem;
    border-radius: 3rem;
}

#ApptSmartLogo {
    width: 1rem;
    height: 1rem;
}

.header-skills {
    margin-top: 3rem;
    /* line-height: 0.5rem; */
}

.header-navlinks {
    display: flex;
    margin-top: 2rem;
    gap: 1rem;
}

.header-navlinks a {
    padding: 0.55rem 1rem;
    border-radius: 2rem;
    background-color: var(--secondary-cta);
}

/* Sections */
.section-title {
    margin-left: 1rem;
}

/* Projects */
.section-projects {
    margin-top: 20rem;
}

.project {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    max-width: 9000px;
    margin: 2rem auto;
    padding: 3rem 2rem;
    overflow: hidden;
    border-radius: 50px;
    gap: 2rem;
}

.left, .right {
    flex: 1;
}

.left img {    
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

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

.project-description {
    line-height: 1.6;    
}


.project-links {
    color: var(--primary-cta);
    display: flex;
    gap: 1rem;
}


/* Footer */
.footer {
    width: 100vw;
    min-height: 20rem;
    background-color: var(--footer-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Not Found */
.not-found {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 750px) {
    .header {
        width: 75%;
    }
}

@media (max-width: 500px) {
    .project {
        width: 75%;
        flex-direction: column;
    }

    .header {
        width: 95%;
        margin-top: 10rem;
    }

    #headshot-container {
        left: 50%;
        transform: translateX(-50%);
        top: -7rem;
        /* transform: translateY(50%); */
    }
    
}