@charset "utf-8";
/* 프로젝트 내용 시작 */

body { background-color: #fff;}
.main_visual {
    /* background: url('/image/project_bg1.png') 100% 100% / cover no-repeat; */
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden;
}

.main_visual video.video-background {
    position: absolute; /* 전체 화면 대신 상단 영역으로 제한 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 비디오 높이를 상단 영역(100% 화면 높이)로 제한 */
    object-fit: cover; /* 비디오가 상단 영역에 적절히 맞도록 조정 */
    z-index: -1; /* 콘텐츠 뒤로 배치 */
    filter: brightness(0.5); /* 밝기를 50%로 조정 */
    pointer-events: none; /* 영상 조작을 못하게 설정 */
}
.main_visual .hidden {
    overflow: hidden;
    position: absolute;
    width: 60%;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
}
.main_visual .hidden .moving-image {
    width: 100%;
    transition: transform 0.3s ease, top 0.3s ease, color 0.3s ease;
    animation: reveal 3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes reveal {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}
.counter_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    color: #fff;
    position: relative;
    padding-bottom: 60px;
    z-index: 1;
}
.counter_wrap .counter-container {
    display: flex;
    justify-content: end;
    margin-left: auto;
}
.counter_wrap .counter-container .counter-item {
    width: 286px;
    display: flex;
    flex-direction: column;
    text-align: end;
}
.counter_wrap .counter-container .counter-item span {
    font-size: 32px;
    margin-bottom: 20px;
}
.counter_wrap .counter-container .counter-item strong {
    position: relative;
    font-size: 5.625rem;
    padding-right: 3.125rem;
}

.counter_wrap .counter-container .counter-item strong::after {
    content: '+';
    position: absolute;
    top: -20px;
    right: 0;
}

.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: #1500ff;
    border: 1px solid #1500ff;
    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: 3rem;
    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: 1.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;
    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;
    }
    /* 프로젝트 */
    .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: 4px 12px;
    }
    .list {
        row-gap: 15px;
    }
}