 /* Global Styles */
 body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #050108, #33275c); /* Gradient background */
    color: #fff;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-attachment: fixed;
    overflow: hidden;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    background-color: rgba(0, 0, 0, 0); /* Semi-transparent white background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  h1 {
    margin: 0;
    font-size: 36px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }

  /* Search Box Styling */
  #searchBox {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    margin: 20px auto;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 30px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  #searchBox:focus {
    border-color: #33275c;
    outline: none;
    box-shadow: 0 2px 15px rgba(110, 95, 185, 0.5);
  }

  /* List of Assignments */
  ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  li {
    background-color: #fff;
    color: #333;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
  }

  li:hover {
    background-color: #f1f1f1;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
    text-align: center;
  }

  a:hover {
    color: #33275c;
  }

  /* 'No results' message */
  .no-results {
    text-align: center;
    font-size: 18px;
    color: #e74c3c;
    font-weight: 600;
    display: none;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    h1 {
      font-size: 28px;
    }

    #searchBox {
      width: 80%;
    }

    li {
      padding: 12px;
      font-size: 16px;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 24px;
    }

    #searchBox {
      width: 100%;
    }

    li {
      padding: 10px;
      font-size: 14px;
    }
  }
