* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: white;
  color: black;
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-left a,
.nav-right a {
  color: black;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #00adb5;
  text-decoration: none;
}

.nav-right i {
  font-size: 1.2rem;
}

.dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 15px;
}

#title.content {
  padding: 140px 40px 20px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.title-block h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

#title p {
  font-size: 18px;
  margin-top: 16px;
  max-width: 700px;
}

.section {
  max-width: 800px;
  margin: 48px auto 32px auto;
  padding: 0 40px;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.section ul {
  list-style-type: disc;
  padding-left: 20px;
}

.section li {
  font-size: 16px;
  margin-bottom: 8px;
}

footer {
  text-align: center;
  margin: 40px auto 20px auto;
  font-size: 14px;
}

body.dark-mode {
  background-color: #121212;
  color: white;
}

body.dark-mode .navbar {
  background-color: #1e1e1e;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

body.dark-mode .nav-left a,
body.dark-mode .nav-right a {
  color: white;
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
  }

  .nav-left,
  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .nav-left a,
  .nav-right a,
  .dark-toggle {
    margin: 6px 10px;
    font-size: 16px;
    text-align: center;
  }

  .nav-right i {
    font-size: 1.3rem;
  }

  #title.content {
    padding: 120px 20px 20px 20px;
    text-align: center;
  }

  .title-block h1 {
    font-size: 28px;
    text-align: center;
  }

  #title p {
    font-size: 15px;
    text-align: center;
  }

  .section {
    margin: 32px auto;
    padding: 0 20px;
    text-align: left;
  }

  .section h2 {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: center;
  }

  .section ul {
    padding-left: 16px;
  }

  .section li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  footer {
    font-size: 12px;
    padding: 0 10px;
    text-align: center;
  }

  a {
    word-break: break-word;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.section a:hover,
#title a:hover {
  color: #00adb5;
  text-decoration: underline;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #00adb5;
  text-decoration: none;
}

body.dark-mode a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

body.dark-mode .section a:hover,
body.dark-mode #title a:hover {
  color: #00adb5;
  text-decoration: underline;
}

body.dark-mode .nav-left a:hover,
body.dark-mode .nav-right a:hover {
  color: #00adb5;
  text-decoration: none;
}
