:root {
    --theme-color: rgb(83, 166, 185);
}

html {
    font-family: 'Roboto Flex', Helvetica, sans-serif;
    font-weight: 300;
    color: #1E1E1E;
    font-size: 10px;
    box-sizing: border-box;
}

body {
    width: 1000px;
    justify-content: center;
    margin: 0 auto;
    overflow-x: hidden;
}

.bold {
    font-weight: 600;
}

h2 {
    font-size: 3.2rem;
    font-weight: 500;
}

.text-links {
    font-size: 2.4rem;
    color: var(--theme-color);
}

/* begin navbar styling */

#navbar {
    background-color: rgba(255, 255, 255, 0.75);
    width: 100vw;
    height: 50px;
    align-items: center;
    padding-top: 5px;
    /* border: 1px solid black; */
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    z-index: 1;
}

.navbar-container {
    width: 1000px;
    margin: 0 auto;
}

ul {
    display: flex;
    justify-content: right;
}

ul > li {
    list-style: none;
    margin: 0 10px;
}

a {
    text-decoration: none;
    color: #1E1E1E;
    font-size: 1.8rem;
}

.nav-link:hover {
    color: var(--theme-color);
    transition: 0.5s;
}

.btn:hover {
    filter: invert(61%) sepia(79%) saturate(280%) hue-rotate(144deg) brightness(84%) contrast(83%);
}

#toggle {
    width: 20px;
    object-fit: cover;
}

/* adds color to nav section the page is currently on */
.active {
    color: var(--theme-color);
}

/* the progress container (gray line) */
.progress-container {
    position: fixed;
    top: 50px;
    z-index: 1;
    width: 100%;
    width: 100%;
    height: 3px;
    background: #ccc5;
  }
  
/* scroll indicator bar */
.progress-bar {
    height: 3px;
    background: var(--theme-color);
    width: 0%;
}

/* end navbar styling */

/* begin welcome section styling */

#welcome-section {
    margin-top: 5vh;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 6rem;
    font-weight: 600;
}

p {
    font-size: 2.4rem;
    width: 100%;
}

#welcome-blurb {
    margin-right: 100px;
}

#pfp {
    width: 300px;
}

/* end welcome section styling */

/* start projects section styling */

#projects {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-grid {
    width: 1000px;
    margin: 0 auto;
    display: flex;
}

.project-tile {
    width: calc(100% / 3);
    /* margin: 20px; */
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#grady:hover {
    color: transparent;
    background-image: url("images/grady-stats.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

#knot:hover {
    color: transparent;
    background-image: url("images/knot.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

#dj:hover {
    color: transparent;
    background-image: url("images/dj.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

.project-image {
    object-fit: cover;
    width: 100%;
    height: 250px;
}

.project-name {
    text-align: center;
}

/* end projects section styling */

/* start contact section styling */

#contact {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-blurb p {
    margin-bottom: 40px;
}

.contact-blurb {
    margin-bottom: 40px;
}

#contact-links {
    width: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.contact-details img {
    width: 15vw;
    max-width: 80px;
}

/* end contact section styling */

/* start footer section styling */

footer {
    display: block;
    justify-content: center;
    align-items: center;
}

.made-with-love {
    float: left;
}

.copyright {
    float: right;
}

/* end footer section styling */

/* start media query styling */

@media only screen and (max-width: 1100px) {
    body {
        width: 80%;
        min-width: 300px;
    }

    #navbar {
        width: 100%;
    }

    .navbar-container {
        width: 100%;
    }

    #projects {
        padding-top: 20vh;
    }

    .project-grid {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    
    #contact {
        margin-top: 5vh;
    }
    
}

@media only screen and (max-width: 1000px) {
    #welcome-section {
        /* padding-top: 10px; */
        flex-direction: column-reverse;
        text-align: center;
    }

    #welcome-image {
        margin: -30px 0;
    }

    #name {
        margin: 0;
    }

    #welcome-blurb {
        margin: 0 auto;
    }

    #contact {
        padding-top: 10vh;
    }

    #contact-links {
        width: 80%;
        margin-bottom: 100px;
    }
}

@media only screen and (max-width: 700px) {
    /* #welcome-section {
        padding-top: 30px;
    } */
}

@media only screen and (max-width: 500px) {
    h1, h2 {
        font-size: 3.6rem;
    }
    
    .text-links, p {
        font-size: 1.8rem;
    }

    /* .contact-details img {
        width: 40px;
    } */
}

/* end media query styling */