@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Nunito', sans-serif;
  background-color: #121212;
}

/* Layout container */
.container {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

/* Sidebar */
.sidebar {
  color: #f0f0f0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 220px;
  padding: 20px;
  z-index: 5;
  text-align: left;
  box-shadow: 10px 0 16px -4px rgba(0, 255, 255, 0.3);
  background: linear-gradient(160deg, #0f2027, #203a43, #2c5364);
  font-size: 92.5%;
}

/* Items */
.items {
  box-shadow: 10px 0 20px rgba(0, 255, 204, 0.1);
  background-color: #1e2a38;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0;
  border-radius: 30px;
  border-right: 3px solid #0ff;
  width: 240px;
}

.sidebar h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 20px;
  color: #0ff;
}

/* Nav links */
.nav-link {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: background 0.3s, color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #f0f0f0;
}

.nav-link:hover {
  background-color: #0ff2;
  color: #0ff;
}

/* Main content */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #1e1e1e;
}

.main p, .main ul {
  font-size: 20px;
}

/* Header */
.header {
  position: relative;
  width: 100%;
  padding: 8px;
  text-align: center;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;
  z-index: 1;
  font-weight: 700;
}

/* Content */
.content {
  max-width: 1000px;
  margin: auto;
  flex: 1;
  padding: 30px;
  word-wrap: break-word;
}

/* Footer */
.footer {
  position: relative;
  left: 0;
  background-color: #151f2b;
  color: white;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 50px;
  z-index: 1;
  border-top: 3px solid #0ff;
}

.footer .social-links {
  margin-top: 10px;
}

.footer .social-links a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: #0ff;
}

/* Dropdown */
.dropdown {
  position: inherit;
  display: inline-block;
}
.dropdown-h {
  position: inherit;
  display: inline-block;
}

.dropdown-content {
  display: none;
  min-width: 160px;
  z-index: 1;
  background-color: #1e2a38;
  font-size: 95%;
  padding-left: 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.1);
}

.dropdown-content a {
  padding-left: inherit;
  display: block;
  padding: 12px 16px;
  color: #f0f0f0;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background-color: #0ff2;
  color: #0ff;
}

.dropdown-btn, .dropdown-btn-h {
  all: unset;
  display: block;
  width: 92.5%;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px 16px;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #f0f0f0;
}

.dropdown-btn:hover,
.dropdown-btn-h:hover {
  background-color: #0ff2;
  color: #0ff;
}

.show {
  display: block;
}

.dropdown-h:hover .dropdown-content {
  display: block;
}

/* Nested dropdown theme progression */
.sidebar .dropdown-content {
  background-color: #16232f;
}

.sidebar .dropdown-content .dropdown-content {
  background-color: #103946;
}

.sidebar .dropdown-content .dropdown-content .dropdown-content {
  background-color: #0d4d51;
}

.sidebar .dropdown-content .dropdown-content .dropdown-content .dropdown-content {
  background-color: #0b5f5f;
}
