canvas {
    display: block;
    vertical-align: bottom;
}


/* ---- particles.js container ---- */


#particles-js {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #281e1f;
    background-image: url("../img/header-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    vertical-align: bottom;
}

#particles-js .particles-js-canvas-el {
    height: 100vh!important
}

/* ---- glitch container ---- */

.glitch {
    position: relative;
    color: white;
    font-size: 72px;
    /* Animation provies a slight random skew. Check bottom of doc
    for more information on how to random skew. */
    animation: glitch-skew 1s infinite linear alternate-reverse;
  }
  .glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 15;
    left: 0;
    width: 100%;
    height: 100%;
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    /* Creates an initial clip for our glitch. This works in
    a typical top,right,bottom,left fashion and creates a mask
    to only show a certain part of the glitch at a time. */
    clip: rect(50px, 450px, 56px, 0);
    /* Runs our glitch-anim defined below to run in a 5s loop, infinitely,
    with an alternating animation to keep things fresh. */
    animation: glitch-anim 5s infinite linear alternate-reverse;
  }
  .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 15;
    left: 0;
    width: 100%;
    height: 100%;
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
  }
  
  /* Creates an animation with 20 steaps. For each step, it calculates 
  a percentage for the specific step. It then generates a random clip
  box to be used for the random glitch effect. Also adds a very subtle
  skew to change the 'thickness' of the glitch.*/
  @keyframes glitch-anim {
    0% {
      clip: rect(70px, 9999px, 42px, 0);
      transform: skew(0.26deg);
    }
    5% {
      clip: rect(26px, 9999px, 59px, 0);
      transform: skew(0.83deg);
    }
    10% {
      clip: rect(23px, 9999px, 28px, 0);
      transform: skew(0.58deg);
    }
    15% {
      clip: rect(89px, 9999px, 23px, 0);
      transform: skew(0.46deg);
    }
    20% {
      clip: rect(67px, 9999px, 68px, 0);
      transform: skew(0.85deg);
    }
    25% {
      clip: rect(23px, 9999px, 52px, 0);
      transform: skew(0.36deg);
    }
    30% {
      clip: rect(79px, 9999px, 10px, 0);
      transform: skew(0.52deg);
    }
    35% {
      clip: rect(43px, 9999px, 24px, 0);
      transform: skew(0.38deg);
    }
    40% {
      clip: rect(54px, 9999px, 24px, 0);
      transform: skew(0.97deg);
    }
    45% {
      clip: rect(4px, 9999px, 88px, 0);
      transform: skew(0.32deg);
    }
    50% {
      clip: rect(9px, 9999px, 83px, 0);
      transform: skew(0.47deg);
    }
    55% {
      clip: rect(67px, 9999px, 92px, 0);
      transform: skew(0.18deg);
    }
    60% {
      clip: rect(46px, 9999px, 39px, 0);
      transform: skew(0.08deg);
    }
    65% {
      clip: rect(94px, 9999px, 54px, 0);
      transform: skew(0.67deg);
    }
    70% {
      clip: rect(1px, 9999px, 79px, 0);
      transform: skew(0.34deg);
    }
    75% {
      clip: rect(26px, 9999px, 34px, 0);
      transform: skew(0.97deg);
    }
    80% {
      clip: rect(80px, 9999px, 8px, 0);
      transform: skew(0.85deg);
    }
    85% {
      clip: rect(90px, 9999px, 54px, 0);
      transform: skew(0.28deg);
    }
    90% {
      clip: rect(67px, 9999px, 34px, 0);
      transform: skew(0.77deg);
    }
    95% {
      clip: rect(36px, 9999px, 51px, 0);
      transform: skew(0.24deg);
    }
    100% {
      clip: rect(95px, 9999px, 17px, 0);
      transform: skew(0.94deg);
    }
  }
  @keyframes glitch-anim2 {
    0% {
      clip: rect(70px, 9999px, 22px, 0);
      transform: skew(0.75deg);
    }
    5% {
      clip: rect(87px, 9999px, 37px, 0);
      transform: skew(0.85deg);
    }
    10% {
      clip: rect(43px, 9999px, 100px, 0);
      transform: skew(0.96deg);
    }
    15% {
      clip: rect(82px, 9999px, 65px, 0);
      transform: skew(0.46deg);
    }
    20% {
      clip: rect(26px, 9999px, 80px, 0);
      transform: skew(1deg);
    }
    25% {
      clip: rect(72px, 9999px, 43px, 0);
      transform: skew(0.37deg);
    }
    30% {
      clip: rect(42px, 9999px, 24px, 0);
      transform: skew(0.99deg);
    }
    35% {
      clip: rect(77px, 9999px, 67px, 0);
      transform: skew(0.5deg);
    }
    40% {
      clip: rect(60px, 9999px, 13px, 0);
      transform: skew(0.85deg);
    }
    45% {
      clip: rect(28px, 9999px, 85px, 0);
      transform: skew(0.02deg);
    }
    50% {
      clip: rect(21px, 9999px, 77px, 0);
      transform: skew(0.99deg);
    }
    55% {
      clip: rect(14px, 9999px, 71px, 0);
      transform: skew(0.09deg);
    }
    60% {
      clip: rect(26px, 9999px, 76px, 0);
      transform: skew(0.68deg);
    }
    65% {
      clip: rect(84px, 9999px, 30px, 0);
      transform: skew(0.06deg);
    }
    70% {
      clip: rect(26px, 9999px, 45px, 0);
      transform: skew(0.99deg);
    }
    75% {
      clip: rect(88px, 9999px, 84px, 0);
      transform: skew(0.5deg);
    }
    80% {
      clip: rect(53px, 9999px, 72px, 0);
      transform: skew(0.8deg);
    }
    85% {
      clip: rect(90px, 9999px, 58px, 0);
      transform: skew(0.76deg);
    }
    90% {
      clip: rect(67px, 9999px, 63px, 0);
      transform: skew(0.76deg);
    }
    95% {
      clip: rect(79px, 9999px, 35px, 0);
      transform: skew(0.03deg);
    }
    100% {
      clip: rect(25px, 9999px, 21px, 0);
      transform: skew(0.3deg);
    }
  }
  @keyframes glitch-skew {
    0% {
      transform: skew(3deg);
    }
    10% {
      transform: skew(1deg);
    }
    20% {
      transform: skew(-2deg);
    }
    30% {
      transform: skew(0deg);
    }
    40% {
      transform: skew(1deg);
    }
    50% {
      transform: skew(-2deg);
    }
    60% {
      transform: skew(5deg);
    }
    70% {
      transform: skew(1deg);
    }
    80% {
      transform: skew(1deg);
    }
    90% {
      transform: skew(4deg);
    }
    100% {
      transform: skew(4deg);
    }
  }

  /* Scroll bar content */
::-webkit-scrollbar-track
  {
      border: 1px solid black;
      background-color: #F5F5F5;
  }
  
::-webkit-scrollbar
  {
      width: 10px;
      background-color: #F5F5F5;
  }
  
::-webkit-scrollbar-thumb
  {
      background-color: #051b2e;	
  }

  
/* Media Queries */
@media(max-width: 800px){
  .skills .bars-wrap .skillbar {
    display: block;
    width: 100%;
  }
    header nav,
    header h1 span,
    header .kicker{
      float:none;
      text-align:center;
      width:auto;
      margin: auto;
    }
    
    header{
      padding-bottom:20px;
      height: 450px;
    }

    .margin-0{
        margin-left: 0px;
    }
    
    header .logo{
        float: none;    
		display: block;    
        text-align: center;
        margin: 10px auto;
    }

    header .logo img{
        width: 50px;
        height: 50px;
    }
    header h1{
        font-size: 40px;
        padding: 35% 10px 0 10px;
    }
    header h1 span{
      padding: 0.2em;
    }
    #particles-js{
        height: 100%;
    }

    #particles-js .particles-js-canvas-el{
        height: 100vh !important;
    }
    
    .about .icon-wrap{
      display: block;
      text-align: center;
      max-width: auto;
    }
    .about .icon-wrap .icon-100{
      display: inline-block;
      margin: 5px;
    }
    .about .icon-wrap .face-img{
      display: block;
      margin: 20px auto;
      background-position: center center;
      background-repeat: no-repeat;
      
    }
    .about .about-text{
      max-width: auto;
      padding: 0 auto;
    }
  }
  
/* skill stylesheet */

  .skillbar {
    position:relative;
    display:inline-block;
    margin-bottom:15px;
    width:40%;
    background:#eee;
    height:35px;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    -webkit-transition:0.4s linear;
    -moz-transition:0.4s linear;
    -ms-transition:0.4s linear;
    -o-transition:0.4s linear;
    transition:0.4s linear;
    -webkit-transition-property:width, background-color;
    -moz-transition-property:width, background-color;
    -ms-transition-property:width, background-color;
    -o-transition-property:width, background-color;
    transition-property:width, background-color;
  }
  
  .skillbar-title {
    position:absolute;
    top:0;
    left:0;
    width:110px;
    font-weight:bold;
    font-size:13px;
    color:#ffffff;
    background:#6adcfa;
    -webkit-border-top-left-radius:3px;
    -webkit-border-bottom-left-radius:4px;
    -moz-border-radius-topleft:3px;
    -moz-border-radius-bottomleft:3px;
    border-top-left-radius:3px;
    border-bottom-left-radius:3px;
  }
  
  .skillbar-title span {
    display:block;
    background:rgba(0, 0, 0, 0.1);
    padding:0 20px;
    height:35px;
    line-height:35px;
    -webkit-border-top-left-radius:3px;
    -webkit-border-bottom-left-radius:3px;
    -moz-border-radius-topleft:3px;
    -moz-border-radius-bottomleft:3px;
    border-top-left-radius:3px;
    border-bottom-left-radius:3px;
  }
  
  .skillbar-bar {
    height:35px;
    width:0px;
    background:#6adcfa;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
  }
  
  .skill-bar-percent {
    position:absolute;
    right:10px;
    top:0;
    font-size:11px;
    font-weight: bold;
    height:35px;
    line-height:35px;
    color:#ffffff;
    color:rgba(0, 0, 0, 0.4);
  }