body {
    /* display: flex; */
    margin: 0;
    font-size: 18px;
}
/* 
.index-body {
    background-color: var(--homepage-background-color);
}

.data-submission-body {
    background-color: var(--default-background-color);
} */

.sidebar {
    width: 300px;
    background-color:  var(--bs-primary);
    padding: 20px;
    position: fixed;
    box-sizing: border-box;
    height: 100vh;
    color: var(--bs-secondary);
    overflow-y: auto;
    transition: width 0.3s ease;
}

.sidebar.hidden {
    width: 0;
    transform: translateX(-100%);
}

.content {
    flex: 1;
    padding: 30px 50px;
    background-color:  var(--bs-secondary);
    box-sizing: border-box;
    overflow-y: auto;
    margin-left: 300px;
    transition: margin-left 0.4s ease;
}

.content.expanded {
    margin-left: 0;
}

.moved {
    left: 10px;
}

ul {
    padding-left: 0;
}
.nested {
    margin-left: 20px;
    list-style-type: none;
    display: none;
}
.collapsible {
    cursor: pointer;
    position: relative;
    list-style-type: none;
}
.collapsible::before {
    content: '\25B6'; /* Right-pointing triangle */
    position: absolute;
    left: -20px;
    top: 0;
}

.collapsible-nocontent::before {
    content: ''; /* Bullet point */
}

.active > .nested {
    display: block;
}
.active::before {
    content: '\25BC'; /* Down-pointing triangle */
}

.collapsible::before,
.active::before {
  font-family: Arial, sans-serif !important;
  color: inherit !important;
  text-shadow: none !important;
  filter: none !important;
}

.actions {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
}
.collapsible:hover .actions {
    display: inline-block;
}

.display-text {
    width: min(90%, 900px);
    background-color:  var(--bs-secondary);
}

/* Container for the scrollable table */
.table-container {
    max-height: 400px;  /* Adjust the height as needed */
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #ccc; /* Optional: Add a border around the table */
    margin: 20px 0;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */

}


nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bs-primary);
}

.logo-container {
    display: flex;
    align-items: center;
    background-color: white;
}

.logo {
    height: 50px;
    margin-right: 15px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    padding: 8px 15px;
    color: var(--light-text-color);
    transition: background-color 0.3s ease-in-out;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: var(--dark-hover-color);
}

/* Section Styles */
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.section {
    padding: 50px 20px;
    margin-bottom: 20px;
    background-color:  var(--bs-secondary);
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: left;
}

.section h1, .section h2 {
    color: #333;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Center the cards in the section */
#publications {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 20px;
}

#publications h2 {
    margin-bottom: 10px;
    text-align: left;
}

.card-container {
    width: 90%;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
