<!DOCTYPE html>
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="icon" type="image/x-icon" href="logo.png">
  <script src="jq.js"></script>
  <title>Courses</title>
  <style>
    body {
      font-family: "Arial", sans-serif;
      background-color: #fff;
      color: #1a1a1a;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      width: 500px;
    }

    header,
    footer {
      background-color: blue;
      padding: 10px 20px;
      text-align: center;
      width: 100%;
      color: #fff;
    }

    header h1 {
      font-family: "Verdana", sans-serif;
      font-weight: bold;
      font-size: 32px;
      margin: 0;
    }

    #courses-container {
      text-align: center;
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      background-color: 000;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
    }

    .course-card {
      background-color: green;
      border-radius: 8px;
      padding: 15px;
      margin: 10px;
      width: calc(50% - 20px); /* Two cards in one line with some margin */
      box-sizing: border-box;
      transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .course-card:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .course-title {
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      margin-bottom: 10px;
    }

    .udemy-button {
      background-color: #fff;
      color: #e91e63;
      border: 2px solid #e91e63;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      border-radius: 5px;
      transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border 0.3s ease-in-out;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .udemy-button:hover {
      background-color: #e91e63;
      color: #fff;
      border: 2px solid #fff;
    }

    footer p {
      margin: 10px 0;
    }

    footer a {
      color: #fff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    #loading-message {
      display: none;
      font-size: 20px;
      margin-top: 20px;
    }

    @media only screen and (max-width: 600px) {
      .course-card {
        width: calc(100% - 20px);
      }
    }
  </style>
</head>
<body>
  <header>
    <h1>Free Udamy Courses</h1>
  </header>

  <div id="courses-container"></div>
  <div id="loading-message">Loading...</div>

  <footer>
    <p>
      Made by 
        &copy;Badhesh Chauhan
      </a>
    </p>
  </footer>
<script src="script.js"></script>
</body>

</html>