body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
}

h2 {
  color: #35424a;
  font-size: 1.5rem;
  text-align: left;
}
.mt-0{
  margin-top: 0px;
}

header {
  background: #35424a;
  color: #ffffff;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* display: flex;
  align-items: center; */
  /* padding: 0 20px; */
}

.header-title {
  max-width: 1300px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  height: 100%;
  text-align: start;
}
.header-title a {
  text-decoration: none;
  color: #ffffff;
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.core-principles-heading {
  color: grey;
  font-weight: 500;
  margin: 0;
  margin-top: 20px;
}

nav {
  width: 60%;
  height: calc(100vh - 178px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #35424a #f4f4f4;
  scrollbar-width: none;
  text-align: start;
}

.nav-title {
  color: #35424a;
  font-weight: 500;
  margin: 0;
  margin-top: 20px;
}

.sub-module p {
  cursor: pointer;
}

nav ul {
  list-style: none;
  padding: 0;
  margin-right: 10px;
}

nav ul li {
  display: flex;
  flex-direction: row;
}

nav ul li a {
  color: #35424a;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link {
  color: #35424a;
  text-decoration: none;
  display: block;
  padding: 0 10px;
  border-radius: 5px;
  transition: background 0.3s;
}

.nested-nav-link {
  font-size: 14px;
}

.nav-link:hover {
  background: #e2e2e2;
}

main {
  margin: 65px auto 0 auto; 
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1300px;
  /* margin: 0 auto; */
}

.content {
  padding: 20px;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  margin: 20px 0;
  height: calc(100vh - 178px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #35424a #f4f4f4;
}


footer {
  text-align: center;
  height: 50px;
  background: #35424a;
  color: #ffffff;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
}

.footer-text {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.sub-module {
  margin-left: 10px;
}

.nav-divider {
  margin-top: 10px;
  border-bottom: 1px solid #35424a;
}

.m-0 {
  margin: 0;
}
.menu-toggle {
  background: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  display: none;
}
.menu-toggle-close {
  background: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  display: none;
}
.open {
  display: block;
}
.close {
  display: none;
}
.blur {
  filter: blur(5px);
  display: none;
}

@media (max-width: 1015px) {
  main {
    width: 100%;
  }
  .content {
    width: 100%;
    margin: 0;
    height: auto;
    margin-bottom: 30px;
  }
  nav {
    display: none;
  }
  .header-title {
    margin: 0;
  }
  header {
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  ul {
    margin-top: 0px;
    margin-right: 0px;
  }
}
iframe {
  width: 100%;
  height: 100%;
  max-width: 600px;
  min-height: 300px;
}
.diagram {
  width: 100%;
  height: auto;
  max-width: 600px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
table th,
table td {
  border: 1px solid #35424a;
  padding: 10px;
  text-align: left;
}
.mobil-menu {
  padding: 10px;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin-right: 0px !important;
  margin-bottom: 30px;
  margin-top: 0px;
  text-align: center;
}
@media (max-width: 394px) {
  .header-title {
    font-size: 0.9rem;
  }
  h2 {
    font-size: 1rem;
  }
  .core-principles-heading {
    font-size: 0.9rem;
  }
}