body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}
.work-hero {
    padding: 2em;
  }
  
  .work-hero .container {
    border-bottom: 2px dashed var(--color-accent);
  }
  
  #work-item-1 img,
  #work-item-6 img,
  #work-item-8 img {
    filter: invert(1);
  }
  
  @media (max-width: 900px) {
    .work-hero {
      padding: 8em 2em;
    }
  }
  
  .project-info .container {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 8em;
    padding: 3.5em 2em;
  }
  
  .project-info-row {
    display: flex;
    justify-content: space-between;
  }
  
  .project-info-row:nth-child(2) p {
    width: 400px;
    text-align: justify;
  }
  
  .project-info-row p {
    font-size: var(--font-small);
  }
  
  .about-more.project .container {
    padding-left: 12em;
  }
  
  .about-more.project .container .about-more-col:nth-child(2) {
    flex: 4;
  }
  
  .project-imgs-1 .container {
    display: flex;
    flex-direction: column;
    gap: 2em;
  }
  
  .project-img {
    height: 800px;
  }
  
  .project-imgs-2 .container {
    display: flex;
    gap: 2em;
  }
  
  .project-imgs-2 .container .project-img {
    height: 600px;
  }
  
  .project-imgs-2 .container .project-img:nth-child(1) {
    flex: 3;
  }
  
  .project-imgs-2 .container .project-img:nth-child(2) {
    flex: 2;
  }
  
  .mob-imgs-1 {
    width: 50%;
    display: flex;
    gap: 2em;
  }
  
  .mob-imgs-2 {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  
  .mob-imgs-2-wrapper {
    width: 50%;
    display: flex;
    gap: 2em;
  }
  
  .mob-imgs-3 {
    display: flex;
  }
  
  .mob-imgs-3-wrapper {
    width: 50%;
    display: flex;
    gap: 2em;
  }
  
  .mob-imgs-3-wrapper .mob-img {
    flex: 1;
  }
  
  .next-project-header {
    margin-top: 8em;
  }
  
  .next-project-header .container h1:nth-child(2) {
    text-align: right;
  }
  
  .about-hero-img.project-outro {
    top: 0em !important;
    margin-top: 0;
  }
  
  .about-hero-img.project-outro .about-hero-copy p {
    font-size: 60px;
    position: relative;
  }
  
  .about-hero-img.project-outro .about-hero-img-wrapper .work-item-img {
    height: 500px;
  }
  
  @media (max-width: 900px) {
    .project-info .container {
      width: 100%;
      padding: 3.5em 2em;
    }
  
    .project-info-row {
      flex-direction: column;
      gap: 2em;
    }
  
    .about-more.project .container {
      padding: 2em;
    }
  
    .project-imgs-2 .container {
      flex-direction: column;
    }
  
    .mob-imgs-1,
    .mob-imgs-2-wrapper,
    .mob-imgs-3-wrapper {
      width: 100%;
    }
  
    .no-img {
      display: none;
    }
  
    .mob-imgs-3 {
      gap: 2em;
    }
  }
  
    /* marquee */
  .marquee {
      position: relative;
      width: 100vw;
      max-width: 100%;
      height: 240px;
      display: flex;
      align-items: center;
      font-size: 140px;
      text-transform: uppercase;
      overflow-x: hidden;
      color: var(--color-accent);
    }
    
    .track {
      position: absolute;
      white-space: nowrap;
      will-change: transform;
      animation: marquee 32s linear infinite;
    }
    
    @keyframes marquee {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-50%);
      }
    }
    .about-hero-img {
      position: relative;
      top: -24em;
    }
    
    .about-hero-img .container {
      display: flex;
      gap: 4em;
    }
    
    .about-hero-copy {
      flex: 1;
    }
    
    .about-hero-img-wrapper {
      flex: 2;
      max-height: 800px;
    }
    
    .about-info-header-row {
      width: 100%;
      display: flex;
    }
    
    .about-info-header-row:nth-child(1) {
      padding-left: 12em;
    }
    
    .about-info-header-row:nth-child(2) {
      justify-content: space-around;
    }
    
    .about-info-header-row:nth-child(3) {
      justify-content: center;
    }
    
    .about-info-copy .container {
      display: flex;
      margin: 2em 0 8em 0;
    }
   
 
    body, html {
      margin: 0;
      padding: 0;
      overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  
  .qr-container {
      background-color: rgb(255, 252, 252);
      border-radius: 5px;
      padding: 30px 15px 30px 30px;
      text-align: center;
      display: flex;
      flex-wrap: wrap; /* Allows wrapping on smaller screens */
      justify-content: center;
      box-sizing: border-box; /* Include padding in width calculations */
  }
  
  .setting {
      padding-right: 15px;
      width: 100%; /* Full width on small screens */
      box-sizing: border-box;
      margin-bottom: 20px; /* Add some space below on small screens */
  }
  
  .input-wrap {
      align-items: flex-start;
      display: flex;
      text-align: left;
      padding-bottom: 10px;
      flex-wrap: wrap; /* Allows the label and input to wrap */
      width: 100%; /* Ensure it doesn’t cause overflow */
  }
  
  .input-1x, .input-2x {
      width: 100%; /* Full width on small screens */
      box-sizing: border-box; /* Include padding and border in width */
  }
  
  label {
      width: 100%; /* Full width on small screens */
      margin-bottom: 5px; /* Add space between label and input */
      box-sizing: border-box; /* Include padding in width */
  }
  
  .display {
      width: 100%;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center; /* Center the canvas on smaller screens */
      box-sizing: border-box;
  }
  
  #canvas {
      max-width: 100%; /* Ensure the canvas scales down */
      height: auto;
      margin-bottom: 20px; /* Add space between canvas and download button */
  }
  
  textarea, select, input, button {
      border: none;
      resize: none;
      font-size: 1rem;
      width: 100%; /* Full width on small screens */
      box-sizing: border-box;
  }
  
  button {
      cursor: pointer;
      border-radius: 5px;
      color: white;
      background-color: rgb(0, 101, 233);
      width: 100%; /* Full width on small screens */
      box-sizing: border-box;
  }
  
  @media (min-width: 768px) {
      .qr-container {
          flex-direction: row; /* Row layout for larger screens */
      }
  
      .setting {
          width: 380px; /* Original width for larger screens */
          padding-right: 15px;
      }
  
      .input-wrap {
          flex-direction: row; /* Row layout for inputs on larger screens */
          width: 100%; /* Ensure it doesn’t cause overflow */
      }
  
      .input-1x, .input-2x {
          width: auto; /* Reset to original width on larger screens */
      }
  
      label {
          width: 30%; /* Original width for labels on larger screens */
      }
  
      .display {
          width: 100%; /* Ensure the canvas and display section have full width */
      }
  
      button {
          width: auto; /* Reset to original width on larger screens */
      }
  
      #canvas {
          max-width: 100%; /* Ensure the canvas scales */
          height: auto;
      }
  }