<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <link rel="icon" href="images/google.svg" />

  <meta name="author" content="Nato Boram" />
  <meta name="keywords" content="Google, Lmgtfy" />

  <meta property="og:image" content="images/Lmgtfy.png" />
  <meta property="og:title" content="Let me Google that for you" />

  <!-- Bootstrap -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
    integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"
    integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB"
    crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js"
    integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
    crossorigin="anonymous"></script>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.6.1/font/bootstrap-icons.css" />

  <link rel="stylesheet" href="index.css" />
  <script src="index.js"></script>

  <title>Let me Google that for you</title>
</head>

<body class="bg-light">
  <!-- Navbar -->
  <nav class="navbar navbar-light bg-light">
    <div class="container-fluid">
      <div></div>
      <button class="btn bi-brightness-high btn-light" onclick="toggleBrightness()"></button>
    </div>
  </nav>

  <!-- Content -->
  <div class="container">
    <form class="row g-3 text-center mt-5">
      <!-- Google -->
      <label class="display-1 form-label fw-normal mb-0" for="input">
        <span class="text-primary">G</span><span class="text-danger">o</span><span class="text-warning">o</span><span
          class="text-primary">g</span><span class="text-success">l</span><span class="text-danger">e</span>
      </label>
      <small class="text-muted mt-0">Let me Google that for you :)</small>

      <!-- Input -->
      <div class="
            bg-light
            border border-1 border-light
            input-group
            rounded-pill
            shadow-sm
          ">
        <label class="bg-light bi-search border-0 input-group-text text-dark" for="input" id="searchicon"></label>
        <input class="form-control border-0 bg-light text-dark" id="input" maxlength="2048" name="search"
          placeholder="Search" required type="text" />
      </div>

      <!-- Actions -->
      <div>
        <button class="btn btn-light" id="search" type="submit">
          Google Search
        </button>
        <button class="btn btn-light" id="lucky" name="lucky" title="Open the first search result" type="submit"
          value="true">
          I'm feeling lucky
        </button>
      </div>

      <!-- Alert -->
      <div id="message" class="alert text-start opacity-0">
        <h5 id="message-heading" class="alert-heading"></h5>
        <div id="message-content"></div>
      </div>
    </form>
  </div>
</body>

</html>