:root {
  --bg: #343434;
  --color: #C0C0C0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--color);
  font-family: 'Segoe UI', sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: #2c2c2c;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#title {
  text-decoration: none;
  color: #BBDEFB;
}

#menu-toggle {
  background: none;
  border: none;
  color: var(--color);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

#sidebar {
    background: rgba(255, 255, 255, 0.06);
    width: 220px;
    padding: 1rem;
    position: fixed;
    top: 60px;
    bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease-in-out;
    max-height: 81%;
    margin-top: 13px;
    margin-left: 5px;
}

#sidebar.hidden {
    display: none;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    margin-bottom: 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

#sidebar li:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

main {
  margin-left: 220px;
  padding: 2rem;
  flex: 1;
}

.content-section {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

.intro-card {
  background: #2a2a2a;
  border-left: 5px solid #BBDEFB;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.repo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.repo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.repo-header {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.repo-header i {
  margin-right: 0.5rem;
}

.repo-header a {
  color: #BBDEFB;
  text-decoration: none;
  font-weight: bold;
}

.repo-description {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.repo-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.repo-stats i {
  margin-right: 0.3rem;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-section {
  margin-top: 4rem;
  text-align: center;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  width: 220px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
}

.glass-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 0.7rem;
  border: 2px solid #BBDEFB;
}

.glass-card h3 {
  margin-bottom: 0.3rem;
}

.glass-card p {
  font-weight: bold;
  background-color: rgba(187, 222, 251, 0.1);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  color: #BBDEFB;
}

.social-links {
  margin-top: 0.8rem;
}

.social-links a {
  color: #BBDEFB;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: white;
}

.site-footer {
  background-color: #1e1e1e;
  color: #ccc;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #333;
}

@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }

  #sidebar {
    position: fixed;
    top: 70px;
    right: 10px;
    height: max-content;
    background-color: rgba(30, 30, 30, 0);
    z-index: 50;
    overflow-y: auto;
    transform: translateX(0);
    transition: transform 0.3s ease;
  }

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

  main {
    margin-left: 0;
    padding: 1rem;
  }

  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .glass-card {
    width: 90%;
    position: relative;
    z-index: 10;
  }
}

@media (min-width: 768px) {
  #sidebar {
    display: block !important;
    position: fixed;
    top: 60px;
    width: 200px;
    height: calc(100% - 60px);
    background-color: #1e1e1e;
    z-index: 1;
  }

  main {
    margin-left: 200px;
    padding: 1rem;
  }
}

.code_container {
  max-width: 800px;
  margin: auto;
}

pre {
  background: #282a36;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #999;
}

.token.punctuation {
  color: #ccc;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #f92672;
}

.token.selector,
.token.attr-name,
.token.string {
  color: #3fb950;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
  color: #66d9ef;
}

.token.keyword {
  color: #ff6188;
}

.token.function {
  color: #fd971f;
}