body {
  margin-left: 10%;
  margin-right: 10%;
  font-family: Arial, sans-serif;
  background-color: #222;
  color: #fff;
  transition: background-color 0.3s ease;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  transition: color 0.3s ease;
}

.nav-list {
  display: flex;
  gap: 5rem;
  list-style: none;
}

.nav-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.theme-switch {
  display: none;
}

.theme-switch-label {
  display: inline-block;
  width: 2rem;
  height: 1rem;
  background-color: #fff;
  position: relative;
  border-radius: 2rem;
  margin-left: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.theme-switch-label::before {
	content: '';
	display: block;
	position: absolute;
	width: 1rem;
	height: 1rem;
	background-color: #333;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.hamburger-checkbox {
  display: none;
}

.hamburger-menu {
  display: none; 
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  .hamburger-checkbox:checked ~ .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: inherit;
    padding: 1rem;
  }
}

.light-mode {
  background-color: #f2f2f2;
  color: #222;
  transition: color 0.3s ease;
}

.light-mode nav {
  background-color: #f2f2f2;
  transition: color 0.3s ease;
}

.light-mode .theme-switch-label {
  background-color: #222;
}

.light-mode .theme-switch-label::before {
background-color: #222;
}

.light-mode .nav-item a {
color: #222;
transition: color 0.3s ease;
}

.light-mode .hamburger-menu {
color: #222;
}

 .tab {
            cursor: pointer;
            padding: 10px;
            border: 2px solid #ccc;
            margin-right: 5px;
            display: inline-block;
            background-color: #222;
	 		border-top-left-radius: 10px;
			border-top-right-radius: 10px;
        }

.tabcontent {
            display: none;
            padding: 15px;
            border: 2px solid #ccc;
        }