/* Combined responsive homepage styles */

@font-face {
  font-family: KlinicSlab Book;
  src: url("../fonts/Klinic/KlinicSlabBook.otf");
}

/* Desktop styles - Canvas animation background */
@media only screen and (min-width: 769px) {
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  #background-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 0;
    position: fixed;
    top: 0px;
    left: 0px;
  }

  .links {
    position: absolute;
    left: 430px;
    margin-left: 30px;
    z-index: 500;
    margin-top: 30px;
  }

  .links h2 {
    font-family: "ff-enzo-web", sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-variant: normal;
    margin: 0px;
  }

  .wrapper {
    text-align: left;
    width: 300px;
    height: 100%;
    position: absolute;
    padding-left: 30px;
    padding-right: 100px;
    left: 0px;
    background: #FFF;
    border-right: solid #DDD 3px;
    top: 0px;
    z-index: 100;
  }

  .header {
    padding: 5px;
    margin-top: 30px;
  }

  .profile-pic {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 75px;
    border: 3px solid #FFF;
    margin-left: -105px;
  }

  .profile-pic img {
    width: 150px;
    margin-top: 0px;
  }

  .header h1 {
    font-family: "ff-enzo-web", sans-serif;
    font-weight: 300;
    font-variant: normal;
    font-size: 40px;
    margin: 0px;
  }

  .header p {
    font-family: "ff-enzo-web", sans-serif;
    font-weight: 300;
    font-variant: normal;
    font-size: 18px;
    margin: 0px;
  }

  .social {
    color: #666;
    text-decoration: none;
    transition: color 0.5s;
    -webkit-transition: color 0.5s;
  }

  .social:hover {
    color: #000;
  }

  /* Hide mobile wrapper on desktop */
  #mobile-wrapper {
    display: none;
  }
}

/* Mobile styles - Gradient cards */
@media only screen and (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
  }

  /* Hide desktop elements on mobile */
  #background-container,
  .wrapper,
  #sidebar {
    display: none;
  }

  #mobile-wrapper {
    display: block;
    padding: 20px;
  }

  #mobile-wrapper h1, #mobile-wrapper p {
    margin-left: 10%;
    font-size: 2.5em;
    font-family: "KlinicSlab Book", sans-serif;
    font-weight: 300;
    font-variant: normal;
    margin-bottom: 0px;
    color: #fff;
  }

  #mobile-wrapper p {
    font-size: 1.5em;
    margin-top: 0px;
    margin-bottom: 1em;
    margin-right: 10%;
  }

  #mobile-wrapper .links {
    margin-left: 10%;
    margin-right: 10%;
  }

  #mobile-wrapper .links a {
    color: #FFF;
    text-decoration: none;
  }

  #mobile-wrapper .profile-pic {
    width: 60%;
    max-width: 200px;
    height: auto;
    overflow: hidden;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  #mobile-wrapper .profile-pic img {
    width: 100%;
    display: block;
  }

  #mobile-wrapper .links h2 {
    font-family: "KlinicSlab Book", sans-serif;
    font-weight: 300;
    font-size: 1.3em;
    color: #FFF;
    display: block;
    width: auto;
    padding: 12px 15px;
    border-radius: 5px;
    margin: 5px 0;
  }

  .blog-link { background: #04c2fc; }
  .social-link.github { background: #8cb51d; }
  .social-link.instagram { background: #22d168; }
  .social-link.twitter { background: #06b2c9; }
  .social-link.medium { background: #148565; }
  .social-link.fivehundredpx { background: #2b2b2b; }
  .social-link.vimeo { background: #148aa8; }
  .social-link.soundcloud { background: #f04511; }
  .social-link.youtube { background: #fc0000; }
  .social-link.email { background: #000000; }
}
