* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Bitcount', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #ffffff;
  background: transparent;
}

.programming {
  height: 100vh;
  display: flex;
  flex-direction: row;             /* explorer + info nebeneinander, nicht untereinander */
  gap: 28px;
  padding: 28px 40px 28px 500px;   /* room for the white button on the left */
}

/* explorer on the LEFT, fills the space */
.explorer {
  order: -1;
  flex: 1;
  min-height: 0;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

/* info column on the right */
.info {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.headline {
  font-size: 2.8rem;
  margin-bottom: 14px;
}
.meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.meta-label {
  font-size: 1.1rem;
  opacity: 0.7;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}
.chip-icon {
  width: 28px;
  height: 28px;
}
.programming-exp {
  font-size: 1.1rem;
  background-color: #ffffff25;
  border: 1px solid #cfd3dc;
  border-radius: 100px;
  padding: 8px 16px;
  text-align: center;
  margin-top: 8px;
}

/* file list + code viewer (identical to projects) */
.file-list {
  overflow: auto;
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}
.file-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #cfd3dc;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-family: ui-monospace, 'Consolas', monospace;
  white-space: nowrap;
}
.file-item:hover { background: rgba(255, 255, 255, 0.08); }
.file-item.active { background: rgba(74, 74, 74, 0.25); color: #ffffff; }

.code-pane {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.code-header {
  padding: 10px 16px;
  font-family: ui-monospace, 'Consolas', monospace;
  font-size: 0.85rem;
  opacity: 0.75;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.code-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin: 0;
}
.code-scroll code {
  display: block;
  padding: 16px;
  font-family: ui-monospace, 'Consolas', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  background: transparent;
}

/* ===== nicer scrollbars ===== */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }