:root {
    --text-color: black;
    --link-color: blue;
    --background-color: rgb(212, 169, 216);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Lexend', sans-serif;
    background-color: var(--background-color);
}

a {
    color: var(--link-color);
    text-decoration: none;
}

/* NAV MENU */
nav {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    height: 80px;
    align-items: center;
}

nav .left a {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
}

nav .right a {
    color: var(--text-color);
    font-size: 18px;
    margin: 0 10px;
}

/* SUMMARY */
.summary-section {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin: 50px 0;
    align-items: center;
}

.summary-section .text {
    flex: 5;
}

.summary-section .text h2 {
    font-size: 30px;
    padding: 5px 0;
}

.summary-section .headshot {
    flex: 2;
}

.summary-section .headshot img {
    border-radius: 50%;
    width: 350px;
}

.summary-section .links {
    margin: 20px 0;
}


.summary-section .links a {
    margin: 0 10px;
    color: var(--text-color);
    font-size: 20px;
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
}

/* SKILLS */
#skills {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin: 50px 0;
    align-items: center;
}

#skills .text {
    flex: 5;
}

#skills .text h2 {
    padding: 5px 0;
}

#skills .attributes {
    margin: 20px 0;
    
}

#skills .attributes h2 {
    margin: 0 10px;
    color: var(--text-color);
    font-size: 20px;
    border: 2px solid black;
    border-radius: 10px;
    padding: 10px;
}

/* ABOUT ME */
#about_me {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin: 100px 0;
}

#about_me .text h2 {
    padding: 5px 0;
}

/* PROJECTS */
#projects {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin: 100px 0;
}

#projects .text h2 {
    padding: 5px 0;
}

@media (max-width: 700px) {
    /* NAV BAR */
    nav {
        padding: 0 20px;
    }

    nav .right a {
        font-size: 22px;
    }

    nav .right a span {
        display: none;
    }
}