*{
    margin: 0;
    padding: 0;
}

a{
    color: inherit;
    text-decoration: none;
}
hr{
    height: 0;
    border: none;
    border-top: 1px solid #DEDEDE;
}
body{
    color: rgb(51, 51, 51);
    background: #efefef;
}
ul,ol{
    list-style: none;
}
h1,h2,h3,h4,h5,h6{
    font-weight: normal;
}
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

.topNavBar{
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.topNavBar-inner{
    padding: 0 16px;
}
.topNavBar  nav{
    padding-top: 7px;
}

.topNavBar  nav > ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.topNavBar  nav > ul > li{
    float: left;
    margin-left: 17px;
    margin-right: 17px;
}

.topNavBar  nav > ul > li > a{
    font-size: 12px;
    color: #C0C2C6;
    font-weight: bold;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    display: block;
    padding-top: 5px;
    padding-bottom: 10px;
}

.topNavBar  nav > ul > li > a:hover{
    border-bottom: 3px solid #E8676B;
}

.topNavBar .logo{
    font-family: "Arial Black";
    font-size: 24px;
    font-weight: bold;
}

.rs{
    margin-right: 5px;
    color: #E8676B;
}

.banner{
    height: 515px;
    background-image: url(./img/rs-cover.jpg);
    background-position: center center;
    background-size: cover;         
}

.banner .mask{
    height: 515px;
    background-color: rgb(0,0,0,0.8);
}

.userCard{
    max-width: 940px;
    margin: 0 auto;
    background-color: #FFF;
    box-shadow: 
     0 1px 6px rgba(0, 0, 0, 0.12),
     0 1px 4px rgba(0, 0, 0, 0.24);
}
.userCard .picture{
    float: left;
}
.userCard .text{
    float: left;
    margin-left: 65px;
    width: 470px;
}
.welcome{
    position: relative;
    background-color: #E8676B;
    color: #FFF;
    padding: 4px 16px;
    display: inline-block;
    line-height: 22px;
    margin-bottom: 10px;
}
.welcome .triangle{
    position: absolute;
    left: 6px;
    top: 100%;
    display: block;
    width: 0px;
    border: 10px solid transparent;
    border-left-color: #E8676B;
    border-top-width: 0px;
}
.userCard .pictureAndText{
    padding: 57px 50px 25px 50px;
}
.userCard .text h1{
    margin-top: 18px;
    margin-bottom: 10px;
}
.userCard hr{
    margin: 20px 0;
}
.userCard dl dt,
.userCard dl dd{
    float: left;
    padding: 11px 0;
}
.userCard dl dt{
    width: 30%;
    font-weight: bold;
}
.userCard dl dd{
    width: 70%;
    color: rgb(157, 160, 167);
}
.userCard .media{
    background-color: #E8676B;
    text-align: center;
}
.userCard .media a{
    display: inline-block;
    border-radius: 50%;
    width: 52px;
    padding: 10px 0;
    margin: 16px;
}
.userCard .media a:hover{
    background-color:rgba(0, 0, 0, 0.1);
}
.userCard .media svg{
    width: 30px;
    height: 30px;
    fill: #fff; 
}
body > main{
    margin-top: -340px;
} 
body > main .downloadResume{
    font-size: 14px;
    color: #3d4451;
    border-radius: 3px;
    font-weight: bold;
    line-height: 16px;
    padding: 21px 55px;
    background: #efefef;
    display: inline-block;
    border: 1px solid #cdcfd1;
    margin: 32px 0;
    transition: box-shadow 0.3s;
}
body > main .downloadResume:hover{
    box-shadow: 
     0 5px 11px 0 rgba(0, 0, 0, 0.18),
     0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
main .downloadResume-wrapper{
    text-align: center;
}
.selfIntroduction{
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    font-family: kaiti;
}
section.skills,
section.portfolio{
    max-width: 940px;
    margin: 0 auto;
    margin-top: 100px;
}
section.skills > h2,
section.portfolio > h2{
    color: #3d4451;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    margin-bottom: 34px;
}
section.skills ol{
    background-color: #fff;
    box-shadow: 
     0 1px 6px rgba(0, 0, 0, 0.12),
     0 1px 4px rgba(0, 0, 0, 0.24);
     padding: 42px 50px 10px;
}
section.skills h3{
    font-size: 14px;
    line-height: 1.1;
    padding-right: 40px;
}
section.skills ol .progressBar{
    height: 5px;
    background-color: #FAE1E1;
    border-radius: 2px;
    margin: 4px 0 40px;
}
section.skills ol .progress{
    height: 100%;
    background-color: #E8676B;
    width: 70%;
    border-radius: 2px;
}
section.skills ol > li{
    float: left;
    width: 48%;
    box-sizing: border-box;
} 
section.skills ol > li:nth-child(even){
    float: right;
}
section.portfolio{
    text-align: center;
    margin-bottom: 100px;
}
section.portfolio > nav{
    display: inline-block;
    vertical-align: top;
}
section.portfolio > nav > ol{
    display: inline-block;
    vertical-align: top;
}
section.portfolio > nav > ol > li{
    float: left;
    margin-left: 40px;
    cursor: pointer;
}
section.portfolio > nav > ol > li:first-child{
    margin-left: 0;
}
section.portfolio > nav .bar{
    margin-top: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 30px;
}
section.portfolio > nav .bar-inner{
    background-color: #E8676B;
    width: 10%;
    height: 100%;
    border-radius: 5px;
    transition: all 0.6s;
}
section.portfolio > nav .bar.state-1 .bar-inner{
    margin-left: 0;
    width: 35px;
}
section.portfolio > nav .bar.state-2 .bar-inner{
    margin-left: 68px;
    width: 42px;
}
section.portfolio > nav .bar.state-3 .bar-inner{
    margin-left: 138px;
    width: 102px;
}
section.portfolio .works{
    position: relative;
}
section.portfolio .works > .big,
section.portfolio .works > .small{
    position: absolute;
}