html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue","Arial","sans-serif";
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

#container{
	width: 100%;
	margin: 0 auto;
	width: 100%;
  display: block;
}

#top-intro-container{
	width: 100%;
	position: relative;
	height: 650px;
}

#main-content-container{
    max-width: 1140px;
    margin: 0 auto;
    padding: 55px 32px 20px 32px;
}

#top-image{
 	width: 100%;
 	height: inherit;
 	overflow: hidden;
 	background-image: url('../image/desk.png');
 	background-repeat: no-repeat;

 	background-position: 25% 77%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.overlay{
	position: absolute;
	opacity: 0.3;
	background-color: #c5ccd2;
	width: 100%;
	height: inherit;	
}

.underlay{
    position: absolute;
    z-index: -1;
    background-color: #f3f3f3;
    width: 100%;
    height: inherit;    
}

#header-intro{
	padding: 20px;
}

#name{
	font-size: 35px;
	font-weight: 700;
	padding: 10px;
	text-align: center;
    padding: 30px 0;
	animation-delay: 0.3s;
}

#brief-intro{
	font-size: 30px;
	font-weight: 500;
	padding: 135px 20px 155px 20px;
	max-width: 680px;
	margin: 0 auto;
	letter-spacing: -0.9px;
    line-height: 1.5em;
    animation-delay: 0.1s;
}

#brief-intro .brief-content{
	text-align: center;
}

#introduction-content{
	margin: 0 13px 0 45px;
	font-weight: 300;
	color: #1f1826;
	letter-spacing: .4px;
  line-height: 1.8em;
  font-size: 16px;
}

.linkBtn{
  text-decoration: none;
  color: #0099cc;
  font-weight: 400;
}

.linkBtn:hover{
  text-decoration: none;
  color: #00bfff;
  font-weight: 400;
}

.main-intro{
  display: flex;
  flex-direction: column;
	padding: 0 0 25px 0;
}

#skillIcon-content{
	margin: 30px 0 0 0;
	align-self: center;
  width: 80%;
}

.skill-row-1, .skill-row-2{
	text-align: center;
}

.skill-row-2{
	margin: 20px 0 0 21px;
}

.skillIcon-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
	width: 100%;
}

.skillIcon {
  width: 96px;
  height: 96px;
  margin: 0 10px;
}

.skillIcon--AutoWidth {
  width: auto;
}

.softwareIcon{
	width: 95%;
}

.softwareIcon.sketch-icon{
  width: 179px; 
  height: 70px;
}

img.softwareIcon {
    width: 153px;
    height: 68px;
}

.header-block{
	padding: 20px 15px;
}

.header-block .header-content h1{
	text-align: center;
}

#project-content{
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
}
.poster-container{
    margin: auto;
    text-align: center;
}

.project-container{
    padding: 10px 0 0 0;
    max-width: 1140px;
    margin: 0 auto;
}

#project-content .poster{
    width: 300px;
    height: 300px;
}

.project-des{
    font-weight: 300;
    color: #1f1826;
    letter-spacing: .4px;
    line-height: 1.8em;
    font-size: 16px;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    word-wrap: break-word;
    text-overflow: ellipsis;
}

.project-des-more.ng-enter {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.project-des-more.ng-enter.ng-enter-active {
    opacity: 1;
}

.project-breif{
    padding-left: 5px;
}

.project-photo{
    text-align: center;
    margin: auto;
}

.moreLess-container{
    text-align: left;
    width: 90%;
    margin: 0 auto;
    padding-left: 5px;
}

.moreLess-container .moreLessBtn{
    border: 2px solid #000;
    font-size: 12px;
    padding: 5px 10px;
    background-color: #000;
    color: #FFF;
    font-weight: 400;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s ease;
}

.moreLess-btn{
    width: 60px;
}


.moreLess-btn .moreLessBtn:hover{
    background-color: #FFFFFF;
    border: 2px solid #000;
    color: #000000;
}

.project-photo img{
    width:1020px; 
    height: 600px;
}

.less {
  max-height: 180px;
}

@media only screen and (max-width: 1026px){
    .project-photo img{
        width: 600px;
        height: 300px;
    }
}

@media only screen and (max-width: 668px){
    .project-des {
        width: 90%;
        margin: 0 auto;
    }

    .moreLess-container{
        width: 90%;
        margin: 10px auto 0 auto;
    }

    .project-photo img{
        width: 420px;
        height: 210px;
    }

    #project-content .poster{
        width: 290px;
        height: 290px;
    }
}

@media only screen and (max-width: 446px){
    .project-photo img{
        width: 336px;
        height: 168px;
    }
    .project-photo img:last-child{
        width: 336px !important;
        height: 480px !important;
    }
}

#post-main{
	background-color: #f0f7f7;
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
}

#contact-container{
	max-width: 1020px;
	padding: 35px;
	margin: auto;
}

.space-block-top{
	padding: 0 17px 70px 17px;
}

.space-block-bottom{
	padding: 70px 17px 0 17px;
}

#contact-container .header-block{
	margin-bottom: 10px;
}

#contact-container h1{
    text-align: center;
}

#contact-container h3{
	text-align: center;
	font-weight: 400;
    font-style: normal;
    font-size: 16px;
    letter-spacing: .5px;
    text-transform: none;
    line-height: 1.7em;
}

#icon-container{
	padding: 10px 0;
	text-align: center;
}

.clearfix:after {
 	content: " ";  
 	visibility: hidden;
 	display: block;
 	height: 0;
	clear: both;
}

.animated {
  	animation-duration: 1s;
  	animation-fill-mode: both;
}

.animated.infinite {
    animation-iteration-count: infinite;
}

@keyframes fadeIn {
  	from {
   		opacity: 0;
  	}

  	to {
    	opacity: 1;
  	}
}

.fadeIn {
  	animation-duration: 1.2s;
  	animation-name: fadeIn;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  animation-name: fadeOut;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 2%, 0);
    visibility: visible;
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.slideInUp {
	animation-duration: 0.5s;
  	animation-name: slideInUp;
}


@keyframes slideInRight {
  0% {
    transform: translate3d(80%, 0, 0);
    visibility: visible;
    opacity: 0;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.slideInRight {
	animation: slideInRight 0.3s;
}

@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  animation-name: pulse;
}


@media only screen and (max-width: 640px){
    .main-intro{
        padding: 0;
    }

    #main-content-container{
        padding: 30px 30px 15px 30px;
    }
    #top-intro-container{
		  height: 500px;
    }
    /*#top-image{
      height: 400px;
    }*/
	#name{
		font-size: 20px;
		font-weight: 700;
		padding-top: 10px;
		text-align: center;
	}
	#brief-intro{
		font-size: 25px;
		font-weight: 500;
    padding: 95px 0 10px 0;
		width: 90%;
    font-size: 18px;
		margin: 0 auto;
    text-align: left;
	}
	.space-block-top{
		display:none;
	}
    .space-block-bottom{
        padding: 50px 17px 0 17px;
    }
    .skill-row-2{
        /*margin: 10px 0 0 12px;*/
        margin: 10px 0 0 0;
    }
    #contact-container{
        width: auto !important;
    }
}

@media only screen and (max-device-height: 768px){
   #top-intro-container{
      height: 400px;
    }
    #brief-intro{
      padding: 45px 20px 100px 20px;
    }
}

@media only screen and (max-width: 640px) and (max-device-height: 768px){
    #top-intro-container{
        height: 350px;
    }
}

@media only screen and (max-width: 450px) and (max-device-height: 768px){
    .moreLess-container{
        width: 60%;
        margin: 20px auto;
    }
    .moreLess-container .moreLessBtn{
        /*padding: 7px 80px;*/
    }
    .moreLess-btn{
        width: 100%;
        margin: auto;
    }
}

@media only screen and (max-width: 370px){
    .skill-row-1{
        /*width: 50%;*/
        margin: 0 auto;
    }
    #skillIcon-content{
      width: 100% !important;
      margin: 0 !important;
    }
}

@media only screen and (max-width: 350px){
    .less{
        max-height: 270px;
    }
}

@media only screen and (max-width: 480px){
    .skillIcon {
      width: 80px;
      height: 80px;
    }
    img.softwareIcon{
        width: 109px;
        height: 54px;
    }

    .softwareIcon.sketch-icon{
      width: 129px;
      height: 50px;
    }
}

@media only screen and (max-width: 1024px){
	#introduction-content, #skillIcon-content{
		width: 95%;
		float: none;
		clear: both;
		margin: 0 auto;
	}
	#skillIcon-content{
		padding: 10px 0 0 0;
		width: 90%;
		margin: 0 auto;
	}
	#softwareIcon{
		width: 100%;
	}
}

.icon-link {
	width: 44px;
	height: 44px;
	background-color: #FFF;
	line-height: 50px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
	cursor: pointer;
	outline: none;
	margin: 4px;
	box-sizing: content-box;
  border: 2px solid #000;
}

.icon-link.fill.facebook {
 	background-color: #3b5998;
}

.icon-link.fill.facebook:hover {
  	background-color: #fff;
}

.icon-link.fill.facebook:hover .fa-facebook {
	 color: #3b5998;
	 -webkit-transition: color 150ms ease-in-out;
	 transition: color 150ms ease-in-out;
}

.icon-link.fill.instagram {
  	background-color: #3b5998;
}

.icon-link.fill.instagram:hover {
  	background-color: #fff;
}

.icon-link.fill.instagram:hover .fa-instagram {
  	color: #3b5998;
  	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}

.icon-link.fill.linkedin {
  	background-color: #007bb6;
}

.icon-link.fill.linkedin:hover {
  	background-color: #fff;
}

.icon-link.fill.linkedin:hover .fa-linkedin {
  	color: #007bb6;
  	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}

.icon-link.fill.github {
  	background-color: #b81621;
}

.icon-link.fill.github:hover {
  	background-color: #fff;
}

.icon-link.fill.github:hover .fa-github {
  	color: #333;
  	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}

.icon-link.fill.envelope {
  	background-color: #333;
}
.icon-link.fill.envelope:hover {
  	background-color: #fff;
}
.icon-link.fill.envelope:hover .fa-envelope {
  	color: #333;
  	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}

.icon-link.round {
  	border-radius: 50%;
}

.icon-link.round-corner {
  	border-radius: 5px;
}

.icon-link:hover {
  	-webkit-transition: background-color 150ms ease-in-out;
  	transition: background-color 150ms ease-in-out;
  	height: 44px;
  	line-height: 50px;
  	width: 44px;
  	background-color: #000;
}

.icon-link:hover.facebook {
  	/*border: 2px solid #3b5998;*/
    border: 2px solid #000;
}

.icon-link:hover.instagram {
  	/*border: 2px solid #3b5998;*/
    border: 2px solid #000;
}

.icon-link:hover.linkedin {
  	/*border: 2px solid #007bb6;*/
    border: 2px solid #000;
}

.icon-link:hover.github {
  	border: 2px solid #000;
}

.icon-link:hover.envelope {
  	/*border: 2px solid #333;*/
    border: 2px solid #000;
}

.icon-link:hover .fa {
  	line-height: 30px;
}

.icon-link:hover .fa-facebook {
 	/*color: #3b5998;*/
  color: #FFF;
 	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}

.icon-link:hover .fa-instagram {
  	/*color: #3b5998;*/
    color: #FFF;
  	-webkit-transition: color 150ms ease-in-out;
 	transition: color 150ms ease-in-out;
}

.icon-link:hover .fa-linkedin {
  	/*color: #007bb6;*/
    color: #FFF;
  	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}


.icon-link:hover .fa-github {
  	/*color: #b81621;*/
    color: #FFF;
  	-webkit-transition: color 150ms ease-in-out;
 	transition: color 150ms ease-in-out;
}

.icon-link:hover .fa-envelope {
  	/*color: #333;*/
    color: #FFF;
  	-webkit-transition: color 150ms ease-in-out;
  	transition: color 150ms ease-in-out;
}

.icon-link .fa {
  	color: #000;
  	line-height: 47px;
  	font-size: 22px;
}

.brand-icons {
  	background-color: #ddd;
  	padding: 10px 0;
}


#email-form-container{
	padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media only screen and (min-width: 1200px){
	#email-form-container{
		width: 1100px;
	}
}

@media only screen and (min-width: 992px){
	#email-form-container{
		width: 979px;
	}
}

@media only screen and (min-width: 767px){
	#email-form-container{
		width: 750px;
	}
}
@media only screen and (max-width: 480px){
    #email-form-container{
        padding-left: 0px;
    }
    .registration-form .form_row {
        margin: 15px 20px !important;
    }
    #contact-container{
        padding: 35px 15px;
    }
}

#email-form-container form{
	
}

.registration-form .form_title
{
	margin: 15 auto 40px;
}

.registration-form .form_title > h1
{
    color: #4C565E;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
}

.registration-form .form_row > label > span
{
    text-align: left;
	display: block;
	color:  #525252;
    width: 250px;
    font-size: 14px;
    padding: 0 0 12px;
    text-transform: uppercase;
}

.registration-form .form_row > label .result
{
    text-align: left;
    display: block;
    color:  #525252;
    width: 200px;
    font-size: 14px;
    padding: 0 0 12px;
    text-transform: none;
}

.registration-form .btn_row{
    width: 89%;
}

.registration-form .form_row
{
	margin: 15px 50px;
}

.registration-form input
{
	color:  #5f5f5f;
    width: 100%;
    font-size: 15px;
    padding: 9px 7px;
    border: 1px solid #dbdbdb;
    outline: none;
}

.registration-form input:focus{
    border:1px solid #000;
}

.registration-form select
{
    color:  #5f5f5f;
    width: 100%;
    font-size: 15px;
    padding: 9px 7px;
    border: 1px solid #dbdbdb;
}

.registration-form textarea{
  color: #5f5f5f;
	font-size: 15px;
	width: 100%;
	height: 170px;
	outline: none;
    border: 1px solid #dbdbdb;
    padding: 9px 7px;
}

.registration-form textarea:focus{
    border:1px solid #000;
}

.registration-form #submitBtn
{
    text-align: center;
    background-color:  #000000;
    color: #ffffff;
    padding: 14px 22px;
    border: 0;
    margin: 13px auto;
    width: 150px;
    font-weight: 400;
    font-size: 14px;
   	border: 2px #000 solid;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    border-radius: 2px;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
}

.registration-form #submitBtn:hover{
    background-color: #FFFFFF;
    color: #000000;
    transition: 0.2s ease;
}

#footer-container{
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    color: #171717;
    background-color: #000;
}

#footer-content{
    width: auto;
    margin: auto;
    font-size: 14px;
    padding: 20px 32px !important;
}

#footer-content p{
    max-width: 1020px;
    text-align: center;
    margin: 0 auto;
    color: rgba(255,255,255,.3);
}

.button:active{
    transform: scale(0.9, 0.9) translate3d(0, 0, 0);
    outline: none;
}

.mainVm.msgShow.ng-hide{
    opacity: 0;
}

.ripple{
    position:relative;
    overflow:hidden;
    transform:translate3d(0,0,0);
}

.ripple:after{
    content:"";
    display:block;
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    pointer-events:none;
    background-image:radial-gradient(circle,#000 10%,transparent 10.01%);
    background-repeat:no-repeat;
    background-position:50%;
    transform:scale(10,10);
    opacity:0;
    transition:transform .5s,opacity 1s;
}

.ripple:active:after{
    transform:scale(0,0);
    opacity:.2;
    transition:0s;
}

*::selection {
  background: #000;
  color: #FFF;
}
*::-moz-selection {
  background: #000;
  color: #FFF;
}
