:root {
    --warm-white: #fafafa;
    --cool-gray: #9b9b9b;
    --black: #1c1c1b;
    --hyperlink-blue: #215e9e;
}

/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
    color: var(--black);
}

main {
    background-color: var(--warm-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body {
    overflow: auto;
}

.content {
    width: 100%;
    height: 100%;
    overflow-y: scroll; 
    scroll-behavior: smooth;
}

.arrow {
    align-self: center;
    padding: 50px;
    -webkit-animation: arrow 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) 2s both;
    animation: arrow 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) 2s both;
}

.arrow-icon {
    font-size: 1.8rem;
}

.arrow-icon:hover {
    cursor: pointer;
    color: var(--cool-gray);
}

.highlight:hover {
    color: var(--cool-gray);
}

.container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    width: 100vw;
}

a {
    text-decoration: none;
}

/* NAV */
.logo {
    float: left;
    font-size: 2rem;
    display: block;
    padding: 10px 20px;
    font-weight: 700;
}

.nav {
    background-color: var(--warm-white);
    padding: 20px;
    position: fixed;
    width: 100vw;
    z-index: 3;
}

.floatingNav {
  width: 100vw; 
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(67,69,81,.1);
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--warm-white);
    text-decoration: none;
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

.nav-list li {
    font-size: 1.2rem;
    text-decoration: none;
    display: block;
    padding: 20px;
    text-transform: lowercase;
}

.nav-list li:hover {
    color: var(--cool-gray);
}

.nav-icon {
    display: block;
    font-size: 1.5rem;
    position: relative;
}

.menu-icon {
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
    display: block;
}

.menu-icon2 {
    padding: 28px 20px;
    position: relative;
    float: right;
    cursor: pointer;
    display: none;
}

.menu-btn {
    display: none;
}

.menu-btn:checked ~ .nav-list {
    max-height: 400px;
}

.menu-btn:checked ~ .menu-icon {
    display: none;
}

.menu-btn:checked ~ .menu-icon2 {
    display: block;
}

/* INTRO */
.intro {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.name {
    padding: 50px;
    font-size: 2.8rem;
	-webkit-animation: name 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	animation: name 1.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    font-weight: 400;
}

/* BIO */
#about {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 150px 20px 0;
}

.profcontainer {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
    margin: 40px;
}

.profimage {
    margin: 0 auto;
    margin-left: -10%; 
    height: 100%;
    width: auto;
}

.title {
    font-size: 1.5rem;
    font-weight: 400;
}

.titleX {
    font-size: 1rem;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
}

.bio {
    font-size: 1.2rem;
    line-height: 2rem;
    max-width: 900px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.bio-additional .bio {
    max-width: 1200px;
}

.bioicon {
    padding-right: 5px;
}

.bioicon2 {
    padding-right: 5px;
    padding-left: 30px;
}

.skills-div {
    display: flex;
    flex-wrap: wrap;
    padding-top: 40px;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.skills-item {
    font-size: 3rem;
    padding: 20px;
}

.skills-item2 {
    width: 150px;
    padding: 20px;
}

.skills-item3 {
    height: 80px;
    padding: 20px;
}

.skills-item4 {
    height: 70px;
    padding: 20px;
}

.icon {
    font-size: 1.2rem;
    padding-right: 20px;
}

.icon2 {
    width: 80px;
    padding-right: 20px;
}

.icon3 {
    height: 25px;
    padding-right: 20px;
}

/* PROJECTS */
#projects {
    padding-top: 140px;
    padding-bottom: 100px;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.project-title {
    display: flex;
}

.title {
    font-size: 2rem;
}

.image {
    width: 100%;
    height: auto;
}

.project {
    display: flex;
    flex-wrap: wrap;
    max-width: 90vw;
    margin-bottom: 30px;
}

.projectdiv {
    flex: 1;
}


.description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding-left: 2rem;
}

.text {
    padding-top: 20px;
    font-size: 1.2rem;
    max-width: 650px;
    padding-bottom: 30px;
}

.links {
    font-size: 1.4rem;
    align-self: center;
    padding-left: 10px;
}

.space {
    padding-bottom: 20px;
}

.list {
    align-content: flex-end;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

/* CONTACT */
#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.connect {
    padding-top: 100px;
    padding-bottom: 100px;
    font-size: 2.4rem;
}

/* FOOTER */
.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

footer {
    background-color: var(--warm-white);
    padding: 40px;
}

.footer {
    list-style-type: none;
    padding-bottom: 40px;
}

.footer li {
    display: inline-block;
    padding: 0 15px;
    text-transform: uppercase;
}

.footer-item {
    font-size: 1.8rem;
    text-decoration: none;
    margin: 20px;
}

.footer-item:hover {
    color: var(--cool-gray);
}

/* MEDIA QUERIES */
@media screen and (max-width: 1320px) {
    .bio-additional {
        max-width: 900px;
    }
}

@media only screen and (max-width: 1000px){
    .projectdiv {
        flex: 100%;
    }

    .description {
        flex: 100%;
        padding: 2rem;
    }
}


@media only screen and (max-width: 900px){
    .project {
        max-width: none;
        padding: 0;
    }

    .projectdiv {
        padding: 0 2rem;
    }

    #projects {
        padding: 4rem 0;
    }
}

@media only screen and (max-width: 700px) {
    #about {
        padding-top: 100px;
    }

    .title {
        font-size: 1.4rem;
    }

    .bio {
        font-size: 1rem;
    }

    .text {
        font-size: 1rem;
        padding-bottom: 10px;
        padding-top: 5px;
    }

    .icon {
        font-size: 1rem;
    }
    
    .icon2 {
        width: 70px;
    }
    
    .icon3 {
        height: 15px;
    }

}

@media only screen and (max-width: 500px) {
    #about {
        padding-top: 100px;
    }

    .title {
        font-size: 1.2rem;
    }

    .bio {
        font-size: .8rem;
        max-width: 80vw;
    }

    .skills-item {
        font-size: 2rem;
        padding: 10px;
    }
    
    .skills-item2 {
        width: 100px;
        padding: 10px;
    }
    
    .skills-item3 {
        height: 40px;
        padding: 10px;
    }

    .text {
        font-size: 1rem;
        padding-bottom: 10px;
        padding-top: 5px;
    }

    .icon {
        font-size: .9rem;
    }
    
    .icon2 {
        width: 60px;
    }
    
    .icon3 {
        height: 10px;
    }

}

@media only screen and (min-width: 900px) {
    .nav li {
        display: inline-block;
        padding: 20px 30px;
    }

    .nav-list {
        clear: none;
        float: right;
        max-height: none;
    }

    .menu-icon {
        display: none;
    }
}


/* KEYFRAMES */
@-webkit-keyframes name {
    0% {
    letter-spacing: -0.5em;
    opacity: 0;
    }
    40% {
    opacity: 0.6;
    }
    100% {
    opacity: 1;
    }
}
@keyframes name {
    0% {
    letter-spacing: -0.5em;
    opacity: 0;
    }
    40% {
    opacity: 0.6;
    }
    100% {
    opacity: 1;
    }
}

@-webkit-keyframes arrow {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}
@keyframes arrow {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}