<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: Arial; background: #f0f4f8; }
        .header { background: #1B3A5C; color: white; padding: 20px; text-align: center; }
        .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 20px; }
        .card { background: white; padding: 25px; border-radius: 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
        .card h3 { color: #1B3A5C; }

        /* Planshet */
        @media (max-width: 768px) {
            .container { grid-template-columns: repeat(2, 1fr); }
        }
        /* Mobil */
        @media (max-width: 480px) {
            .container { grid-template-columns: 1fr; }
            .header h1 { font-size: 1.3rem; }
        }
    </style>
</head>
<body>
    <div class="header"><h1>Responsive Dizayn</h1><p>Brauzer oynasini kichraytiring!</p></div>
    <div class="container">
        <div class="card"><h3>HTML</h3><p>Tuzilma</p></div>
        <div class="card"><h3>CSS</h3><p>Dizayn</p></div>
        <div class="card"><h3>JavaScript</h3><p>Dinamika</p></div>
    </div>
</body>
</html>