body {
  margin: 0;
  padding: 0;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5em;
}
#header:after,
#leistungen:after,
.project:after {
  display: table;
  content: "";
  clear: both;
}
.container {
  clear: both;
  padding: 40px 0;
}
.container > .inner {
  max-width: 1200px;
  margin: 0 auto;
}
a {
  transition: all .5s ease;
}
a:link,
a:visited {
  text-decoration: none;
  color: #0b73b1;
}
a:hover,
a:active {
  text-decoration: underline;
  color: #0b73b1;
}
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.animate-underline span {
  display: inline-block;
  position: relative;
}
.animate-underline span:before,
.animate-underline span:after {
  position: absolute;
  bottom: 0;
  width: 0;
  content: "";
  border-bottom: 2px solid rgba(11, 115, 177, 0.5);
  transition: width .5s ease;
}
.animate-underline span:before {
  left: 0;
}
.animate-underline span:after {
  right: 0;
}
#profile:hover .animate-underline span:before,
.feature:hover .animate-underline span:before,
#profile:hover .animate-underline span:after,
.feature:hover .animate-underline span:after {
  width: 100%;
}
#header {
  border-top: 5px solid #0b73b1;
  padding: 90px 0;
}
#header h1 {
  float: left;
  font-size: 60px;
  line-height: 75px;
  font-family: Raleway, sans-serif;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #eee;
  font-weight: 400;
  margin: 0;
  padding-bottom: 250px;
  background-image: url('code.jpg');
  background-position: bottom center;
  background-repeat: no-repeat;
}
#header h1 small {
  font-weight: 300;
}
#header h1 span {
  color: #0b73b1;
}
#profile {
  float: right;
  position: relative;
  margin: 75px 100px 0 100px;
  padding: 100px 25px 25px;
  width: 300px;
}
#profile p {
  text-align: justify;
}
#profile .text-links {
  text-align: center;
}
#profile .text-links .fa {
  display: none;
}
#profile .icon-links {
  position: absolute;
  top: 10px;
  right: 10px;
}
#profile .icon-links a:link,
#profile .icon-links a:visited {
  color: #999;
}
#profile .icon-links a:hover,
#profile .icon-links a:active {
  color: #000;
}
#profile .icon-links li {
  display: inline-block;
  margin: 0 5px;
}
#profile h2 {
  text-align: center;
  line-height: 1.5em;
  margin: 0;
  font-weight: 300;
}
#profile-picture {
  position: absolute;
  top: -80px;
  left: 50%;
  margin-left: -80px;
  width: 150px;
  height: 150px;
  padding: 5px;
  border-radius: 100%;
}
#profile-picture img {
  width: 150px;
  height: auto;
  border-radius: 100%;
}
#profile,
#profile-picture {
  transition: background .5s ease;
  background: #f3f7fa;
}
#profile:hover,
#profile:hover #profile-picture {
  background: #e6f0f5;
}
.unavailable {
  opacity: .5;
}
h3 {
  text-align: center;
  font-size: 30px;
  line-height: 45px;
  font-family: Raleway, sans-serif;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #eee;
  font-weight: 400;
  margin: 10px 0 50px;
}
h3 span {
  position: relative;
}
h3 span:before,
h3 span:after {
  position: absolute;
  top: 50%;
  width: 75px;
  border-bottom: 1px solid #cccccc;
  content: "";
}
h3 span:before {
  left: -100px;
}
h3 span:after {
  right: -100px;
}
#leistungen {
  background: #f3f7fa;
}
.feature {
  float: left;
  width: 20%;
  padding: 0 2.5%;
  transition: all .5s ease;
}
.feature:hover p {
  color: #333;
}
.feature h4 {
  margin: 10px 0 20px;
}
.feature-icon {
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 50px;
  color: #0b73b1;
}
.feature-content p {
  text-align: center;
  color: #969696;
  transition: color .5s ease;
}
h4 {
  text-align: center;
}
.project-description {
  max-width: 300px;
  margin-left: 100px;
  padding-top: 50px;
}
.project-description h4 {
  font-size: 20px;
  margin-bottom: 0;
}
.project-description h4 small {
  word-spacing: 5px;
  font-weight: 100;
  color: #cccccc;
}
.project-description .project-link {
  text-align: center;
  font-family: Raleway, sans-serif;
  letter-spacing: 1px;
  margin: 10px 0;
}
.project-description li {
  margin: 5px 15px;
}
.project-description li:before {
  display: inline-block;
  width: 20px;
  text-align: center;
  content: "\f105";
  font-family: 'FontAwesome';
}
.project-preview {
  float: right;
  margin: 0 50px;
  width: 651px;
  height: 523px;
  position: relative;
  background-image: url('mockup.png');
  background-repeat: no-repeat;
  background-position: center;
}
.mockup {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  background: #000;
}
.mockup img {
  width: 100%;
  height: auto;
}
#portfolio-list {
  clear: both;
  background: #eee;
}
#portfolio-list ul {
  margin: 0;
  text-align: center;
  transition: margin .5s ease;
}
#portfolio-list ul li {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 113px;
  margin: 0 10px 20px;
  overflow: hidden;
}
#portfolio-list ul li:hover .project-caption {
  opacity: 1;
}
#portfolio-list ul img {
  width: 200px;
  height: 113px;
}
#portfolio-list ul .project-caption {
  opacity: 0;
  transition: opacity .5s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-size: 13px;
}
#portfolio-list ul .project-caption .inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: -10px;
  text-align: center;
  color: #fff;
}
#portfolio-list ul .project-caption .fa {
  display: block;
  height: 20px;
  line-height: 20px;
  font-size: 18px;
  margin-bottom: 5px;
}
#portfolio-list ul .project-data {
  display: none;
}
#footer {
  background: #444;
  color: #999;
  letter-spacing: 1px;
  font-weight: 100;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}
#footer a:link,
#footer a:visited {
  color: #808080;
}
#footer a:hover,
#footer a:active {
  color: #fff;
}
@media (max-width: 1200px) and (min-width: 1000px) {
  #header h1 {
    margin-left: 100px;
  }
}
@media (max-width: 1200px) {
  #header h1 {
    font-size: 40px;
    line-height: 50px;
  }
  #profile {
    margin-left: 20px;
    margin-right: 20px;
    width: 250px;
  }
  .project-preview {
    float: none;
    margin: 0 auto;
  }
  .project-description {
    margin: 25px auto 0;
  }
  #portfolio-list ul li {
    margin: 0 9px 18px;
  }
  #footer {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .container > .inner {
    padding-left: 10px;
    padding-right: 10px;
  }
  #header {
    padding: 50px 0;
  }
  #header h1 {
    float: none;
    font-size: 26px;
    line-height: 30px;
    padding-bottom: 0;
    background: transparent;
  }
  #profile {
    float: none;
    margin: 100px auto 0;
  }
  .feature {
    width: 45%;
  }
  .project-preview {
    display: none;
  }
  .project-description {
    margin: 0 auto;
    padding: 0;
  }
  #portfolio-list ul {
    text-align: center;
  }
  #portfolio-list ul li {
    margin: 0 10px 20px;
  }
}
