@media print {
  #about, #skills {
    background-color: #f3f0ec; /* Change to any color */
    -webkit-print-color-adjust: exact; /* Ensures colors print in some browsers */
    print-color-adjust: exact; /* Standard property */
    border-radius:25px;
  }

  @page {
    margin: 0.5in; /* Ensures all pages have 0.5-inch margins */
  }

  body {
    margin: 0;
    padding: 0;
    overflow: visible;
    line-height: 1rem;
    zoom: 0.8;
  }

  #hero,
  #jpstyle,
  #stats,
  #skills-animation,
  #portfolio,
  #services,
  #testimonials,
  #contact {
    display: none;
  }

  .header-toggle {
    display: none !important;
  }

  /* Remove unwanted extra space at the top */
  h1, h2, h3, h4, p, div {
    margin-top: 0;
    padding-top: 0;
  }

  /* Left sidebar */
  #about,#skills {
    margin-top: 0 !important;
    padding-top: 0 !important;
    top:0;
    width: 32%;
  }

  #about img {
    width:90%;
    text-align:center;
  }

  .skill {
    line-height:0.5rem;
  }

  /* Main content area */
  #resume {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: absolute;
    top: 0;
    left: 35%;
    width: 63%;
  }
  #footer {
    margin-top:2rem;
  }
}