#masthead, .site-footer, .entry-header, .site-header, .footer, .header {
  display: none !important;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: #000;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#particles-container, #page, #content, .site, .site-content,
.entry-content, article, main, section {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

#particles-container {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0 !important;
  pointer-events: none;
}

.page-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.visitenkarte {
  max-width: 90vw;
  width: 360px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.impressum-footer {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  z-index: 1000 !important;
}

.impressum-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.impressum-link:hover {
  opacity: 1;
}

.impressum-wrapper {
  max-width: 800px;
  margin: 80px auto;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-family: sans-serif;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  z-index: 1;
  position: relative;
}

.main-nav {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10000;
  font-family: sans-serif;
}

.menu {
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 12px;
  list-style: none;
  justify-content: center;
  margin: 0;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
  padding: 6px 12px;
  border-radius: 6px;
}

.menu li a:hover {
  text-decoration: underline;
}

.menu li a.active {
  background: rgba(255, 255, 255, 0.2);
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10001;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    padding: 20px;
    border-radius: 12px;
    z-index: 10000;
  }
  .menu.show {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .portfolio-column-left {
    display: none;
  }
  .portfolio-column-right {
    width: 100%;
    height: auto;
    overflow-y: visible;
  }
  .portfolio-columns-layout {
    gap: 0;
  }
  .portfolio-main-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.timeline-container {
  position: relative;
  padding: 4rem 1rem;
  margin: 0 auto;
  max-width: 800px;
  z-index: 1;
}

.content-scroll-area {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 100px auto 80px;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
}

.timeline-container {
  position: relative;
  padding-left: 40px;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  border: 2px solid white;
}

.timeline-content {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  color: white;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

.timeline-content h3 {
  margin-top: 0;
}

.portfolio-main-wrapper {
  position: relative;
  z-index: 5;
  padding-top: 70px;
  padding-bottom: 50px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  color: white;
}

.portfolio-columns-layout {
  display: flex;
  flex-direction: row;
  gap: 20px;
  min-height: calc(100vh - 120px);
}

.portfolio-column-left {
  width: 320px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 15px;
  box-sizing: border-box;
}

.portfolio-column-right {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 15px;
  box-sizing: border-box;
  height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) rgba(0,0,0,0.1);
}

.portfolio-column-right::-webkit-scrollbar {
  width: 8px;
}

.portfolio-column-right::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.portfolio-column-right::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.portfolio-column-right::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.project-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.project-item h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #cccccc;
  font-size: 0.9em;
  text-transform: uppercase;
}

.project-item p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.project-item ul {
  margin-top: 0.5rem;
  padding-left: 20px;
  list-style: disc;
}

.project-item li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.portfolio-sidebar-nav h4 {
  color: #cccccc;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.portfolio-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-sidebar-nav li {
  margin-bottom: 5px;
}

.portfolio-sidebar-nav a {
  display: block;
  padding: 8px 10px;
  color: #a0a0a0;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, padding-left 0.3s;
  font-size: 0.9em;
}

.portfolio-sidebar-nav a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding-left: 15px;
}

.portfolio-sidebar-nav a.active-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: bold;
}

.menu.show .injected-portfolio-link {
}

.menu.show .injected-portfolio-link hr.portfolio-nav-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 10px 0;
}

.menu.show .injected-portfolio-link a.portfolio-nav-link {
  font-size: 0.95em;
  color: #cccccc;
  padding-left: 25px;
}

.menu.show .injected-portfolio-link a.portfolio-nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.menu.show > li + li.injected-portfolio-link a.portfolio-nav-link {
  font-size: 0.95em;
  color: #cccccc;
  padding-left: 25px;
}

.menu.show .injected-portfolio-link a.portfolio-nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.tech-stack {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-stack h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #cccccc;
  font-size: 0.9em;
  text-transform: uppercase;
}

.tech-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  white-space: nowrap;
}