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

html {
  height: 100%;
}

body {
height: 100%;
font-family: 'Open Sans', sans-serif;

}
#header {
  font-family: 'Open Sans', sans-serif;
  padding: 2rem;
  background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("bg.jpg");
  background-color: #181d25;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #f6f6f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

#header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 2.5rem;
  border: 3px solid #f6f6f6;
  box-shadow: 0px 16px 40px rgba(190, 190, 190, 0.8);
  box-sizing: content-box;
}

header {
  margin-bottom: 3rem;
  text-align: center;
}

header p {
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #f6f6f6;
}

header h1 {
  font-weight: 700;
  font-size: 2rem;
  line-height: 85%;
}

nav {
  width: 100%;
  display: block;
  max-width: 380px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 8px;

  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
  color: #fff;

  box-shadow: 0px 0.5rem 1.5rem -0.25rem var(--link-color);
  background-color: var(--link-color);

  transition: box-shadow 0.5s;
}

#header a:hover {
  box-shadow: 0px 0.5rem 1.5rem 3px var(--link-color);
  color: #fff;
  text-decoration: none;

}

i {
  margin-right: 1rem;
  font-size: 1.5rem;
}

#resume {
  --link-color: #029f78;
}
#linkedin {
  --link-color: #0e76a8;
}

#github {
  --link-color: #24292e;
}

#header .svg-inline--fa {
  margin-right: 10px;
}

.arrows {
	width: 60px;
	height: 72px;
	position: absolute;
	left: 50%;
	margin-left: -30px;
	bottom: 40px;
}
.arrows path {
	stroke: #fff;
	fill: transparent;
	stroke-width: 2px;	
	animation: arrow 2s infinite;
	-webkit-animation: arrow 2s infinite; 
}
.arrows:hover path{
  stroke-width: 4px;
  
}


@keyframes arrow
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

.arrows path.a1 {
	animation-delay:-1s;
	-webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
	animation-delay:-0.5s;
	-webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 {	
	animation-delay:0s;
	-webkit-animation-delay:0s; /* Safari 和 Chrome */
}

h3 {
  font-size: 18px;
}

.portfolio a {
  color: #999;
}

.portfolio a:hover {
  color: #666666;
}

.portfolio {
  color: #434343;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #DAE3E7;
}

.name {
  padding: 30px 0;
  background: #f5f5f5;
  border-top: 10px solid #778492;
}

.name .profile-content .nameh1 {
  color:#02789f;
  font-size: 38px;
  margin-bottom: 5px;
  margin-top: 30px;
  font-weight: bold;
}

.name .profile-content .desc {
  color: #778492;
  font-family: "Lato", arial, sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
}
.sections-wrapper {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section {
  margin-bottom: 30px;
}

.section .section-inner {
  background: #fff;
  padding: 30px;
  text-align: justify;
}

.section .heading {
  margin-top: 0;
  margin-bottom: 20px;
  color: #545e69;
  font-size: 24px;
}

/* Work Section */
.experience .item {
  margin-bottom: 30px;
}

.experience .item .place {
  color: #999;
  margin-bottom: 0px;
}
.experience .item .place * {
  color: #999;
  font-weight: normal;
}
/* Certificate Section */

.certificate .title{
  margin-bottom: 0px;
}
.certificate .title a {
  color: #434343;
}
.certificate .desc {
  color: #999;
  font-weight: normal;
}
/* Projects Section */

.projects .title a {
  color: #434343;
}
.projects .desc {
  color: #999;
  font-weight: normal;
}

/* Info Section */

.aside .section-inner{
  text-align: left;
}

.aside .svg-inline--fa {
  margin-right: 15px;
  color: #ccd1d6;
  width: 16px;
}

.aside li {
  margin-bottom: 15px;
}
.aside li p {
  display: inline;
}
/* Skills Section */

.skills ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

/* Hobbys Section */

.hobbys ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.hobbys ul li {
margin-bottom: 0;
}








.social .text a{
  padding: 8px 8px 8px 8px;
  background-color: #b0b7bf;
  color: #fff;
  border-radius: 15px;
}

.social .text a:hover {
  color: #fff;
  background: #778492;
}
.social .icon a{
  background: #b0b7bf;
  width: 36px;
  height: 36px;
  display: inline-block;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #fff;
  text-align: center;
}

.social .icon a:hover {
  color: #fff;
  background: #778492;
}

.social .icon a .svg-inline--fa {
  font-size: 20px;
  margin-top: 8px;
}
#portfolioMain img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #f6f6f6;
  box-shadow: 0px 16px 40px rgba(190, 190, 190, 0.8);
  box-sizing: content-box;
}