@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap');

.animation1 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
}

.animation1 h2 {
    color: #fff;
    overflow: hidden;
    padding: 100px 0;
}
.animation1 h2:before {
    content: '';
    position:absolute;
    left: 110%;
    width: 120%;
    height:8%;
    background: linear-gradient(90deg,transparent 0%, #333 5%, #333 100%);
    animation: animate 5.5s linear forwards;
}
@keyframes animate {
    0% {
        left: 110%;
    }
    100% {
        left: -20%;
    }
}
/*
@media only screen and (max-width: 767px) {
    .main_navigation {
        display: none;
    }
    .container {
        width:96%;
    }
} 
*/