body{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#panel{
    transform-style: flat;
    transition: .18s;
    transition-timing-function: ease-out;
    
    -webkit-backface-visibility: hidden;
}

.panel{
    perspective: 100vw;
    
    font-family: sans-serif;
    text-align: center;
    vertical-align: middle;
    
    position: absolute;
    align-content: center;
    height: 100%;
    width: 80%;
    
    margin-left: 10%;
    margin-right: 10%;
}
.panel img{
    width: 18vw;
    display: inline-block;
    margin-right: 2vw;
}

.panel > .table_row{
    min-width: 100%;
    vertical-align: middle;
}

.panel .cell.fill{
    vertical-align: top;
    position: relative;
}
.panel h1{
    display: inline-block;
    margin-top: 0vw;
    margin-bottom: 0vw;
    font-size: 9vw;
    
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.7vw;
    font-weight: 100;
}

.panel ul{
    position: relative;
    
    margin: 0px;
    padding: 0px;
    
    font-size: 2.5vw;
    left: 0px;
    right: 0px;
    
    font-family: 'Rajdhani', sans-serif;
    font-weight: 200;
    
    text-transform: uppercase;
}
.panel ul > li{
    width: 24%;
    position: relative;
    z-index: 8;
    
    background: transparent;
    transition: .4s;
    
    outline: 1px solid transparent;
}

.panel ul li.slider{
    position: absolute;
    
    width: 100px;
    height: 100%;
    width: 0%;
    top: 0px;
    
    transition: 0s;
    z-index: 1;
    
    pointer-events: none;
}

.panel ul:hover li{
    background: transparent;
    transition: background 0s;
}

.panel ul li:hover{
    background: white;
    color: black;
    transition-delay: background .31s;
}


.panel ul li:hover ~ li.slider{
    width: 24%;
    transition: .31s;
}
.panel ul li:nth-child(1):hover ~ li.slider{
    left: 2%;
    background-color: white;
}
.panel ul li:nth-child(2):hover ~ li.slider{
    left: 26%;
    background-color: white;
}
.panel ul li:nth-child(3):hover ~ li.slider{
    left: 50%;
    background-color: white;
}
.panel ul li:nth-child(4):hover ~ li.slider{
    left: 74%;
    background-color: white;
}


.background{
    position: fixed;
    top: 0px; bottom: 0px;
    left: 0px; right: 0px;
}

#b-canvas{
    width: 100%;
    height: 100%;
}



.glitch{
    position: relative;   
    clip: rect(1px, 9999px, 1px, 0);
}

.glitch::before, .glitch::after{
    content: attr(data-text);
    position: absolute;
    top: 0;

    width: 100%;
    height: 100%;
    
    background: white;
    color: black;
    
    pointer-events: none;
    overflow: hidden;
    clip:rect(0,900px,0,0); 
    
    transition-delay: .3s;
    opacity: 0;
    
    z-index: 8;
}

.glitch:active::before, .glitch:active::after{
    opacity: 1;
    
    transition-property: width;
    transition-delay: .3s;
    width: 0%;
}


.glitch::before {
    text-shadow: -1px 0 red;
  
    animation:noise-anim-2 .7s infinite linear;
}
.glitch::after {
    text-shadow: 1px 0 blue;
    
    animation:noise-anim .5s infinite linear;
}

@keyframes noise-anim {
  0% {
    clip: rect(4px, 9999px, 43px, 0);
    left: -3px;
  }
  10% {
    clip: rect(5px, 9999px, 29px, 0);
    left: 5px;
  }
  20% {
    clip: rect(41px, 9999px, 48px, 0);
    left: -9px;
  }
  30% {
    clip: rect(10px, 9999px, 46px, 0);
    left: -9px;
  }
  40% {
    clip: rect(35px, 9999px, 21px, 0);
    left: -6px;
  }
  50% {
    clip: rect(29px, 9999px, 18px, 0);
    left: -3px;
  }
  60% {
    clip: rect(10px, 9999px, 37px, 0);
    left: 8px;
  }
  70% {
    clip: rect(14px, 9999px, 18px, 0);
    left: -1px;
  }
  80% {
    clip: rect(9px, 9999px, 6px, 0);
    left: -9px;
  }
  90% {
    clip: rect(16px, 9999px, 30px, 0);
    left: 3px;
  }
  100% {
    clip: rect(43px, 9999px, 38px, 0);
    left: -3px;
  }
}
@keyframes noise-anim-2 {
  0% {
    clip: rect(15px, 9999px, 31px, 0);
    left: 9px;
  }
  10% {
    clip: rect(3px, 9999px, 34px, 0);
    left: 12px;
  }
  20% {
    clip: rect(6px, 9999px, 27px, 0);
    left: -12px;
  }
  30% {
    clip: rect(49px, 9999px, 28px, 0);
    left: 3px;
  }
  40% {
    clip: rect(19px, 9999px, 39px, 0);
    left: -5px;
  }
  50% {
    clip: rect(17px, 9999px, 16px, 0);
    left: -13px;
  }
  60% {
    clip: rect(11px, 9999px, 1px, 0);
    left: 3px;
  }
  70% {
    clip: rect(7px, 9999px, 5px, 0);
    left: 3px;
  }
  80% {
    clip: rect(8px, 9999px, 39px, 0);
    left: -7px;
  }
  90% {
    clip: rect(40px, 9999px, 48px, 0);
    left: -6px;
  }
  100% {
    clip: rect(16px, 9999px, 47px, 0);
    left: 4px;
  }
}

@media screen and (orientation: portrait), all and (max-width: 700px){
    .panel{
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
    #panel{
        display: inline-block;
        width: 100%;
    }
    #panel .cell{
        display: block;
    }
    .panel img{
        width: 50%;
    }
    
    .panel h1{
        font-size: 14vw;
    }
    .panel ul{
        width: 100%;
    }
    .panel ul{
        font-size: 5vw;
    }
}