body {
  margin: 0;
  padding: 0;
  background: #eee;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #222;
  padding-top: 80px;
  min-width: 360px; }

.clearfix::after {
  content: "";
  display: table;
  clear: both; }

header.main {
  height: 80px;
  background: #fff;
  padding: 0 1%;
  text-align: center;
  position: fixed;
  width: 98%;
  top: 0;
  z-index: 100; }
  header.main nav a {
    color: #222;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 80px;
    padding-bottom: 5px;
    margin: 0 25px; }
    header.main nav a:hover {
      border-bottom: 3px solid #333; }
    @media (max-width: 480px) {
      header.main nav a {
        margin: 0 10px; } }
  header.main nav #logo a {
    line-height: initial;
    display: block;
    padding: 0; }
    header.main nav #logo a:hover {
      border-bottom: none; }
    header.main nav #logo a img {
      padding: 10px 0; }

ul.inline-list {
  list-style: none;
  margin: 0;
  padding: 0; }
  ul.inline-list li {
    display: inline-block;
    vertical-align: middle; }

main {
  padding: 70px 1%; }

.banner {
  text-align: center; }
  .banner h1 {
    font-size: 3rem;
    font-family: 'Pacifico', cursive;
    margin: 0; }
  .banner h3 {
    font-weight: 400;
    font-size: 1.4rem;
    margin: 1em; }
  .banner:after {
    content: '\25cf\ \25cf\ \25cf\ \25cf\ \25cf\ \25cf\ \25cf';
    display: block;
    font-size: .8rem;
    color: #fff;
    padding: 25px 0; }

section#work {
  padding-top: 15px; }
  section#work:after {
    content: '\25cf\ \25cf\ \25cf\ \25cf\ \25cf\ \25cf\ \25cf';
    display: block;
    font-size: .8rem;
    color: #fff;
    padding: 25px 0;
    text-align: center; }

.work-item {
  float: left;
  margin: 25px 1%;
  box-sizing: border-box;
  text-align: center;
  max-width: 440px;
  position: relative;
  border: 20px solid #fff;
  border-radius: 6px;
  -webkit-transition: border-color .4s ease-in-out;
  -moz-transition: border-color .4s ease-in-out;
  -o-transition: border-color .4s ease-in-out;
  -ms-transition: border-color .4s ease-in-out;
  transition: border-color .4s ease-in-out; }
  @media (max-width: 600px) {
    .work-item {
      width: 98%; } }
  @media (min-width: 601px) and (max-width: 979px) {
    .work-item {
      width: 48%; } }
  @media (min-width: 980px) and (max-width: 1199px) {
    .work-item {
      width: 31%; } }
  @media (min-width: 1200px) and (max-width: 1959px) {
    .work-item {
      width: 23%; } }
  @media (min-width: 1960px) {
    .work-item {
      width: 18%; } }
  .work-item img {
    display: block;
    position: relative;
    width: 100%;
    max-width: 400px; }
  .work-item .box-caption {
    opacity: 0;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    height: 100%;
    width: 100%;
    padding: 5%;
    box-sizing: border-box;
    color: #333;
    font-size: 1.5rem; }
    .work-item .box-caption .box-content {
      width: 90%;
      text-align: center;
      position: absolute;
      top: 50%;
      transform: translateY(-50%); }
      .work-item .box-caption .box-content .project-name {
        font-size: 1.2rem;
        text-transform: uppercase;
        margin-bottom: 20px;
        letter-spacing: 1px; }
      .work-item .box-caption .box-content .project-descr {
        font-size: 1rem;
        line-height: 1.5; }
      .work-item .box-caption .box-content .work-link {
        text-align: center;
        padding: 5px 10px;
        border-radius: 2px;
        display: inline-block;
        background: #333;
        color: #fff;
        margin-top: 20px;
        text-decoration: none;
        font-size: 1rem; }
  .work-item:hover {
    border-color: #ddd; }
    .work-item:hover .box-caption {
      opacity: 1; }

section#about {
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center; }
  section#about header {
    font-size: 3rem;
    font-family: 'Pacifico', cursive;
    text-align: center;
    margin: 20px 0; }
  section#about .bio {
    width: 48%;
    margin: 0 1%;
    float: left;
    margin-bottom: 30px; }
    @media (max-width: 979px) {
      section#about .bio {
        float: none;
        width: 98%; } }
    section#about .bio a {
      color: #333; }
  section#about .skills-item .skill-item {
    width: 100px;
    float: left;
    margin: 20px;
    position: relative; }
    section#about .skills-item .skill-item svg {
      width: 84px;
      position: absolute;
      top: 0;
      left: 8px;
      -webkit-transition: all .5s ease-in-out;
      -moz-transition: all .5s ease-in-out;
      -o-transition: all .5s ease-in-out;
      -ms-transition: all .5s ease-in-out;
      transition: all .5s ease-in-out; }
    section#about .skills-item .skill-item .title {
      margin-top: 90px;
      font-size: 1rem;
      position: relative;
      padding-top: 10px;
      -webkit-transition: -webkit-transform 0.2s;
      -moz-transition: -moz-transform 0.2s;
      transition: transform 0.2s; }
      section#about .skills-item .skill-item .title:before {
        content: '';
        position: absolute;
        background: #333;
        width: 30px;
        height: 2px;
        top: 0;
        left: 35px;
        -webkit-transition: margin-top 0.2s;
        -moz-transition: margin-top 0.2s;
        transition: margin-top 0.2s; }
    section#about .skills-item .skill-item:hover .title {
      -webkit-transform: translateY(-15px);
      -moz-transform: translateY(-15px);
      -ms-transform: translateY(-15px);
      transform: translateY(-15px); }
      section#about .skills-item .skill-item:hover .title:before {
        margin-top: 45px; }
    section#about .skills-item .skill-item.transform-active svg {
      z-index: 1;
      cursor: pointer; }
  section#about .shuffle {
    font-size: 1rem;
    margin: 20px 20px;
    text-decoration: none; }
    section#about .shuffle span {
      transition: all 0.5s ease;
      padding: 3px 0; }
    section#about .shuffle:hover span {
      background: #333;
      color: #fff; }

.sliding-u-l-r-l {
  display: inline-block;
  position: relative;
  padding-bottom: 3px; }
  .sliding-u-l-r-l:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    transition: width 0s ease, background .5s ease; }
  .sliding-u-l-r-l:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background: #333;
    transition: width .5s ease; }
  .sliding-u-l-r-l:hover:before {
    width: 100%;
    background: #333;
    transition: width .5s ease; }
  .sliding-u-l-r-l:hover:after {
    width: 100%;
    background: transparent;
    transition: all 0s ease; }

section.goodbye {
  background: #fff;
  font-size: 3rem;
  font-family: 'Pacifico', cursive;
  text-align: center;
  padding: 30px 0; }

footer {
  text-align: center;
  color: #fff;
  background: #333;
  padding: 40px 1% 20px; }
  footer a {
    color: #fff; }
    footer a.email-link {
      display: inline-block;
      font-style: normal;
      text-decoration: none;
      background: #fff;
      width: 200px;
      color: #333;
      padding: 10px 0;
      margin-bottom: 40px; }
