/* cv.html: the PDF CV on its own page, reached from the wall switch. */

.cv-page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background: var(--plum);
}

.cv-page__bar {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px;
  border-bottom: var(--pixel) solid var(--shadow);
  color: #fdebd0;
}

/* Links that look like the pixel buttons from base.css. */
.cv-page__button {
  display: inline-block;
  font: 10px/1.4 var(--font-pixel);
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 12px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.cv-page__button:hover {
  background: var(--red);
  color: #fff;
}

.cv-page__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.cv-page__button:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.cv-page__paper {
  flex: 1;
  min-height: 0;
  width: min(1000px, 100%);
  margin: 0 auto;
  background: var(--shadow);
}

.cv-page__paper object {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.cv-page__fallback {
  margin: 0;
  padding: 48px 20px;
  text-align: center;
  color: #fdebd0;
  line-height: 3;
}

@media (max-width: 560px) {
  .cv-page__title {
    display: none;
  }
}
