<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{webui_title}</title>

    <!-- Importing Cormorant Garamond font from Google Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet">
    
    <style>
        .header-wrapper {{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px 20px 0;
            box-sizing: border-box;
        }}

        .logo-container {{
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
        }}

        .logo {{
            width: 75px;
            height: auto;
            display: block;
        }}

        .header-title {{
            font-family: 'Cormorant Garamond', serif;
            font-size: 45px;
            font-weight: bold;
            color: {accent_color};
            margin: 0;
            position: relative;
            padding: 0.4em 0;
            text-align: center;
            max-width: 90%;
        }}

        .header-title::before,
        .header-title::after {{
            content: "";
            position: absolute;
            height: 2px;
            width: 80%;
            background-color: {accent_color};
            left: 10%;
        }}

        .header-title::before {{
            top: 0.4em;
        }}

        .header-title::after {{
            bottom: 0.4em;
        }}

        .header-description {{
            text-align: center;
            padding: 10px 40px 20px;
            max-width: 800px;
            margin: 0 auto;
        }}

        .header-description p,
        .header-description h2 {{
            font-size: 15px;
            margin: 8px 0;
            line-height: 1.5;
        }}

        .header-description h2 {{
            font-weight: bold;
            color: {accent_color};
        }}

        @media (max-width: 768px) {{
            .header-title {{
                font-size: 31px;
            }}

            .header-title::before,
            .header-title::after {{
                width: 80%;
                left: 10%;
            }}

            .logo {{
                width: 50px;
            }}

            .header-description {{
                padding: 10px 20px 15px;
            }}
        }}
    </style>
</head>
<body>
    <div class="header-wrapper">
        <div class="logo-container">
            <a href="{header_logo_url}">
                <img src="{header_logo_src}" alt="{webui_title}" class="logo">
            </a>
        </div>
        <h1 class="header-title">{webui_title}</h1>
    </div>
    <div class="header-description">
        <p>
            Upload, record, or provide a video with audio for transcription. Our toolkit is designed to transcribe content from multiple languages accurately. The integrated speaker diarisation feature identifies different speakers, ensuring a smooth transcription experience. For optimal results, indicate the number of speakers and the original language of the content.
        </p>
        <h2>Start your transcription below.</h2>
    </div>
</body>
</html>
