.projects__container {
  position: relative;
  display: flex;
  gap: 40px;
}

.visualizer__container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.visualizer {
  position: sticky;
  bottom: 100px;
  width: 372px;
  height: 268px;
  background-color: var(--stb-white);
  border-radius: 20px;
  overflow: hidden;
}

.visualizer .project-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity ease 200ms;
}

.visualizer .project-image.show {
  opacity: 1 !important;
}

.projects__list {
  display: flex;
  flex-direction: column;
  flex: 1;
  border: 1px solid var(--stb-border-gray);
}

.project-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px var(--stb-space);
  background: var(--stb-white);
  width: 100%;
  height: 100px;
  border-bottom: 1px solid var(--stb-border-gray);

  position: relative;
  padding: 12px var(--stb-space);
  width: 100%;
  height: 120px;
  border-bottom: 1px solid var(--stb-border-gray);
  overflow: hidden;
}

.project-item .category {
  color: var(--stb-gray);
}



.project-item:last-child {
  border-bottom: unset;
}

.project-item .background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 300ms ease;
}

.project-item:hover .background {
  opacity: 1;
}

.project-item>*:not(.background) {
  position: relative;
  z-index: 1;
}

.project__content {
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  .projects__container {
    flex-direction: column;
  }

  .visualizer__container {
    position: sticky;
    top: 120px;
  }

  .visualizer {
    position: relative;
    bottom: unset;
    width: 100%;
    border-radius: 0;
  }
}