@charset "UTF-8";
.board-section a {
  color: black;
}

.project-items-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  -moz-column-gap: 55px;
       column-gap: 55px;
  row-gap: 60px;
}

.project-item:hover img {
  transform: scale(1.08);
  transition: transform 0.5s ease-in-out;
}

.project-item:hover h3 {
  color: #5364FF;
}

.project-item {
  display: inline-block;
  cursor: pointer;
  width: 100%;
}
.project-item .img-container {
  overflow: hidden;
}
.project-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.project-item h3 {
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -0.7px;
  color: #121212;
  margin-top: 20px;
}
.project-item p {
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.7px;
  color: #757575;
  margin-bottom: 0;
}

/* 프로젝트 상세 */
.project-detail {
  margin-top: 172px;
  width: 100%;
}

.content-box {
  display: flex;
  justify-content: space-between;
  align-items: end;
  height: 100%;
}
.content-box p {
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: -0.7px;
}
.content-box .title-content p {
  color: #757575;
}
.content-box h1 {
  font-weight: 800;
  font-size: 4.2rem;
  letter-spacing: -0.7px;
  margin-bottom: 20px;
}
.content-box .title-content {
  border-bottom: 1px solid #E8E8E8;
}
.content-box .title-content p {
  margin-bottom: 10px;
}
.content-box .content {
  margin-right: 40px;
  display: flex;
  flex: 0.9;
  flex-direction: column;
  justify-content: space-between;
}
.content-box .download-btns {
  margin-bottom: 40px;
}
.content-box .bottom-img {
  width: 100%;
  max-height: 270px;
}
.content-box .description {
  margin: 60px 0;
}

.side-img-box {
  display: inline-flex;
  flex: 1;
  justify-content: end;
  align-items: end;
}
.side-img-box :first-child {
  margin-right: 50px;
}
.side-img-box :last-child {
  top: -70px;
}

.side-img-frame {
  position: relative;
  height: 504px;
  width: 233px;
  background-size: contain;
  background-repeat: no-repeat;
}

.phone-frame {
  background-image: url("/img/project/iphone.svg");
}
.phone-frame img.side-img {
  position: absolute;
  top: 9px;
  left: 5%;
  border-radius: 30px;
  width: 210px;
  height: 450px;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

.watch-frame {
  height: 460px;
  background-image: url("/img/project/smart_watch.png");
  background-position: center;
}
.watch-frame img.side-img {
  position: absolute;
  width: 220px;
  top: 117px;
  left: 7px;
}

.icon-btn {
  display: flex;
  display: inline-block;
  justify-content: center;
  align-items: center;
  border: 1px solid #121212;
  border-radius: 999px;
  padding: 10px 16px;
  margin-right: 20px;
  cursor: pointer;
}
.icon-btn img {
  width: 24px;
  height: 24px;
  margin-right: 4px;
  vertical-align: middle;
}
.icon-btn span {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2rem;
  letter-spacing: -0.5px;
}

.detail-button-box {
  margin-top: 120px;
  display: flex;
  justify-content: space-between;
}
.detail-button-box .icon-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 26px;
  border: 1px solid #B7B7B7;
  border-radius: 8px;
  text-align: center;
}
.detail-button-box span {
  font-weight: 400;
  font-size: 1.6rem;
}
.detail-button-box .prev-next-button img {
  margin-right: 4px;
}
.detail-button-box .prev-next-button .inactive {
  pointer-events: none;
  opacity: 0.6;
}
.detail-button-box a.next-button {
  flex-direction: row-reverse;
  vertical-align: top;
}
.detail-button-box a.next-button img {
  margin-left: 4px;
  margin-right: 0;
}

.list-button .icon-btn {
  margin-right: 0px;
}

@media (max-width: 600px) {
  .phone-frame {
    width: 139px;
    height: 301px;
  }
  .phone-frame img.side-img {
    width: 125px;
    height: 267px;
    border-radius: 20px;
    top: 7px;
  }
  .watch-frame {
    width: 150px;
    height: 300px;
  }
  .watch-frame img.side-img {
    width: 140px;
    left: 4px;
    top: 80px;
  }
}
@media (max-width: 768px) {
  .detail-button-box .icon-btn {
    padding: 10px 12px;
  }
}
@media (max-width: 992px) {
  .project-items-box {
    row-gap: 40px;
  }
  .content-box {
    flex-direction: column;
    align-items: center;
  }
  .content-box .content {
    margin-right: 0;
    margin-bottom: 40px;
  }
  .side-img-box {
    justify-content: center;
  }
  .side-img-box :first-child {
    top: 50px;
    margin-right: 30px;
  }
  .side-img-box :last-child {
    top: 0;
  }
  .project-detail {
    margin-top: 90px;
  }
  .download-btns {
    margin-bottom: 30px;
  }
  .download-btns .icon-btn {
    padding: 10px 16px;
  }
  .download-btns .icon-btn span {
    font-size: 14px;
    vertical-align: middle;
  }
  .download-btns img {
    width: 18px;
  }
  .download-btns a {
    color: black;
  }
  .detail-button-box .icon-btn {
    margin-right: 10px;
  }
  .detail-button-box .icon-btn img {
    width: 18px;
    height: 18px;
  }
  .detail-button-box span {
    font-size: 14px;
  }
}
@media (min-width: 600px) and (max-width: 1220px) {
  .phone-frame {
    width: 200px;
    height: 420px;
  }
  .phone-frame img.side-img {
    width: 180px;
    height: 385px;
  }
}
@media (max-width: 1220px) {
  .project-item h3 {
    font-size: 18px;
  }
  .project-item p {
    font-size: 14px;
  }
  .content-box .title-content p {
    font-size: 16px;
  }
  .content-box .description {
    margin: 40px 0;
    font-size: 18px;
  }
}
