/* Alla Beni Pulla Beni */ #main-body { font-family: 'Press Start 2P', cursive; margin: 0; padding: 0; background-color: black; margin: 0; overflow-x: hidden; } .bg { position: fixed; top: -50%; left: -50%; right: -50%; bottom: -50%; width: 200%; height: 200vh; background: transparent url('http://assets.iceable.com/img/noise-transparent.png') repeat 0 0; background-repeat: repeat; animation: bg-animation .2s infinite; opacity: .9; visibility: visible; } @keyframes bg-animation { 0% { transform: translate(0,0) } 10% { transform: translate(-5%,-5%) } 20% { transform: translate(-10%,5%) } 30% { transform: translate(5%,-10%) } 40% { transform: translate(-5%,15%) } 50% { transform: translate(-10%,5%) } 60% { transform: translate(15%,0) } 70% { transform: translate(0,10%) } 80% { transform: translate(-15%,0) } 90% { transform: translate(10%,5%) } 100% { transform: translate(5%,0) } } #main-header { background-color: black; color: white; text-align: center; padding: 20px 0; margin-bottom: 30px; font-size: 35px; } .upper { text-align: center; font-size: 25px; } .glitch { margin-top: 30px; color: var(--color); font-size: 35px; display: flex; flex-direction: column; text-align: center; } .right { font-size: 25px; text-align: center; width: 100%; } .stack { display: grid; grid-template-columns: 1fr; } .stack span { font-weight: bold; grid-row-start: 1; grid-column-start: 1; font-size: 4rem; --stack-height: calc(100% / var(--stacks) - 1px); --inverse-index: calc(calc(var(--stacks) - 1) - var(--index)); --clip-top: calc(var(--stack-height) * var(--index)); --clip-bottom: calc(var(--stack-height) * var(--inverse-index)); clip-path: inset(var(--clip-top) 0 var(--clip-bottom) 0); animation: stack 340ms cubic-bezier(.46,.29,0,1.24) 1 backwards calc(var(--index) * 120ms), glitch 2s ease infinite 2s alternate-reverse; } .stack span:nth-child(odd) { --glitch-translate: 8px; } .stack span:nth-child(even) { --glitch-translate: -8px; } @keyframes stack { 0% { opacity: 0; transform: translateX(-50%); text-shadow: -2px 3px 0 red, 2px -3px 0 blue; } 60% { opacity: 0.5; transform: translateX(50%); } 80% { transform: none; opacity: 1; text-shadow: 2px -3px 0 red, -2px 3px 0 blue; } 100% { text-shadow: none; } } @keyframes glitch { 0% { text-shadow: -2px 3px 0 red, 2px -3px 0 blue; transform: translate(var(--glitch-translate)); } 2% { text-shadow: 2px -3px 0 red, -2px 3px 0 blue; } 4%, 100% { text-shadow: none; transform: none; } } #main-nav { background-color: white; padding: 10px 0; } #main-nav ul { list-style-type: none; margin: 0; padding: 0; text-align: center; } #main-nav ul li { display: inline; margin-right: 40px; } #main-nav ul li a { color: white; text-decoration: none; font-size: 20px; color: black; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; } #main-nav ul li a:hover { background-color: black; color: white; padding: 12px 24px; border-radius: 5px; margin-left: -2px; } .main-content { color: white; max-width: 800px; margin: 0 auto; padding: 20px; } .main-content .text { margin-bottom: 20px; margin-top: 50px; font-size: 20px; text-align: left; } .main-divider { border-top: 2px solid #333; margin-bottom: 40px; margin-top: 30px; } .main-image { text-align: center; opacity: 60%; } .main-image img { max-width: 100%; height: auto; } .main-buttons { text-align: center; } .main-buttons button { font-family: 'Press Start 2P', cursive; font-size: 16px; padding: 10px 20px; margin-right: 10px; background-color: white; color: black; border: none; cursor: pointer; margin-top: 30px; } .main-buttons button:hover { background-color: black; text-decoration: none; color: white; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; } #cp { color: white; text-align: center; margin-top: 10px; margin-bottom: 30px; }