section {
  padding: 0 2.5rem;
}

.work-title {
  padding: 280px 2.5rem 0;
}

.work-title h1 {
  font-size: 110px;
  letter-spacing: -0.17px;
  color: #fff;
  font-weight: 500;
}

/* Work-container */
.work-container {
  padding-top: 5rem;
}

.work_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px 25px;
}

.work {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.work > a {
  position: relative;
}

.work img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.tags {
  position: absolute;
  bottom: 5%;
  right: 3%;
  display: flex;
  gap: 5px;
}

.tag {
  background-color: #000;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  width: 110px;
  font-weight: 500;
  letter-spacing: -0.16px;
  line-height: 30px;
  white-space: nowrap;
}

.work_info {
  width: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  margin-top: 20px;
}

.work_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 18px;
  letter-spacing: -0.16px;
  line-height: 30px;
}

.work_top .company {
  color: #fff;
  font-weight: 500;
}

.work_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.16px;
  line-height: 30px;
  color: #fff;
  margin-top: 10px;
}

.work_bottom .project {
  font-size: 24px;
  font-weight: 600;
  text-align: left;
}

.work_bottom .copyright {
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  position: unset;
}

.filter {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 35px;
  gap: 30px;
}

.filter .filter-btn {
  font-size: 20px;
  letter-spacing: -0.17px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #fff;
  opacity: 30%;
  margin: 0 3px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  border-bottom: 1px transparent solid;
}

.filter .filter-btn:hover {
  opacity: 100%;
}

.filter .filter-btn.on {
  opacity: 100%;
  text-decoration: dashed;
  border-bottom: 1px #fff solid;
}

/* Work-last-title */
.work-last-title {
  position: relative;
}

.last-title-container {
  padding: 10rem 0;
}

.last-title {
  display: flex;
  gap: 80px;
  width: max-content;
  will-change: transform;
  animation: logoRight 25s linear infinite;
}

.last-title h1 {
  width: 100%;
  color: #fff;
  font-size: 11.4vw;
  letter-spacing: -0.2px;
  font-weight: 500;
}

@keyframes logoRight {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1024px) {
  .work-title {
    padding: 180px 20px 0;
  }

  .work-title h1 {
    font-size: clamp(70px, 12vw, 110px);
  }

  section {
    padding: 0 20px;
  }

  .work_box {
    grid-template-columns: repeat(1, 1fr);
    gap: 45px;
  }

  .last-title-container {
    padding-top: 8rem;
    padding-bottom: 10vh;
  }

  .last-title h1 {
    font-size: clamp(70px, 12vw, 227px);
  }
}

@media (max-width: 768px) {
  .work-title {
    padding: 150px 20px 0;
  }

  .work-container {
    padding-top: 3rem;
  }

  .filter .filter-btn {
    font-size: 15px;
  }

  .work_top {
    font-size: 13px;
    line-height: 1;
  }

  .work_bottom {
    margin-top: 5px;
    line-height: 1;
  }

  .work_bottom .project {
    font-size: 16px;
  }

  .work_bottom .copyright {
    font-size: 13px;
  }

  .tag {
    font-size: 10px;
    width: 75px;
  }

  .last-title {
    animation: none;
    display: block;
    width: 100%;
  }

  .last-title h1:last-child {
    display: none;
  }

  .last-title h1 {
    font-size: 15vw;
    line-height: 1;
  }
}
