/* Plain CV view: <html class="cv"> hides the room and shows every section
   as one scrolling page. Toggled in js/app.js; also used for printing. */

.cv-bar {
  display: none;
  position: fixed;
  z-index: 9;
  top: 12px;
  right: 16px;
  gap: 10px;
}

html.cv,
html.cv body {
  height: auto;
  overflow: auto;
}

html.cv body {
  background: #e9dfd0;
}

html.cv .cv-bar {
  display: flex;
}

/* everything that belongs to the room or the monitor chrome */
html.cv .scene::after,
html.cv .window,
html.cv .desk,
html.cv .coffee,
html.cv .wall-item,
html.cv .pc-neck,
html.cv .pc-base,
html.cv .plug,
html.cv .power-off,
html.cv .machine::before,
html.cv .top,
html.cv .controls,
html.cv .footer,
html.cv .boot,
html.cv .cta,
html.cv #projects {
  display: none;
}

html.cv .scene {
  height: auto;
  min-height: 100dvh;
  padding: 64px 16px 40px;
  overflow: visible;
  background: #e9dfd0;
}

html.cv .computer {
  width: min(920px, 100%);
  height: auto;
}

html.cv .machine {
  background: none;
  border: 0;
  outline: 0;
  box-shadow: 0 6px 30px rgba(43, 26, 51, 0.2);
}

html.cv .screen-shell {
  padding: 0;
  background: none;
}

html.cv .screen {
  height: auto;
  border: 0;
  outline: 0;
  background: #fffdf8;
}

html.cv .console {
  overflow: visible;
  padding: 30px 34px;
}

html.cv .module {
  display: block;
  margin-bottom: 30px;
}

html.cv .module:last-child {
  margin-bottom: 0;
}

html.cv .module h2 {
  margin-bottom: 14px;
  padding-bottom: 9px;
  font-size: 12px;
  color: var(--red);
  border-bottom: 3px solid var(--ink);
}

html.cv #home .readout {
  font-size: 16px;
}

html.cv .group {
  border-top: 0;
  padding-top: 0;
}

/* ---------- print ---------- */

@media print {
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .cv-bar {
    display: none !important;
  }

  html.cv .scene {
    min-height: 0;
    padding: 0;
    background: #fff;
  }

  html.cv .machine {
    box-shadow: none;
  }

  html.cv .computer {
    width: 100%;
  }

  html.cv .entry,
  html.cv .project {
    break-inside: avoid;
  }
}
