body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;  /* Ensures full height of the viewport */
}

/* New container to manage page width */
.container {
    max-width: 1000px;   /* Adjust as needed for your preferred width */
    width: 90%;          /* Allows flexibility on smaller screens */
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.branding {
    position: absolute;
    top: 2px;            /* Aligns vertically from the top */
    left: 2px;           /* Positions it towards the left edge */
    font-size: 1.2em;
    font-weight: bold;
    color: white;         /* Ensure it stands out on dark backgrounds */
    background-color: rgba(0, 0, 0, 0.5);  /* Optional: Add background for readability */
    padding: 5px 10px;    /* Adds some padding to make it look clean */
    border-radius: 5px;   /* Rounded corners for a softer look */
}


/* Existing header styles */
header {
    background: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
	font-weight: bold;
}

nav ul li a:hover {
            text-decoration: underline;
}

main {
    background: white;
    padding: 20px;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    background: #333;
    color: white;
}


/* Ensure the bibliography entries are inline */
#refs {
    list-style: none;
    padding-left: 0;
}

.csl-entry {
    display: flex;
    align-items: flex-start;
}

.csl-left-margin {
    margin-right: 5px; /* Adjust spacing between number and text */
    font-weight: bold;
}

.csl-right-inline {
    flex: 1;
}


.collapsible {
      background-color: #004080;
      color: white;
      cursor: pointer;
      padding: 12px 18px;
      width: 100%;
      border: none;
      text-align: left;
      outline: none;
      font-size: 1.1em;
      margin-top: 10px;
      border-radius: 5px;
    }

    .active, .collapsible:hover {
      background-color: #0059b3;
    }

    .content {
      padding: 0 18px;
      display: none;
      overflow: hidden;
      background-color: #f9f9f9;
      border: 1px solid #ddd;
      border-top: none;
      border-radius: 0 0 5px 5px;
    }

    .content p {
      margin: 15px 0;
    }