* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Overpass Mono', monospace;
}

:root {
    --primary: rgb(160, 189, 184);
    --secondary: rgb(38, 127, 84);
    --tertiary: rgb(211, 92, 62);

    --dark: rgb(24, 24, 24);
}

body {
    /* font-family: Arial, Helvetica, sans-serif; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--dark);
    color: var(--primary);
}

/* header/navigation styles start */
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: var(--dark);
    background-size: cover;
    padding: 20px;
    border-bottom: 3px solid var(--primary);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
}

header h1 {
    font-size: 30px;
    font-weight: bold;
}

header h1,
header a {
    text-decoration: none;
    color: var(--primary);
}

header nav {
    margin: auto 0;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}

header nav ul li a {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
}
/* header/navigation styles end */

/* hero styles start */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* background-image: url(""); */
    background-size: cover;
    background-position: center;
    /* height: 600px; */
}
/* hero styles end */

/* section styles start */
section {
    margin: 30px 0;
}

.section-title {
    margin: 30px auto 20px auto;
    text-align: center;
    width: 30%;
    font-size: 38px;
    font-weight: 750;
    color: var(--primary);
    padding-bottom: 18px;
    border-bottom: 3px solid var(--primary);
}
/* section styles end */

/* footer styles start */
footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    border-top: 3px solid var(--primary);
    padding: 20px;
    background: var(--dark);
    color: var(--primary);
}
/* footer styles end */

/* "About Me" styles start */
.bio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bio img {
    background-image: url("../assets/images/alexander-pic.png");
    background-size: cover;
    background-position: 80%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin-right: 10%;
}

.bio-text {
    width: 35%;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary);
}

.bio-text a {
    text-decoration: none;
    color: var(--tertiary);
}
/* "About Me" styles end */

/* "My Work" styles start */
.grid-container {
    display: grid;
    justify-content: center;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    /* grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 5px;
    width: 80%;
    margin: 0 auto;
}

.repo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    background-size: cover;
    background-position: top;
    min-height: 150px;
    box-shadow: 0 0 7px black;
}

.repo a {
    padding: 7px 28px 7px 28px;
    border: 3px solid var(--tertiary);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: var(--tertiary);
    background: var(--primary);
    margin: auto 0 13px 0;
    opacity: 0.8;
}

.repo:hover {
    box-shadow: 0 0 13px black;
    opacity: 0.8;
    transition: 0.3s;
}

.repo a:hover {
    color: var(--primary);
    background-color: var(--tertiary);
    border-color: var(--secondary);
    opacity: 1;
}

.party-assist {
    background-image: url("../assets/images/PartyAssistScreenCapture.png");
    grid-column: 1/3;
    grid-row: 3/5;

}

.meal-plan {
    background-image: url("../assets/images/MealPlanDashboard.png");
    grid-column: 1/3;
    grid-row: 1/3;

}

.my-tech-blog {
    background-image: url("../assets/images/my-tech-blog.png")
}

.weather-dashboard {
    background-image: url("../assets/images/weatherscreenshot.png");
}

.coding-quiz {
    background-image: url("../assets/images/Coding-Quiz-Intro.png");
}

.work-day-scheduler {
    background-image: url("../assets/images/work-day-scheduler.png");
}

.password-generator {
    background-image: url("../assets/images/PasswordGeneratorScreenCapture.png");
}

.team-profile-generator {
    background-image: url("../assets/images/team-profile-generator.png");
}

.e-commerce-back-end {
    background-image: url("../assets/images/e-commerce-back-end.png")
}
/* "My Work" styles end */

/* "Contact Me" styles start */
.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.contact p {
    width: 35%;
    line-height: 1.5;
    text-align: center;
    margin-right: 10%;
}

.contact ul {
    list-style: none;
    text-align: left;
    line-height: 1.3;
}

.contact ul a {
    text-decoration: none;
    color: var(--tertiary);
}
/* "Contact Me" styles end */

header,
section,
footer {
    width: 100%;
    max-width: 1100px;
}

/* UTILITY STYLES START */
.italic {
    font-style: italic;
}

@media screen and (max-width: 790px) {
    header {
        width: 100%;
        justify-content: center;
    }

    header h1 {
        width: 100%;
        text-align: center;
    }

    header nav ul {
        margin-top: 20px;
        width: 100%;
    }

    section {
        margin: 0;
    }

    .grid-container {
        width: 90%;
    }

    .repo {
        grid-row: span 1
    }
}

@media screen and (max-width: 680px) /*540px*/ {
    header h1 {
        text-align: center;
        font-size: 25px;
    }

    header nav ul li a {
        padding: 10px;
    }

    .section-title {
        display: block;
        width: 70%;
        font-size: 30px;
        /* border-bottom: 3px solid var(--secondary); */
    }

    .bio {
        justify-content: center;
    }

    .bio img {
        margin: 0 auto;
    }

    .bio-text {
        width: 80%;
        margin: 20px auto 30px auto;
        text-align: center;
    }

    .grid-container {
        width: 95%;
        grid-template-columns: 1fr;
    }

    .repo a {
        padding: 3px 5px;
        font-size: 16px;
    }

    .party-assist {
        grid-column: 1/3;
        grid-row: 3/5;
        }

    .contact {
        justify-content: center;
        width: 100%;
    }

    .contact p {
        width: 337px;
        margin: 20px 10% 35px 10%;
        text-align: left;
    }

    .contact ul {
        width: 337px;
        margin: 0 10% 20px 10%;
        line-height: 1.5;
    }
}

@media screen and (max-width: 415px) {

    header {
        padding: 10px;
    }

    header nav ul {
        margin-top: 7px;
    }

    header nav ul li {
        margin-top: 3px;
    }

    .bio img {
        width: 200px;
        height: 200px;
    }

    .contact p,
    .contact ul {
        width: 250px;
    }

    .contact ul li {
        margin-bottom: 10px;
    }

    .contact ul li a {
        display: block;
    }
}

@media screen and (max-width: 352px) {

    .bio img {
        width: 200px;
        height: 200px;
    }


    header nav ul li a {
        font-size: 14px;
    }

}