h1 { width: 100%; text-align: center; font-size: 96px; line-height: 1; margin: calc(50vh - 48px) 0 calc(50vh - 48px) 0; color: #ff0000; animation: rainbow 3s linear 0s infinite; } footer { text-align: center; } a, a:link, a:visited { color: #444; text-decoration: none; } a:hover { color: #888; } @keyframes rainbow { 0% { color: #ff0000; } 16.66% { color: #ff8000; } 33.33% { color: #ffff00; } 50% { color: #00ff00; } 66.66% { color: #0000ff; } 83.33% { color: #8000ff; } 100% { color: #ff0000; } }