body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    color: #000;
}
h2 {
    color: #003366;
}
button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
}
button:hover {
    background-color: #cc0000;
}


   body {
      margin: 0;
      font-family: Arial, sans-serif;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      background-color: #f4f8fb;
    }

    /* Header */
    .header {
      background-color: #003366; /* dark blue */
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      border-bottom: 4px solid red; /* red line */
    }

    .header .logo-title {
      display: flex;
      align-items: center;
    }

    .header img {
      height: 40px;
      margin-right: 10px;
    }

    .header h1 {
      margin: 0;
      font-size: 22px;
      font-weight: bold;
    }

    .header .links a {
      color: white;
      text-decoration: none;
      margin-left: 20px;
      font-size: 14px;
    }

    .header .links a:hover {
      text-decoration: underline;
    }

    /* Layout wrapper */
    .main {
      flex: 1;
      display: flex;
    }

    /* Sidebar */
    .sidebar {
      width: 220px;
      background-color: #003366;
      color: white;
      display: flex;
      flex-direction: column;
      padding: 20px 0;
    }

    .sidebar h2 {
      text-align: center;
      margin: 0 0 20px 0;
      font-size: 20px;
      border-bottom: 2px solid #fff;
      padding-bottom: 10px;
    }

    .menu-item {
      padding-top: 20px;
      padding-right: 4px;
      padding-bottom: 4px;
      padding-left: 20px;
      text-decoration: none;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s;
    }
    
    
 .menu-item2 {
      padding-top: 4px;
      padding-right: 4px;
      padding-bottom: 4px;
      padding-left: 20px;
      text-decoration: none;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s;
    }

    .menu-item:hover {
      background-color: #004d99;
      cursor: pointer;
    }

    .menu-item .tick {
      color: #00ff99;
      font-weight: bold;
    }

    /* Content */
    .content {
      flex: 1;
      padding: 30px;
    }

    .quiz-container {
      background-color: #ffffff;
      border: 2px solid #000;
      border-radius: 10px;
      width: 100%; /* take full available width */
      max-width: 1500px; /* keep it readable */
      padding: 5px;
      margin: auto;
      box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    }

    h2 {
      text-align: center;
      color: #003366;
      border-bottom: 2px solid #003366;
      padding-bottom: 10px;
      margin-bottom: 20px;
    }

    .question-block {
      margin-bottom: 20px;
      padding: 15px;
      border: 1px solid #ccc;
      border-left: 5px solid #0066cc;
      border-radius: 6px;
      background-color: #f9fcff;
    }

    .option {
      margin: 5px 0;
      display: block;
      color: #333;
    }

    .option input {
      margin-right: 8px;
    }

    button {
      display: block;
      width: 100%;
      padding: 12px;
      background-color: #0066cc;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:hover {
      background-color: #004d99;
    }

    /* Footer */
    .footer {
      background-color: #003366;
      color: white;
      text-align: center;
      padding: 10px;
      font-size: 14px;
    }
