105 lines
2.7 KiB
HTML
105 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>awesome johnruina site</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@600;800;900&display=swap" rel="stylesheet">
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #0f0f0f;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.main-content {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
gap: 1.5rem;
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.video-wrapper { flex: 1; min-width: 0; }
|
|
|
|
.video-wrapper video {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 40px rgba(0,0,0,0.6);
|
|
}
|
|
|
|
.button-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.action-btn {
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
padding: 1rem 2rem;
|
|
background: #1a1a2e;
|
|
color: #e0e0e0;
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 800;
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
letter-spacing: 0.5px;
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
}
|
|
|
|
.action-btn:hover {
|
|
background: #16213e;
|
|
border-color: #4a4a8a;
|
|
box-shadow: 0 0 20px rgba(74,74,138,0.3);
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.main-content { flex-direction: column; align-items: center; }
|
|
.button-sidebar { flex-direction: row; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="main-content">
|
|
<div class="video-wrapper">
|
|
<video autoplay loop muted playsinline id="bgVideo">
|
|
<source src="Whiplash%20doggo%20edition%20%23memes%20%20%23shorts.mp4" type="video/mp4">
|
|
</video>
|
|
</div>
|
|
<div class="button-sidebar">
|
|
<a class="action-btn" href="fractal.html">FRACTAL</a>
|
|
<a class="action-btn" href="fluid.html">FLUID SIM</a>
|
|
<a class="action-btn" href="draw.html">DRAW</a>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
(function() {
|
|
const v = document.getElementById('bgVideo');
|
|
if (!v) return;
|
|
v.addEventListener('contextmenu', e => e.preventDefault());
|
|
v.addEventListener('pause', () => v.play());
|
|
setInterval(() => { if (v.paused) v.play(); }, 200);
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|