:root { --primary-color: rgb(28, 136, 28); --secondary-color: rgba(0, 0, 255, 0.8); --background-image: url("https://i.imgur.com/5rZ91h5.gif"); --font-family: 'Arial', sans-serif; } body { background-image: var(--background-image); font-family: var(--font-family); margin: 0; padding: 0; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; overflow: hidden; } h2.Defaces { color: var(--primary-color); text-shadow: 0 0 5px var(--secondary-color), 0 0 10px var(--secondary-color), 0 0 15px var(--secondary-color); font-size: 3em; margin: 0; } h3 { color: grey; margin: 0.5em 0; } a { color: var(--primary-color); text-decoration: none; font-size: 1.5em; transition: color 0.3s; } a:hover { color: white; } .glitch { position: relative; overflow: hidden; font-size: 4em; } .glitch img { position: relative; z-index: 1; display: block; max-width: 100%; height: auto; } .glitch__layers { position: absolute; z-index: 2; left: 0; right: 0; top: 0; bottom: 0; } .glitch__layer { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background-image: url(defaceperu.jpg); background-repeat: no-repeat; background-position: center; mix-blend-mode: screen; } .glitch__layer:nth-child(1) { transform: translateX(-5%); animation: glitch-anim-1 2s infinite linear alternate; } .glitch__layer:nth-child(2) { transform: translateX(3%) translateY(3%); animation: glitch-anim-2 2.3s -.8s infinite linear alternate; } .glitch__layer:nth-child(3) { transform: translateX(5%); animation: glitch-anim-flash 1s infinite linear; } @keyframes glitch-anim-1 { 0% { clip-path: polygon(0 0%, 100% 0%, 100% 5%, 0 5%); } 10% { clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%); } 20% { clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%); } 30% { clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%); } 40% { clip-path: polygon(0 35%, 100% 35%, 100% 35%, 0 35%); } 50% { clip-path: polygon(0 45%, 100% 45%, 100% 46%, 0 46%); } 60% { clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%); } 70% { clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%); } 80% { clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%); } 90% { clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%); } 100% { clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%); } } @keyframes glitch-anim-2 { 0% { clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%); } 15% { clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%); } 25% { clip-path: polygon(0 8%, 100% 8%, 100% 20%, 0 20%); } 30% { clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%); } 45% { clip-path: polygon(0 45%, 100% 45%, 100% 45%, 0 45%); } 50% { clip-path: polygon(0 50%, 100% 50%, 100% 57%, 0 57%); } 65% { clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%); } 75% { clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%); } 80% { clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%); } 95% { clip-path: polygon(0 45%, 100% 45%, 100% 60%, 0 60%); } 100% { clip-path: polygon(0 11%, 100% 11%, 100% 15%, 0 15%); } } @keyframes glitch-anim-flash { 0% { opacity: .2; } 30%, 100% { opacity: 0; } }