@media print {
  .name-and-profession .name {
    margin-top: -2rem;
  }
  .page {
    margin-top: -4rem;
  }
  .social-links {
    margin-top: 0.5rem;
  }
  body {
    font-size: 10pt;
  }
  a[href]:after {
    content: none !important;
  }
  .pagebreak {
    page-break-before: always;
  }
  .card {
    border: 0;
    padding: 0;
  }
  .text-muted {
    color: #777 !important;
    * {
      color: inherit !important;
    }
  }
  .container {
    max-width: 100%;
    width: 100%;
  }
  .contact-details .detail .icon {
    color: #888 !important;
  }
  .labels {
    display: inline;
  }
  .skill-info {
    margin-left: 0;
  }
  .profile-card {
    text-align: center;
  }
  .print-only {
    display: inherit;
  }
  .no-print {
    display: none;
  }
  .project-table {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.8rem 1rem;
  }
  .highlight {
    margin-top: -0.3rem;
  }
  blockquote {
    font-size: 100%;
  }
  .card-nested {
    padding: 0.1rem 0 0.1rem 1rem;

    &.relax {
      padding-top: 1rem;
      padding-bottom: 1rem;
    }
  }
  .skill-table {
    grid-gap: 0.8rem 0.5rem;
  }
  .background-card h4:not(:first-child) {
    margin-top: 1em;
  }
  #work-projects-group {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 2fr 4fr;
    page-break-after: always;
  }
}
