.sidebar {
    order: 2;
    flex: 1 0 30%; /* This will make the sidebar take up 30% of the width */
    background-color: #f5f5f5; /* Change this to match your site's color scheme */
    padding: 1em; /* Add some padding around the sidebar content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Optional: add a shadow for a 3D effect */
    position: sticky; /* Make the sidebar sticky */
    top: 0; /* Align the sidebar to the top of the viewport */
  }
  
  /* Style the sidebar links */
  .sidebar a {
    color: #333; /* Change this to match your site's color scheme */
    text-decoration: none;
    margin: 0.5em 0;
  }
  
  .sidebar h2 {
    font-size: 1.25em;
    margin-top: 0;
    text-decoration: dashed;
    text-align: center;
  }
  
  .sidebar ul {
    list-style-type: none;
    padding: 0;
  }
  
  .sidebar ul li {
    margin-bottom: 0.5em;
  }
  
  
  /* Style the sidebar links on hover */
  .sidebar a:hover {
    color: #007BFF; /* Change this to match your site's color scheme */
  }

  .content{
    order: 1;
    flex: 1 0 70%; /* This will make the main content take up 70% of the width */
    padding-right: 1em; /* Add some space between the main content and the sidebar */
    text-align: justify;}
  
  /* Make the sidebar stack below the main content on small screens */
  @media (max-width: 768px) {
    main, .sidebar {
        flex: 1 0 100%;
    }
    .sidebar {
        position: static; /* Disable sticky sidebar on small screens */
    }
  }