@charset "utf-8";
/* 프로젝트 내용 시작 */
* 
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body { background-color: #fff;}

.project_section {
    background-color: #fff;
}
.project_section .inner,
.counter_wrap.inner {
    max-width: 1800px;
    width: calc(100% - 120px);
    margin: 0 auto;
}
.inner.list_wrap {
    margin: 0 auto 7.5rem;
}
.title_wrap {
    padding: 12.5rem 0 7.5rem;
}
.title_wrap h3 {
    font-size: 5.625rem;
    padding-bottom: 3.75rem;
    font-family: 'Bricolage Grotesque-Bold';
}
.button_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.button_wrap button {
    border: 1px solid #111;
    padding: 10px 20px;
    border-radius: 40px;
    background-color: transparent;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Bricolage Grotesque-Regular';
}
.button_wrap button.on {
    background-color: #000000;
    border: 1px solid #000000;
    color: #fff;
}

.list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 3.75rem;
}
.list .item {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 48.5%;
    max-height: 590px;
    height: 32vw;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: end;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.list .item::after {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    transition: all 0.2s linear;
}
.list .item .item_title {
    font-size: 6rem;
    font-family: 'Pretendard-Bold';
    letter-spacing: calc(-0.05 * 3rem);
    position: relative;
    z-index: 2;
    bottom: 0;
    transition: all 0.2s linear;
}

.list .item .tag {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    bottom: 0;
    z-index: 3;
    transition: all 0.2s linear;
}
/* .list .item:hover::after,
.list .item:hover .item_title, 
.list .item:hover .tag {
    bottom: 0;
} */
.list .item .tag span {
    font-size: 2.125rem;
    letter-spacing: calc(-0.05 * 1.25rem);
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    position: relative;
    z-index: 2;
    word-break: keep-all;
}

.more {
    display: inline-block;
    margin: 7.5rem auto;
    padding: 20px 40px;
    border-radius: 80px;
    font-size: 4.375rem;
    font-weight: 700;
    font-family: 'Archivo',sans-serif;
    background-color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    transition: 0.3s;
    /* font-family: 'Bricolage Grotesque-Regular'; */
}
.more:hover {
    background-color: #000;
    color: #fff;
}
/* 프로젝트 내용 끝 */



/* 반응형 */
@media screen and (min-width: 1920px) {
    .counter_wrap .counter-container .counter-item strong {
        font-size: 90px;
    }
}
@media screen and (max-width: 1230px) {
    html {
        font-size: 80%;
    }
    .counter_wrap .counter-container .counter-item {
        width: 200px;
    }
    .counter_wrap .counter-container .counter-item span {
        font-size: 18px;
    }
    .list .item .item_title {

      font-size: 3rem;
    }
    /* 프로젝트 */
    .project_section .inner,
    .counter_wrap.inner {
        width: calc(100% - 60px);
    }
    .button_wrap {
        justify-content: center;
    }
    .list .item .tag span {
        font-size: 14px;
    }
    /* .list .item::after,
    .list .item .tag,
    .list .item .item_title {
        bottom: 0;
    }
    .list .itema:hover::after,
    .list .item:hover .tag,
    .list .item:hover .item_title {
        bottom: -110%;
    } */
    .more {
        font-size: 28px;
    }
    .list .item .tag span {
        padding: 7px 12px;
    }
}

@media screen and (max-width: 960px) {
    .counter_wrap {
        align-items: start;
        padding-top: 120px;
    }
    .main_visual .hidden {
        width: 80%;
    }
    /* 프로젝트 */
    .title_wrap h3 {
        font-size: 35px;
    }
    .button_wrap {
        gap: 12px;
        flex-wrap: wrap;
    }
    .button_wrap button {
        font-size: 14px;
        padding: 7px 16px;
    }
    .list .item .item_title {
        font-size: 2.5rem;
    }
    .list .item {
        height: 55vw;
        width: 100%;
    }
    .list .item .tag {
        gap: 5px;
    }
    .list .item .tag span {
        padding: 5px 10px;
    }
    .more {
        padding: 10px 20px;
        font-size: 18px;
    }
}

@media screen and (max-width: 690px) {
    html {
        font-size: 60%;
    }
    .counter_wrap .counter-container .counter-item {
        width: 100px;
    }
    .counter_wrap .counter-container .counter-item span {
        font-size: 16px;
    }
    .counter_wrap .counter-container .counter-item strong {
        font-size: 20px;
    }
    /* 프로젝트 */
    .project_section .inner,
    .counter_wrap.inner {
        width: calc(100% - 30px);
    }
    .list .item {
        padding: 20px;
        gap: 12px;
    }
}

@media screen and (max-width: 500px){
    /* 프로젝트 */
    .title_wrap {
        padding: 60px 20px 40px;
    }
    .title_wrap h3 {
        padding-bottom: 20px;
    }
    .button_wrap button {
        padding: 6px 20px;
    }
    .list {
        row-gap: 15px;
    }
}

.main_visual{
    height: 100vh !important;
     background: linear-gradient(to bottom, #000 0%, rgba(2, 0, 17, 0.7)100%), url(../image/projectbg.jpg) center center / cover no-repeat;
    width: 100%;
  }

    .main_visual_name {
    text-align: center;
    color: #ffffff;
    font-size: 120px;
    font-weight: 700;
    padding-top: 41.5vh;
    padding-bottom: 10px;
    font-family: 'Archivo',sans-serif;
}
#project-canvas-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1; 
    }
    #project-visual-container .main_visual_name {
        position: relative;
        z-index: 3;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    /* 2. 그라데이션 오버레이 (기존 CSS 효과) */
    #project-visual-container .gradient-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        /* 선배님이 주신 그라데이션 코드 적용 (위에서 아래로 어두워짐) */
        background: linear-gradient(to bottom, #000 0%, rgba(2, 0, 17, 0.7) 100%);
        pointer-events: none; /* 마우스 통과 */
    }

@media (max-width: 768px) {
   .main_visual_name {
    font-size: 95px;
    padding-top: 45vh;
   }
}


@media (max-width: 480px) {
   .main_visual_name {
    font-size: 70px;
    padding-top: 50vh;
    padding-left: 5px;
    padding-right: 5px;
   }
}

@media (max-width: 360px) {
   .main_visual_name {
    font-size: 50px;
}
    .button_wrap button{
        padding: 5px 15px;
    }
}



