@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap'); *{ margin: 0; padding: 0; font-family: 'Poppins', sans-serif; } body{ justify-content: center; text-align: center; background: #000; } h3,h2,h1,p{ position: relative; color: #ffffff; } h2{ margin-top: 300px; font-size: 3.4em; font-weight: 900; color: #ffffff; z-index: 1; overflow: hidden; } p:before, h1:before, h2:before, h3::before{ content: ''; position: absolute; left: -20%; width: 120%; height: 100%; background: linear-gradient(90deg, transparent 0%, #000 5%, #000 100%); animation: animate 3.5s linear forwards; } @keyframes animate{ 0%{ left: -20%; } 100%{ left: 100%; } } span{ color: #ff022c; } button { background-color: transparent; line-height: 45px; margin-top: 30px; border: 3px solid white; width: 200px; overflow: hidden; cursor: pointer; } button a{ font-weight: bold; font-size: 15px; text-decoration: none; color: white; } button:hover { background-color: #ff022c; margin-top: 30px; line-height: 45px; border: 3px solid #ff022c; width: 200px; } button a:hover{ font-weight: bold; font-size: 15px; text-decoration: none; color: black; } h1{ margin: 150px 250px 30px; font-size: 3em; line-height: 1.5; font-weight: 900; color: #ffffff; overflow: hidden; } h3{ margin: 80px 250px 30px; font-size: 2em; font-weight: 700; color: #ffffff; overflow: hidden; } p{ margin: 10px 250px 30px; font-size: 1.5em; overflow: hidden; }