a, a:visited { color: #302e2e; text-decoration: none; position: relative; transition: color 0.3s ease; } a:hover { color: #ffffff; } a::after { content: ''; position: absolute; width: 100%; height: 1px; bottom: -2px; left: 0; background-color: #ffffff; transform: scaleX(0); transform-origin: bottom right; transition: transform 0.3s ease; } a:hover::after { transform: scaleX(1); transform-origin: bottom left; } body { background-color: rgb(0, 0, 0); color: white; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; user-select: none; } balls-skibidi-toaleta { color: #c2a3b2; animation: rainbow 8s linear infinite; } @keyframes rainbow { 0% { color: #ff0000; } 14% { color: #ff7f00; } 28% { color: #ffff00; } 42% { color: #00ff00; } 57% { color: #0000ff; } 71% { color: #4b0082; } 85% { color: #8f00ff; } 100% { color: #ff0000; } } .enter-screen { display: flex; justify-content: center; align-items: center; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 1); color: white; cursor: pointer; z-index: 10; transition: opacity 0.5s ease; } .enter-screen.hidden { opacity: 0; visibility: hidden; } .enter-screen h1 { font-size: 32px; font-family: 'Gamja Flower', cursive; font-optical-sizing: auto; font-weight: 20000; font-style: normal; } .white-dot { color: white; } footer { position: fixed; bottom: 0; left: 0; right: 0; margin: 20px; text-align: center; color: #191919; /* rgb(25,25,25) */ font-family: 'Gamja Flower', cursive; } @keyframes heartbeat { 0% { transform: scale(0.7); } 25% { transform: scale(0.8); } 50% { transform: scale(0.7); } 75% { transform: scale(0.8); } 100% { transform: scale(0.7); } } .rain { position: absolute; left: 0; width: 100%; height: 100%; z-index: 2; } .rain.back-row { display: none; z-index: 1; bottom: 60px; opacity: 0.5; } body.back-row-toggle .rain.back-row { display: block; } .drop { position: absolute; bottom: 100%; width: 15px; height: 120px; pointer-events: none; animation: drop 0.5s linear infinite; } @keyframes drop { 0% { transform: translateY(0vh); } 75% { transform: translateY(90vh); } 100% { transform: translateY(90vh); } } .stem { width: 1px; height: 60%; margin-left: 7px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25)); animation: stem 0.5s linear infinite; } @keyframes stem { 0% { opacity: 1; } 65% { opacity: 1; } 75% { opacity: 0; } 100% { opacity: 0; } } .splat { width: 15px; height: 10px; border-top: 2px dotted rgba(255, 255, 255, 0.5); border-radius: 50%; opacity: 1; transform: scale(0); animation: splat 0.5s linear infinite; display: none; } body.splat-toggle .splat { display: block; } @keyframes splat { 0% { opacity: 1; transform: scale(0); } 80% { opacity: 1; transform: scale(0); } 90% { opacity: 0.5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } } .toggles { position: absolute; top: 0; left: 0; z-index: 3; } .toggle { position: absolute; left: 20px; width: 50px; height: 50px; line-height: 51px; box-sizing: border-box; text-align: center; font-family: sans-serif; font-size: 10px; font-weight: bold; background-color: rgba(255, 255, 255, 0.2); color: rgba(0, 0, 0, 0.5); border-radius: 50%; cursor: pointer; transition: background-color 0.3s; } .toggle:hover { background-color: rgba(255, 255, 255, 0.25); } .toggle:active { background-color: rgba(255, 255, 255, 0.3); } .toggle.active { background-color: rgba(255, 255, 255, 0.4); } .splat-toggle { top: 20px; } .back-row-toggle { top: 90px; line-height: 12px; padding-top: 14px; } .single-toggle { top: 160px; } body.single-toggle .drop { display: none; } body.single-toggle .drop:nth-child(10) { display: block; } .heart { display: inline-block; animation: heartbeat 1s infinite; } footer a { color: #ddddff50; text-decoration: none; } /* Add these new styles */ .card-container { perspective: 1000px; transform-style: preserve-3d; width: fit-content; margin: 0 auto; } .card { transform-style: preserve-3d; transition: transform 0.1s ease; padding: 20px; background: rgba(15, 15, 15, 0); } #background-video { position: fixed; right: 0; bottom: 0; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -1; /* This puts the video behind all other content */ object-fit: cover; opacity: 0.5; /* Adjust this value to make the video more/less visible */ } pre { margin: 0; }