@import url(https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', sans-serif;
}

body {
    background: #1C1C1C;
    color: #ededed;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    background: darkgreen;
    display: flex;  
    justify-content: space-between;
    align-items: center;
    z-index: 77;
}

.logo {
    color: #ededed;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: bold;
}

.navbar a {
    font-size: 1.6rem;
    font-weight: 500;
    color: #ededed;
    margin-left: 20px;
}

.navbar a:hover {
    color: #00abf0;
}

.about {
    margin-top: 12rem;
    margin-bottom: 17rem;
    display: flex;
    align-items: center;
    padding: 0 17%;
}

#about-header {
    font-size: 5rem;    
}

.scrolling-navbar {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    position: sticky;
    background-color: #1C1C1C;
    top: 3.2rem;
    padding: 10px 0;
    padding-top: 20px;
}

.scroll-navbar a[href^="#"] {
    scroll-behavior: smooth;
}

.scrolling-navbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: #ededed;
    margin: 0 1rem;
    white-space: nowrap;
}

.scrolling-navbar a:hover {
    color: #00abf0;
}

.about-content {
    max-width: 700px;
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 1.5;
}

h3 {
    font-size: 2rem;
    font-weight: 400;
}

h3 a {
    text-decoration: underline;
    color: #f2ff7f;
}

h3 a:hover {
    color: #00abf0;
}

h2 {
    text-align: center;
    font-weight: 400;
    font-size: 5rem;
    margin-top: 10rem;
    margin-bottom: 4rem;
}

.resume {
    display: flex;
    align-items: flex-start;
    padding-left: 1rem;
    flex-direction: column;
    max-width: 1020px;
    margin: 0 auto;
    border-left: dotted thick green;
}

.resume-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: left;
    font-size: 1.7rem;
    line-height: 1.5;
    font-weight: lighter;
}

ul {
    margin-left: 1.5rem;
}

/* Mobile Phone Navbar specific changes */
@media screen and (max-width: 768px) {
    .scrolling-navbar {
        line-height: 1.1;
        margin-top: 7rem;
        top: 5.7rem;
        flex-wrap: wrap; /* Allow items to wrap onto the next line */
    }

    .scrolling-navbar a {
        flex-basis: 50%; /* Each link takes up 50% of the width on small screens */
    }
}

/* Mobile Changes */
@media screen and (max-width: 1019px), (max-height: 512px) {
    .logo {
        font-size: 1.2rem;
    }
    .navbar a {
        font-size: 1.2rem;
    }
    .about {
        margin-top: 3rem;
        margin-bottom: 0;
    }
    #about-header {
        font-size: 3rem;    
    }
    #resume-header {
        font-size: 3rem;
    }
    .about-content {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .resume {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .resume-content {
        font-size: 1.5rem;
    }
}