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



  <style>
  @font-face {
  font-family: 'Brontoburger';
  src: url('/font/BrontoburgerD.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
    /* Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      width: 100%;
      height: 100%;
      font-family: Arial, sans-serif;
      color: white;
      overflow: hidden;
    }

    body {
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      transition: background-image 0.8s ease-in-out;
      animation: fadeIn 1s ease-in-out;
      position: relative;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Default (landscape) background */
    body {
      background-image: url('http://cvm.org.uk/includes/christmas-25/christmas-background.png');
    }

    /* Portrait (scrollable) */
    @media (orientation: portrait) {
      html, body {
        height: auto;
        min-height: 100%;
        overflow-y: auto;
      }

      body {
        background-image: url('http://cvm.org.uk/includes/christmas-25/christmas-mobile.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
        background-color: black;
        padding-bottom: 200px; /* space for bottom button */
      }
    }

    /* Full clickable background link */
    .background-link {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    /* --- Continue Button (Top Right) --- */
    form {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 50;
    }

    .btn-continue {
      background: rgba(255, 255, 255, 0.9);
      color: black;
      font-weight: bold;
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
      font-family: 'Arial', sans-serif;
    }

    .btn-continue:hover {
      background: white;
    }

    /* --- Overlay (Find out more) --- */
    .overlay {
      position: fixed;
      bottom: 20px;
      left: 0;
      right: 0;
      text-align: center;
      padding: 10px;
      background: none;
      z-index: 20;
    }

    .overlay a {
      color: white;
      text-decoration: none;
      font-size: 1.2rem;
      padding: 6px 12px;
      border-radius: 8px;
      transition: background 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .overlay a:hover {
      background: rgba(255,255,255,0.15);
    }

    .overlay a img {
      height: 1.4em;
      vertical-align: middle;
    }

    /* Responsive Text */
    @media (max-width: 600px) {
      .overlay a {
        font-size: 1rem;
      }
      .overlay span.full-text {
        display: none;
      }
      .overlay span.short-text {
        display: inline;
      }
    }

    @media (min-width: 601px) {
      .overlay span.short-text {
        display: none;
      }
    }
  </style>

</head>
<body>
  <a href="https://cvm.org.uk/donate" class="background-link" aria-label="Go to CVM Christmas Appeal donate page"></a>
  <!-- Continue button -->
  <form method="post">
    <button type="submit" name="continue" class="btn-continue">
      Continue to Website →
    </button>
  </form>

  <!-- Christmas Appeal button -->
  <div class="overlay">
    <a href="https://cvm.org.uk/donate">
      <span class="full-text">
        Support the
        <img src="http://cvm.org.uk/includes/christmas-25/CVMlogo2024-white.png" alt="CVM Logo" />
        Christmas Appeal
      </span>
      <span class="short-text">
        <img src="http://cvm.org.uk/includes/christmas-25/CVMlogo2024-white.png" alt="CVM Logo" />
        Christmas Appeal
      </span>
    </a>
  </div>

</body>
</html>