header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;


}

.site-logo {
  font-size: 18px;
  color: #ffffff;
  text-decoration: none !important;


}
.site-logo a {
  text-decoration: none;
}
.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;
    }
}  
/* works-header */
.works-header {
    margin-top: 8em;
  }
  
  .works-header .container {
    display: flex;
    flex-direction: column;
  }
  
  .works-header-row {
    display: flex;
    justify-content: space-between;
  }
  
  .works-header-row:nth-child(2) {
    padding-left: 20%;
  }
  
  .works-header-copy {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4em 0;
  }
  
  .works-header-copy p {
    width: 240px;
  }
  
  /* works */
  .works .container {
    display: flex;
    flex-direction: column;
    gap: 4em;
    padding-bottom: 8em;
  }
  
  .work-item {
    width: 100%;
  }
  
  .work-item-index p {
    font-size: var(--font-tiny);
  }
  
  .work-item-name {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 0;
    gap: 2em;
  }
  
  .work-item-name p:nth-child(1) {
    font-size: var(--font-regular);
  }
  
  .work-item-name p:nth-child(2) {
    font-size: var(--font-small);
    text-transform: none;
  }
  
  .work-item-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4em;
    margin: 0.75em 0;
    padding: 0.75em 0;
    border-top: 1.5px dashed var(--color-accent);
    border-bottom: 1.5px dashed var(--color-accent);
  }
  
  .work-item-desc p {
    font-size: var(--font-tiny);
  }
  
  .work-item-link {
    position: relative;
    transform: rotate(-45deg);
  }
  
  .work-item-link a {
    font-size: var(--font-regular);
  }
  
  .works-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  
  #works-row-1 {
    display: flex;
    gap: 20em;
  }
   
  #works-row-1 .works-col:nth-child(1) {
    flex: 4;
    width: 100%;
    display: flex;
    gap: 4em;
  }
  
  #works-row-1 .works-col:nth-child(2) {
    flex: 3;
  }
  
  #work-item-1 {
    flex: 2;
  }
  
  #work-item-2 {
    flex: 3;
  }
  
  #works-row-2 {
    display: flex;
    gap: 24em;
  }
  
  #works-row-2 .works-col:nth-child(1) {
    flex: 2.5;
  }
  
  #works-row-2 .works-col:nth-child(2) {
    flex: 7;
    width: 100%;
    display: flex;
    gap: 4em;
  }
  
  #work-item-5 {
    flex: 4;
  }
  
  #work-item-6 {
    flex: 2;
  }
  
  #works-row-3 {
    display: flex;
    justify-content: space-between;
    gap: 20em;
  }
  
  #work-item-7 {
    flex: 1;
  }
  
  #work-item-8 {
    flex: 3;
  }
  
  #work-item-9 {
    flex: 2;
  }
  
  @media (max-width: 900px) {
    .works-row {
      flex-direction: column;
      gap: 2em; /* Adjust as needed */
    }
  
    #works-row-1,
    #works-row-2,
    #works-row-3 {
      gap: 2em; /* Reduce gaps */
    }
  
    .works-col {
      flex: 1 1 100%; /* Make columns full-width on smaller screens */
    }
  
    .work-item {
      flex: 1 1 auto; /* Allow items to adjust their width */
    }
  
    /* Adjust specific work item flex if needed */
    #work-item-1,
    #work-item-2,
    #work-item-3,
    #work-item-4,
    #work-item-5,
    #work-item-6,
    #work-item-7,
    #work-item-8,
    #work-item-9 {
      flex: 1 1 100%; /* Adjust to fit on smaller screens */
    }
  }
  