/* index.css */

html {
  scroll-behavior: smooth;
}

/* index.css */

/* Target all elements that can be scrolled to via an ID */
[id] {
  scroll-margin-top: 100px; /* Adjust this value based on your header's height */
}

body {
      font-family: 'Poppins', sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      margin: 0;
      background: linear-gradient(135deg, #2c3e50, #3498db);
    }
    .container {
      text-align: center;
      padding: 40px 20px;
      max-width: 400px;
      width: 100%;
    }
    h1 {
      color: #ecf0f1;
      font-size: 2.2em;
      margin-bottom: 20px;
    }
    .link-button {
      display: block;
      background-color: #1a1a1a;
      color: #ecf0f1;
      text-decoration: none;
      font-size: 1.2em;
      font-weight: 500;
      padding: 15px;
      margin: 10px 0;
      border-radius: 25px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }
    .link-button:hover {
      background-color: #2ecc71;
      color: #1a1a1a;
      transform: translateY(-3px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }

    .link-button:active {
      transform: translateY(0);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

        .copy-btn {
            background-color: #2563eb; /* Equivalent to bg-blue-600 */
            color: #ffffff; /* Equivalent to text-white */
            font-weight: 600; /* Equivalent to font-semibold */
            padding: 0.5rem 1.25rem; /* py-2 px-5 */
            border-radius: 0.5rem; /* rounded-lg */
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* shadow-md */
            transition-property: all;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 300ms;
            cursor: pointer;
            border: none;
            outline: none;
            flex-shrink: 0;
        }

        .copy-btn:hover {
            background-color: #1d4ed8; /* hover:bg-blue-700 */
            transform: scale(1.05); /* hover:scale-105 */
        }

        .copy-btn:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.75); /* focus:ring-2 focus:ring-blue-500 focus:ring-opacity-75 */
        }

        .copy-btn.copied {
            background-color: #22c55e; /* bg-green-500 */
        }
        
        .copy-btn.copied:hover {
            background-color: #16a34a; /* hover:bg-green-600 */
        }