/* Remove wip.css + wip.js from HTML (or set CV_WIP = false in wip.js) when the site is ready. */

html.cv-wip-active body {
  padding-top: 2.35rem;
}

.cv-wip-stripes {
  background-color: #ffd400;
  background-image: repeating-linear-gradient(
    -45deg,
    #ffd400 0,
    #ffd400 14px,
    #111 14px,
    #111 28px
  );
}

.cv-wip-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  border-bottom: 3px solid #111;
  pointer-events: none;
}

.cv-wip-bar.cv-wip-stripes {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.cv-wip-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.95rem;
  border: 2px solid #111;
  background: #111;
  color: #ffd400;
  font: 700 0.72rem/1.2 var(--font-sans, "Source Sans 3", sans-serif);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px #ffd400;
}

.cv-wip-bar__label::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ffd400;
  flex-shrink: 0;
  animation: cv-wip-pulse 1.4s ease-in-out infinite;
}

@keyframes cv-wip-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.cv-wip-edge {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 9999;
  transform: translate(42%, -50%) rotate(-90deg);
  transform-origin: center center;
  padding: 0.38rem 1.1rem;
  border: 2px solid #111;
  font: 800 0.68rem/1 var(--font-sans, "Source Sans 3", sans-serif);
  letter-spacing: 0.18em;
  color: #111;
  text-shadow:
    0 1px 0 #ffd400,
    0 -1px 0 #ffd400,
    1px 0 0 #ffd400,
    -1px 0 0 #ffd400;
  pointer-events: none;
}

@media (max-width: 720px) {
  .cv-wip-edge {
    display: none;
  }
}

@media print {
  html.cv-wip-active body {
    padding-top: 0;
  }

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