<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Rains</title>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
    <style>
        @font-face {
        font-family: 'Font6';
        src: url('./font6.otf') format('opentype');
        }
        @font-face {
        font-family: 'Font2';
        src: url('./font2.ttf') format('truetype');
        }
        @font-face {
        font-family: 'Font3';
        src: url('./font3.ttf') format('opentype');
        }
        @font-face {
        font-family: 'Font4';
        src: url('./font4.ttf') format('opentype');
        }
        @font-face {
        font-family: 'Font5';
        src: url('./font5.ttf') format('opentype');
        }
        #rains {
            font-family: 'Font6', sans-serif;
            font-size: 6rem;
            color: rgb(2, 151, 81);
            letter-spacing: 9px;
        }
        #canva1 {
            font-family: 'Font4', sans-serif;
            font-size: 2rem;
        }
        #text {
            font-family: 'Font5', sans-serif;
            font-size: 1rem;
        }
        body {
            margin: 0;
            font-family: 'Font4', sans-serif;
            background-color: #000;
            color: #fcfcfc;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            text-align: center;
            padding: 1rem;
            background-color: #111;
            
        }

        header h1 {
            margin: 0;
            font-size: 2rem;
            font-family: 'Font1', sans-serif;
        }

        .content {
            max-width: 800px;
            margin: 1rem auto;
            padding: 1rem;
            background-color: #222;
            border-radius: 15px;
            box-shadow: 0 0 10px rgba(25, 0, 0, 10);
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .section {
            margin-bottom: 2rem;
        }

        .section h2 {
            margin-bottom: 1rem;
            border-bottom: 2px solid #444;
            padding-bottom: 0.5rem;
            font-size: 1.8rem;
        }

        #countdown {
            border: 2px solid #00930a;
            padding: 0.5rem 0.5rem;
            border-radius: 4px;
            display: inline-block;
            font-size: 1rem;
            font-weight: bold;
            background-color: #06410b;
            color: #ffffff;
        }

        .button-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 1rem;
        }

        .button-container button {
            padding: 18px 25px;
            font-size: 1rem;
            color: #fff;
            background: linear-gradient(45deg, #548291, #183b19);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.2s ease;
            width: 100%;
            max-width: 250px;
        }

        .button-container button:hover {
            background: linear-gradient(45deg, #353742, #686f5f);
            transform: scale(1.05);
        }

        .button-container button:active {
            background: linear-gradient(45deg, #548291, #183b19);
        }

        footer {
            text-align: center;
            padding: 1rem;
            background-color: #111;
        }

        @media (max-width: 768px) {
            .content {
                margin: 0.5rem;
                padding: 0.8rem;
            }

            .section h2 {
                font-size: 1.5rem;
            }

            .button-container button {
                font-size: 0.9rem;
                padding: 0.6rem 1.2rem;
            }
        }
        @media (max-width: 480px) {
            header h1 {
                font-size: 1.5rem;
            }

            .section h2 {
                font-size: 1.2rem;
            }

            .button-container button {
                font-size: 0.8rem;
                padding: 0.5rem 1rem;
            }
        }
        #klik {
            font-family: 'Font4', sans-serif;
            font-size: 1.3rem;
        }
    </style>
</head>
<body>
    <header>
        <h1 id="rains">RAINS</h1>
    </header>

    <div class="content">
        <section id="about" class="section">
            <h2 id="canva1">Canva Pro Team</h2>
            <p id="text">Canva Pro akan berakhir dalam <span id="countdown"></span></p>
            <p id="text">Akan selalu diperbarui saat masa berlakunya habis. Kembali ke sini jika kalian butuh lagi.</p>
            <div class="button-container">
                <button id="klik" onclick="window.open('https://www.canva.com/brand/join?token=VaJbk5EK5i-FlCK_GVsnVg&referrer=team-invite', '_blank');">Join Canva Pro</button>
                <button id="klik" onclick="shareToWhatsApp()">Simpan ke WhatsApp</button>
            </div>
        </section>
    </div>
    </div>
    <footer>
        <p>&copy; 2025 Rains. Made for fun.</p>
    </footer>