@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    color: inherit;
}

:root {
    --purple: #674ea7;
    --purple-dark: #351c75;
    --purple-darker: #20124d;
    --purple-light: #d9d2e9;

    --nav-height: 3rem;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}

main {
    margin: 0 0.75rem;
}

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

a:hover, a:active {
    border-bottom: 3px solid var(--purple);
}

a:visited {
    color: inherit;
}

#resume-header {
    background: var(--purple-light);
    background: linear-gradient(135deg, var(--purple-light) 0%, white 20%, var(--purple-light) 100%);
    text-align: center;
    line-height: 1.2;
    padding-top: 1.5rem;
}

.resume-name {
    color: var(--purple);
    font-size: 3rem;
}

.resume-subtitle {
    color: var(--purple-dark);
    font-size: 1.5rem;
}

#headshot {
    width: 65vw;
    margin: 1rem;
    border: 5px solid var(--purple);
    border-radius: 50%;
}

section {
    margin: 2rem 0.5rem 1rem;
}

.sub-heading {
    font-family: 'Roboto Condensed', 'Roboto', 'sans-serif';
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--purple);
    padding-bottom: 0.3rem;
    border-bottom: 8px solid var(--purple-light);
    margin: 1rem 0;
}

#contact {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    list-style-type: none;
}

.contact-item {
    padding: 6px;
    color: var(--purple-darker);
}

.contact-item i {
    color: var(--purple);
    margin-right: 6px;
}

.job {
    margin: 1rem 0;
}

.job-description {
    margin: 1rem 0;
}

.job-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
}

.job-title {
    font-weight: unset;
    font-size: 1.2rem;
}

.project {
    margin: 1rem 0;
}

.project-title {
    color: var(--purple);
    font-weight: bold;
    font-size: 1rem;
    margin-right: 5px;
}

.project ul {
    margin: 1rem 0 1rem 1.5rem;
}

.project li {
    margin-bottom: 0.5rem;
}

#skills {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

#skills li {
    display: block;
    padding: 5px 7px;
}

#button-container {
    text-align: center;
}

/* DESKTOP STYLING */
@media only screen and (min-width: 768px) {

    #resume-header {
        padding: 0 3rem;
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        line-height: 1.2;
    }

    .resume-name {
        font-size: 4rem;
    }

    .resume-subtitle {
        font-size: 2rem;
        margin-left: 0.2rem;
    }

    #headshot {
        height: 20vh;
        width: 20vh;
    }

    #contact {
        justify-content: space-between;
    }
    
    main {
        display: flex;
        flex-flow: row;
    }

    #contact, main {
        max-width: 75rem;
        margin: 0 auto;
    }

    .resume-side {
        max-width: 35%;
        margin-left: 2rem;
    }

    section {
        margin: 2rem 0 1rem;
    }
}