html, body {
    height: 100%;
    margin: 0; 
  }
  
  body {
    background-color: aliceblue;
    color: black; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  header {
    background-color: hsl(0, 0, 0); 
    text-align: center;
    padding: 20px;
  }
  
  .topnav {
    overflow: visible;
    background-color: honeydew;
    font-size: 24px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    display: flex;
    justify-content: flex-end; /* Aligns the links to the right */
  }
  
  .topnav a {
    display: inline-block; /* Makes links inline with some margin */
    color: black;
    text-align: center;
    padding: 14px 36px;
    text-decoration: none;
  }
  
  .topnav a:hover {
    background-color: gold;
    color: black; /* Change color to make it visible on hover */
  }

  h1 {
    font-size: 48px; /* Bigger font size for header */
    font-weight: 700; /* Bold font */
    margin: 0;
    text-align: center;
  }
  
  h2 {
    font-size: 28px; /* Subheader with a medium size */
    font-weight: 500;
    margin-top: 10px;
    color: #A7D8FF; /* Light blue for contrast */
    text-align: center;
  }

  h3{
    text-align: center;
  }

  /* Section styles for the main content */
  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }
  
  section a {
    font-size: 24px;
    color: #1e3d58;
    margin: 15px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  section a:hover {
    color: #F0E68C; /* Gold color on hover */
    transform: translateY(-3px); /* Slight lift on hover */
  }

  li{
    text-align: center;
    text-decoration: none;
  }
  .exercise1{
    text-align: center;
  }


  /* Footer styles */
  footer {
    margin-top: auto;
    background-color: #f1f1f1; /* Light gray background */
    color: #333;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
  }
  
  /* Media Query for responsiveness */
  @media (max-width: 600px) {
    .topnav {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .topnav a {
      margin-right: 0;
      margin-bottom: 10px;
    }
  
    section {
      padding: 20px;
    }
  }
  