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

body {
    background-color: rgb(255, 255, 255);
    font-family: 'Inter';
    color: #1D1D1F;
}

nav {
    font-size: 16px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2;
}

.main-nav {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid #e2e2e2;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    height: 44px;
    align-items: center;
    list-style-type: none;
}

.mid-nav {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    width: 25%;
}
@media screen and (max-width: 882px) {
    .mid-nav {
        display: none;
    }
}

a {
    color: #1D1D1F;
    text-decoration: none;
}

#linkedin, #github {
    font-size: 28px;
    color: #414141;
    cursor: pointer;
}

.name {
    font-weight: 600;
    font-size: 18px;
}

#dark {
    position: fixed;
    bottom: 2vh;
    left: 1vw;
    font-size: 23px;
    color: #fff;
    background-color: #414141;
    padding: 10px;
    border-radius: 10px;
    z-index: 2;
    cursor: pointer;
}

#light {
    display: none;
    position: fixed;
    bottom: 2vh;
    left: 1vw;
    font-size: 23px;
    color: #414141;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    z-index: 2;
    cursor: pointer;
}

.intro-background {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 50px 50px 50px
}

.intro-container {
    background-color: rgb(255, 255, 255);
    height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    text-align: center;
    align-self: center;
    max-width: 800px;
    width: 100%;
}

.profile-pic {
    width: 300px;
    border-radius: 12px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

.hi {
    font-size: 50px;
    font-weight: 600;
}

.text {
    font-size: 22px;
}

.skills-background {
    background-color: #F6F6F6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 50px 50px 50px
}

.skills-header {
    padding: 50px 0 50px 0;
    text-align: center;
    font-size: 50px;
}

.skills-container {
    font-size: 15px;
    padding: 20px 30px 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.08);
    border-radius: 10px;
    border: 1px solid #EBEBEB;
    background-color: #ffffff;
    max-width: 800px;
    width: 100%;
}

.skills-container .bar{
    margin: 20px 0
}

.info {
    margin: 0px 0px 6px 3px
}

.skills-container .bar .skills {
    position: relative;
    height: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.25),
                      0px 1px rgba(235, 231, 231, 0.8);
}

.bar .skills span {
    height: 100%;
    position: absolute;
    border-radius: 10px;
}

.html span {width: 90%; background-color: #1D1D1F; animation:html 2s ease-out}
.css span {width: 75%; background-color: #1D1D1F; animation:css 2s ease-out}
.js span {width: 80%; background-color: #1D1D1F; animation:js 2s ease-out}
.react span {width: 80%; background-color: #1D1D1F; animation:react 2s ease-out}
.node span { width: 60%; background-color: #1D1D1F; animation:node 2s ease-out}
.express span {width: 65%; background-color: #1D1D1F; animation:express 2s ease-out}
.mongo span {width: 75%; background-color: #1D1D1F; animation:mongo 2s ease-out} 

@keyframes html { 0% { width:0px; } 100%{ width:90%; } }
@keyframes css { 0% { width:0px; } 100%{ width:75%; } }
@keyframes js { 0% { width:0px; } 100%{ width:80%; } }
@keyframes react { 0% { width:0px; } 100%{ width:80%; } }
@keyframes node { 0% { width:0px; } 100%{ width:60%; } }
@keyframes express { 0% { width:0px; } 100%{ width:65%; } }
@keyframes mongo { 0% { width:0px; } 100%{ width:75%; } }

.projects-background {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 50px 50px 50px
}

.projects-header {
    padding: 50px 0 50px 0;
    text-align: center;
    font-size: 50px;
}

.projects-container {
    margin: 0px 100px 0px 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center; 
    max-width: 800px;
    width: 100%
}

.project1 {
    width: 600px;
    width: 100%;
    border-radius: 20px;
    position: relative;
    top: 0;
    transition: top ease 0.5s;
    z-index: 1;
}

.project-text {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
}
.project-text:hover {
    cursor: pointer;
}

.project2 {
    max-height: 525px;
    height: 100%;
    position: relative;
    top: 0;
    transition: top ease 0.5s;
    z-index: 1;
}

.project1-container {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}
.project1-container:hover > .project1 {
    top: -50px;
    cursor: pointer
}
@media screen and (max-width: 721px) {
    .project1-container:hover > .project1 {
        top: -70px;
        cursor: pointer
    }
}

.project2-container {
    text-align: center;
    position: relative;
    margin-top: 25px;
}
.project2-container:hover > .project2 {
    top: -90px;
    cursor: pointer
}

.experience-background {
    background-color: #F6F6F6;
    padding-bottom: 50px;
}

.experience-header {
    padding: 50px 0 50px 0;
    text-align: center;
    font-size: 50px;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: attr(line);
    position: absolute;
    width: 6px;
    background-color: #1D1D1F;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}
.year {
    position: absolute;
    background-color: #fff;
    color: #1D1D1F;
    font-size: 22px;
    padding: 5px;
    top: 10;
    left: 50%;
    margin-left: -33px;
    border-radius: 10px;
    border: 1px solid #1D1D1F;
    z-index: 1;
}
.yr17 {
    content: '2017';
    bottom: 0;
}
.yr18 {
    content: '2018';
    bottom: 25%;
}
.yr19 {
    content: '2019';
    bottom: 50%;
}
.yr20 {
    content: '2020';
    bottom: 75%;
}

/* Container around content */
.container {
    padding: 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: #ffffff;
    position: relative;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.08);
    border: 1px solid #EBEBEB;
    max-width: 100%;
    height: 250px;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -17px;
    background-color: #1D1D1F;
    top: 7rem;
    border-radius: 50%;
}

/* Place the container to the left */
.left {
    left: 1
}

/* Place the container to the right */
.right {
    left: 50%;
}
.warren {
    top: 140px
}
.temple {
    top: 150px
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -10px
}

/* Fix the circle for containers on the right side */
.left::after {
    right: -10px
}

h3 {
    color: #A5A5A5
}

@media screen and (max-width: 600px) {
.timeline::after, .year {
    left: 31px
}

.container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
}

.left::after, .right::after {
    left: 15px
}

.right {
    left: 0%
}
.warren {
    top: 100px
}
}
@media screen and (max-width: 912px) {
    .container::after {
        top: 7.5rem;
    }
}
@media screen and (max-width: 908px) {
    .container::after {
        top: 8rem;
    }
}
@media screen and (max-width: 907px) {
    .container::after {
        top: 9rem;
    }
}
@media screen and (max-width: 906px) {
    .container::after {
        top: 8rem;
    }
}
@media screen and (max-width: 904px) {
    .container::after {
        top: 9rem;
    }
}
@media screen and (max-width: 838px) {
    .container::after {
        top: 9rem
    }
}
@media screen and (max-width: 730px) {
    .container::after {
        top: 9rem
    }
}
@media screen and (max-width: 708px) {
    .container::after {
        top: 9rem
    }
}
@media screen and (max-width: 692px) {
    .container::after {
        top: 9rem
    }
}
@media screen and (max-width: 688px) {
    .container::after {
        top: 9rem
    }
}
@media screen and (max-width: 652px) {
    .container::after {
        top: 11rem
    }
}
@media screen and (max-width: 644px) {
    .container::after {
        top: 11rem
    }
}
@media screen and (max-width: 648px) {
    .container::after {
        top: 11rem
    }
}
@media screen and (max-width: 640px) {
    .container::after {
        top: 10rem;
    }
}
@media screen and (max-width: 600px) {
    .container::after {
        top: 6.5rem
    }
}