<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DriversEd Certificate</title>
    <style>
	
	@font-face {
  font-family: 'Cabri';
  src: url('fonts/Cabri-Bold.woff2') format('woff2'),
       url('fonts/Cabri-Bold.woff') format('woff'),
       url('fonts/Cabri-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap; /* good practice so text shows quickly */
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #f5f5f5;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            font-family: 'Arial', sans-serif;
			
        }

       .container {
			max-width: 1000px;
			width: 100%;
			border: 1px solid #ccc;
			background: white;
			box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
			border-radius: 9px; /* Add this line */
		}

       .header {
    text-align: center;
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    background: white;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}


       .header h1 {
  font-family: 'Cabri', sans-serif;
  font-size: 2.5em;
  color: #333;
  font-weight: bold; /* this will use Cabri Bold now */
  
  letter-spacing: 2px;
}


        .image-container {
            border: none;
            padding: 20px;
            background: white;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .certificate-image {
            width: 100%;
            max-width: 600px;
            display: block;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>DriversEd Certificate</h1>
        </div>

        <div class="image-container">
            <img src="" alt="Certificate" class="certificate-image" id="certImage">
        </div>
    </div>

    <script>
        // Replace with your image URL
        document.getElementById('certImage').src = 'Tawanda Manjanja.jpg';
    </script>
</body>
</html>