.scanning
{
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #111;
}

.scan{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scan .fingerprint{
    position: relative;
    width: 300px;
    height: 380px;
    background: url('../img/fingerPrint_01.png');
    background-size: 300px;
}

.scan .fingerprint::before{
    content: '';
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/fingerPrint_02.png');
    background-size: 300px;
    animation: animate 6s ease-in-out infinite;
}


@keyframes animate{
    0%,100%
    {
        height: 0%;
    }
    50%{
        height: 100%;
    }
}

.scan .fingerprint::after{
    content: '';
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #3fefef;
    border-radius:8px;
    filter: drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
    animation: animate_line 6s ease-in-out infinite;
}

@keyframes animate_line{
    0%,100%
    {
        top: 0%;
    }
    50%{
        top: 100%;
    }
}

.scan h3{
    text-transform: uppercase;
    font-size: 2em;
    letter-spacing: 2px;
    margin-top: 20px;
    color:#3fefef;
    filter: drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
    animation: animate_text 1.5s steps(1) infinite;
}

@keyframes animate_text{
    0%,100%
    {
        opacity:0%;
    }
    50%{
        opacity: 100%;
    }

}

.scandiv{
    display: flex;    
}

@media (max-width: 576px) {
    .scandiv{
	padding-top:90px;
        display:block;
    }

.scan .fingerprint{
    width: 270px;
    height: 342px;
    background-size: 270px;
}

.scan .fingerprint::before{
    background-size: 270px;
}

}

.scan h2{
    color: #3FEFEF;
    animation-name: example;
      animation-duration: 4s;
      animation-iteration-count: infinite;
      animation-timing-function: ease-in-out;
    }
    
    @keyframes example {
        0%   {color:red; left:0px; top:0px;}
        25%  {color:yellow; left:200px; top:0px;}
        50%  {color:blue; left:200px; top:200px;}
        75%  {color:green; left:0px; top:200px;}
        100% {color:red; left:0px; top:0px;}
      }
    