<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Picky Website</title>
</head>
<body>
    <div style="display: flex; flex-direction:column; align-items: center; justify-content: center;">
        <h1 class="message"></h1>
        <img src="let-me-in.jpg" alt="Fallback Image" width="500">
    </div>
    
</body>
</html>

<script>
    fetch('http://localhost:3000/message')
        .then(response => response.text())
        .then(data => {
            document.querySelector('.message').textContent = data;
        })
        .catch(error => console.error('Error fetching data:', error));
</script>

<style>
    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        background-color: #f0f0f0;
    }

    video {
        margin-top: 20px;
    }

    h1 {
        margin-top: 100px;
        color: #333;
    }
</style>