← back to Goodquestion Ai

video-html/slides/sample-hook.html

128 lines

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=1920, height=1080">
  <title>What One Person Built This Week</title>
  <style>
    
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body {
      width: 1920px;
      height: 1080px;
      overflow: hidden;
      background: #0B0B0F;
      color: #E8E8ED;
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    .slide {
      width: 1920px;
      height: 1080px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Animations */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes growWidth {
      from { width: 0; }
    }
    @keyframes gradientShift {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    @keyframes pulseGlow {
      0%, 100% { text-shadow: 0 0 20px rgba(0,212,255,0.3); }
      50%      { text-shadow: 0 0 40px rgba(0,212,255,0.6), 0 0 80px rgba(0,212,255,0.2); }
    }
    @keyframes slideInLeft {
      from { opacity: 0; transform: translateX(-40px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes avatarFadeIn {
      0%   { opacity: 0; transform: scale(0.8); }
      15%  { opacity: 1; transform: scale(1); }
      85%  { opacity: 1; transform: scale(1); }
      100% { opacity: 0; transform: scale(0.9); }
    }

    .avatar-container {
      position: absolute;
      bottom: 40px;
      right: 40px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      overflow: hidden;
      border: 3px solid #00D4FF;
      box-shadow: 0 0 30px rgba(0,212,255,0.3);
      animation: avatarFadeIn 3s ease-in-out forwards;
      z-index: 100;
    }
    .avatar-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  
    
    .slide-hook {
      background: linear-gradient(135deg, #0B0B0F 0%, #0D1B2A 25%, #1B2838 50%, #0D1B2A 75%, #0B0B0F 100%);
      background-size: 400% 400%;
      animation: gradientShift 8s ease infinite;
    }
    .hook-headline {
      font-size: 80px;
      font-weight: 800;
      text-align: center;
      max-width: 85%;
      line-height: 1.15;
      background: linear-gradient(135deg, #00D4FF, #E8E8ED);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: fadeInUp 1s ease-out 0.3s both;
    }
    .hook-subtext {
      font-size: 32px;
      color: #6B7280;
      margin-top: 24px;
      animation: fadeInUp 1s ease-out 0.7s both;
    }
    .hook-line {
      width: 120px;
      height: 4px;
      background: #00D4FF;
      border-radius: 2px;
      margin-top: 32px;
      animation: growWidth 0.8s ease-out 1s both;
    }
  
  </style>
</head>
<body>
  
    <div class="slide slide-hook">
      <h1 class="hook-headline">What One Person Built This Week</h1>
      <p class="hook-subtext">March 2026</p>
      <div class="hook-line"></div>
      
    <div class="avatar-container" style="bottom: 40px; right: 40px; width: 200px; height: 200px; animation-duration: 3s;">
      <img src="/root/Projects/goodquestion-ai/dashboard-captures/avatar/avatar-front.png" alt="Avatar">
    </div>
    </div>
</body>
</html>