@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../font/Pretendard-Light.woff') format('woff'),
        url('../font/Pretendard-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../font/Pretendard-Regular.woff') format('woff'),
        url('../font/Pretendard-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../font/Pretendard-Medium.woff') format('woff'),
        url('../font/Pretendard-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../font/Pretendard-SemiBold.woff') format('woff'),
        url('../font/Pretendard-SemiBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../font/Pretendard-Bold.woff') format('woff'),
        url('../font/Pretendard-Bold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../font/Pretendard-ExtraBold.woff') format('woff'),
        url('../font/Pretendard-ExtraBold.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../font/Pretendard-Black.woff') format('woff'),
        url('../font/Pretendard-Black.woff2') format('woff2');
    font-display: swap;
}


:root {
    --bk800: #1c1c1c;
    --bk700: #222;
    /* font-size */
    --m1-big-word: 100px;

    --wh-f600: rgba(255, 255, 255, 0.6);
    --main-color: #2E78FF;
}


* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: #010101;
    letter-spacing: -0.32px;
    line-height: 150%;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
}
body,html{
   overflow-x: hidden;
   width: 100%;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0 auto;
    position: relative;
}

#page {
    transition: filter .3s ease-in-out;
}

#page.blur {
    width: 100%;
    height: 100%;
    filter: blur(20px);
}



/* 스크롤바의 폭 너비 */
/* body::-webkit-scrollbar {
    width: 10px; 
}

body.hide-scrollbar::-webkit-scrollbar{
    width: none;
}



body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: opacity 0.3s ease;
    opacity: 0;
}
body.hide-scrollbar::-webkit-scrollbar-thumb {
    opacity: 0 !important;
}
body::-webkit-scrollbar-track {
    background: rgb(219, 219, 219, 0.5); 
    opacity: 0.5;
} */

ul,
li {
    list-style: none;
}

a {
    color: inherit;
}

table {
    border-collapse: collapse;
}

button {
    background: initial;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}



/* header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1050;
    height: 80px;
    transition: all .6s ease;
}

#header.hide {
    transform: translateY(-100%);
}

.header-bar {
    width: 100%;
    height: 100%;
    padding: 0 24px;
    margin: 0 auto;
}

.hd-inr {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
}

.menu-icon>span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    transition: transform .4s;
}

.menu-icon>span:nth-child(1) {
    width: 16px;
}

.menu-icon>span:nth-child(2) {
    width: 26px;
}

.menu-icon.on>span:nth-child(1) {
    transform: rotate(-45deg) translateY(2px);
    width: 26px;
    margin: 0;
}

.menu-icon.on>span:nth-child(2) {
    transform: rotate(45deg) translateY(-2px);
    margin: 0;
}

.btn-relative{
    position: relative;
}

.kick-btn {
    --active:1;
    --start:0;
    --border-width:2px;
    --border:#393a3c;
    --spread:60;
    --blur:40;
    --border-radius:999px;
    border-radius: var(--border-radius);
    z-index: 999;
    display: flex;
}
.kick-btn::before,
.kick-btn::after{
    content: "";
    pointer-events:none;
    border-radius: var(--border-radius);
    transition: opacity 1s;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.kick-btn::before{
    content: "";
    border: var(--border-width) solid transparent;
    background: var(--border);
    --wekit-mask:linear-gradient(transparent,transparent),conic-gradient(from calc(((var(--start) + (var(--spread)*.25)) - (var(--spread)*1.5))*1deg),
    rgba(255,255,255,.15) 0deg,#fff,rgba(255,255,255,.15) calc(var(--spread)*2.5deg));
    mask: linear-gradient(transparent,transparent),conic-gradient(from calc(((var(--start) + (var(--spread)*.25)) - (var(--spread)*1.5))*1deg),
    rgba(255,255,255,.15) 0deg,#fff,rgba(255,255,255,.15) calc(var(--spread)*2.5deg));
    opacity: var(--active, 0);
    background-attachment: fixed;
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
}
.kick-btn::after{
    content: "";
    --bg-size:100%;
    border: var(--border-width) solid transparent;
    --wekit-mask:linear-gradient(transparent,transparent),conic-gradient(from calc(((var(--start) + (var(--spread)*.25)) - (var(--spread)*.5))*1deg),
    transparent 0deg,#fff,transparent calc(var(--spread)*.5deg));
    mask: linear-gradient(transparent,transparent),conic-gradient(from calc(((var(--start) + (var(--spread)*.25)) - (var(--spread)*.5))*1deg),
    transparent 0deg,#fff,transparent calc(var(--spread)*.5deg));
    opacity: var(--active,0);
    background: conic-gradient(from 180deg at 50% 70%,#fafafa 0deg,#fafafa 1turn) fixed;
    mask-clip: padding-box, border-box;
    mask-composite: intersect;
}
.kick-btn.off::after,
.kick-btn.off::before{
    opacity: 0;
}
.kick-btn>a{
    padding: 12px 24px;
}

.kick-btn>span {
    font-weight: 600;
}

.back-btn {
    position: relative;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #000;
    cursor: pointer;
}

.back-btn>span {
    background-color: #000;
    height: 2px;
    left: 30%;
    position: absolute;
    top: calc(50% - 1px);
    -webkit-transform-origin: center;
    transform-origin: center;
    transition: margin .1s ease .18s, -webkit-transform .2s cubic-bezier(.55, .055, .675, .19);
    transition: transform .2s cubic-bezier(.55, .055, .675, .19), margin .1s ease .18s;
    transition: transform .2s cubic-bezier(.55, .055, .675, .19), margin .1s ease .18s, -webkit-transform .2s cubic-bezier(.55, .055, .675, .19);
    width: 40%;
}

.back-btn>span:nth-child(1) {
    margin-top: -14%;
}

.back-btn>span:nth-child(2) {
    margin-top: 14%;
}

.back-btn:hover>span {
    margin-top: 0;
    transition: margin .3s ease 0s, -webkit-transform .75s cubic-bezier(.19, 1, .22, 1) .29s;
    transition: margin .3s ease 0s, transform .75s cubic-bezier(.19, 1, .22, 1) .29s;
    transition: margin .3s ease 0s, transform .75s cubic-bezier(.19, 1, .22, 1) .29s, -webkit-transform .75s cubic-bezier(.19, 1, .22, 1) .29s;
}

.back-btn:hover>span:nth-child(1) {
    transform: rotate(45deg);
}

.back-btn:hover>span:nth-child(2) {
    transform: rotate(135deg);
}

/* header */






/*  floating 버튼 */
.scroll-btn {
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    backdrop-filter: blur(14px);
    display: none;
}

.scroll-aw::before {
    content: "";
    position: absolute;
    top: 49%;
    left: 50%;
    width: 14px;
    height: 18px;
    transform: translate(-50%, -50%);
    background: url(../images/scroll-aw.svg) no-repeat center center / contain;
    transition: all .3s ease;
}

.scroll-btn:hover .scroll-aw::before {
    top: calc(49% - 8px);
}

.floating {
    position: fixed;
    right: 24px;
    bottom: 40px;
    z-index: 500;
    display: flex;
    gap: 16px;
}

.music-control {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 100px;
    position: relative;
    min-width: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(14px);
    height: 56px;
}

.volume-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px;
    height: 100%;
    width: 100%;
}

.volume-bar {
    display: block;
    /* background: linear-gradient(90deg, rgba(144,100,238,1) 25%, rgba(22,96,255,1) 100%); */
    background: var(--main-color);
    width: 50%;
    min-width: 56px;
    height: 100%;
    border-radius: 100px;
    transition: width 0.3s ease;
}

.volume-bar.off {
    background: #3c3c3c;
}

.volume-range {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
}

.volume-range::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
}

.bgm-btn {
    padding: 4px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background: transparent;
    display: flex;
    align-items: flex-end;
    height: 28px;
    gap: 10px;
    min-width: 100px;
}

.bgm-btn>img {
    width: 27px;
    height: 24px;
    object-fit: contain;
}

.bgm-btn>span {
    font-size: 14px;
}

#intro .sd-mv-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#intro .sd-mv-icon>li {
    background: #fff;
}

/* #intro .sd-mv-icon>li:nth-child(1){
    background: #9064EE;
}
#intro .sd-mv-icon>li:nth-child(2){
    background: #8263F0;
}
#intro .sd-mv-icon>li:nth-child(3){
    background: #6362F4;
}
#intro .sd-mv-icon>li:nth-child(4){
    background: #415EE1;
}
#intro .sd-mv-icon>li:nth-child(5){
    background: #1660FF;
} */

/* 움직이는 사운드 아이콘  */
.sd-mv-icon {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 24px;
}

.sd-mv-icon>li {
    background: #fff;
    width: 3px;
    border-radius: 10px;
}

.sd-mv-icon.off>li {
    animation: none !important;
}

.sd-mv-icon>li:nth-child(1) {
    height: 9px;
    animation: sound1 0.7s ease-in-out infinite;
}

.sd-mv-icon>li:nth-child(2) {
    height: 16px;
    animation: sound2 0.7s ease-in-out infinite;
}

.sd-mv-icon>li:nth-child(3) {
    height: 12px;
    animation: sound3 0.7s ease-in-out infinite;
}

.sd-mv-icon>li:nth-child(4) {
    height: 20px;
    animation: sound4 0.7s ease-in-out infinite;
}

.sd-mv-icon>li:nth-child(5) {
    height: 7px;
    animation: sound5 0.7s ease-in-out infinite;
}

@keyframes sound1 {
    0% {
        height: 7px;
    }

    20% {
        height: 12px;
    }

    40% {
        height: 17px;
    }

    60% {
        height: 19px;
    }

    80% {
        height: 18px;
    }

    100% {
        height: 14px;
    }
}

@keyframes sound2 {
    0% {
        height: 19px;
    }

    20% {
        height: 24px;
    }

    40% {
        height: 20px;
    }

    60% {
        height: 16px;
    }

    80% {
        height: 12px;
    }

    100% {
        height: 16px;
    }
}

@keyframes sound3 {
    0% {
        height: 14px;
    }

    20% {
        height: 10px;
    }

    40% {
        height: 14px;
    }

    60% {
        height: 18px;
    }

    80% {
        height: 22px;
    }

    100% {
        height: 18px;
    }
}

@keyframes sound4 {
    0% {
        height: 24px;
    }

    20% {
        height: 20px;
    }

    40% {
        height: 16px;
    }

    60% {
        height: 12px;
    }

    80% {
        height: 16px;
    }

    100% {
        height: 20px;
    }
}

@keyframes sound5 {
    0% {
        height: 10px;
    }

    20% {
        height: 14px;
    }

    40% {
        height: 18px;
    }

    60% {
        height: 22px;
    }

    80% {
        height: 18px;
    }

    100% {
        height: 14px;
    }
}

/* 움직이는 사운드 아이콘 끝  */



/* 닫기 버튼 */
.close-btn-wrap {
    position: fixed;
    z-index: 1000;
    width: 36px;
    height: 36px;
    top: 40px;
    right: 66px;
    /* mix-blend-mode: color-burn; */
}

/* porject 페이지 */
.grid-1400 {
    /* padding: 0 260px; */
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto !important;
}


.h2-con-tit,
.h2-con-tit>span {
    font-size: 48px;
    line-height: 60px;
    font-weight: bold;
    text-align: center;
    padding: 16px 0 40px;
    word-break: keep-all;

}

.portfolio-main {
    width: 100%;
    height: 100vh;
    position: relative;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.5s cubic-bezier(0.5, 0, 1, 4);
    opacity: 0;
    transition-delay: 0.2s;
}

.portfolio-main.show {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

.portfolio-main.show>.pfm-bg {
    position: fixed;
}

.portfolio-main.show>.pfm-con {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.portfolio-main .pfm-bg {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
    top: 0;
    left: 0;
    background-position: 50% 50%;
    filter: brightness(70%);
    background-position-y: 0;
    transition: all 1s ease;
    transition-delay: 0.5s;
}

.portfolio-main.show .pfm-bg {
    background-position-y: 50%;
}

.portfolio-main .pfm-bg>img,
.portfolio-main .pfm-bg>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pf-txt-wrap,
.cona-ca1>img {
    transform: translateY(50px);
    transition: all .6s ease-in-out;
    opacity: 0;
}

.cona-ca1.show>img {
    transition-delay: 0.3s;
}

.cona-ca1.show .pf-txt-wrap,
.cona-ca1.show>img {
    opacity: 1;
    transform: translateY(0);
}


.pfm-con {
    position: absolute;
    bottom: 160px;
}

.pfm-con .pfm-tit {
    margin-bottom: 80px;
    transform: translateY(50px);
    opacity: 0;
    transition: all .5s ease-in-out;
    transition-delay: 1s;
}

.portfolio-main.show .pfm-tit,
.portfolio-main.show .pfm-list {
    opacity: 1;
    transform: translateY(0);
}

.pfm-list {
    transform: translateY(50px);
    opacity: 0;
    transition: all .5s ease-in-out;
    transition-delay: 1.3s;
}

.pfm-list>li {
    display: flex;
    align-items: center;
    margin-bottom: 24px;

}

.pfm-list>li>p {
    width: 120px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
}

.pfm-list>li>span {
    color: #fff;
    font-size: 18px;
    word-break: keep-all;
}

.pfm-list>li .tool-icon {
    display: flex;
    gap: 8px;
}



/* controller */
#control{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 900;
    z-index: 10;
    bottom: 2rem;
}
.control-area{
    border-radius: 100px;
    height: 74px;
    overflow: hidden;
    /* width: 0;
    max-width: 74px;
    transform: translate3d(0,calc(100% + 2vw),0);
    -webkit-transform: translate3d(0, calc(100% + 2vw), 0);
    transition: transform 0.5s, max-width 1.5s 0.5s, width 1s ease-in-out; */
}
/* #control.show .control-area {
    transform: translateZ(0);
    width: auto;
    max-width: 100%;
}
#control.show .control-inr{
    opacity: 1;
} */
.liquid{
   isolation: isolate;
    box-shadow: 0px 6px 18px -12px rgba(255, 255, 255, 0.15);
    position: relative;
    border: 1px solid rgba(144, 144, 144, 0.1);
}
.liquid::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 12px -2px rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0);
  pointer-events: none;
}
.liquid::after{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 28px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
  isolation: isolate;
  pointer-events: none;
}

.liquid-glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
  isolation: isolate;
  pointer-events: none;
}

.control-inr{
    display: flex;
    gap: 12px;
    padding: 12px 32px;
    /* transition: opacity 0.4s 1s; */
}


.control-area .home-btn{
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #010101;
    display: flex;
    align-items: center;
    justify-content: center;
}
.control-area .home-btn>img{
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.control-area .control-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 0 8px;
}
.control-area .control-btn>span{
    font-weight: 500;
}
.control-area .prev-btn:hover{
    animation:  prev-moving 1.5s ease-in-out infinite;
}
.control-area .next-btn:hover{
    animation:  next-moving 1.5s ease-in-out infinite;
}
@keyframes prev-moving{
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(-5px);
    }
    100%{
        transform: translateX(0);
    }
}
@keyframes next-moving{
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(5px);
    }
    100%{
        transform: translateX(0);
    }
}
.control-area .next-btn>img{
    transform: rotate(180deg);
}

@media(max-width:1023px) {
    .floating {
        bottom: 20px;
        right: 20px;
    }
}
@media(max-width:767px){
    .back-btn>span{
        margin-top: 0 !important;
    }
    .back-btn>span:nth-child(1) {
    transform: rotate(45deg);
}

    .back-btn>span:nth-child(2) {
        transform: rotate(135deg);
    }
}



/* footer */
.footer{
    width: 100%;
    height: 600px;
}
.next-pf-link{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}
.next-pf-link>p{
    color: #fff;
}
.next-pf-link>p:nth-child(1){
    font-size: 18px;
}
.next-pf-link>p:nth-child(2){
    font-size: 80px;
    font-weight: bold;
    margin-top: 12px;
}
.footer .view-btn{
    width: 100px;
    margin: 0;
    transform: translateY(0);
}

.pj-slide-wrap{
    background: #7ed3d0;
    height: 1080px;
    overflow: hidden;
}
.pj-slide-wrap>div{
    display: flex;
    justify-content: space-between;
}
.pj-bnt-wrap{
    padding-top: 320px;
}
.pj-bnt-wrap li{
    margin-bottom: 60px;
    cursor: pointer;
}
.pj-bnt-wrap li>.switch-btn{
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    border-radius: 16px;
    background: #a1dddb;
}
.pj-bnt-wrap li>.switch-btn>span{
    position: absolute;
    top: 50%;
    left: -3px;
    transform: translateY(-50%) scale(0.5);
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #7ed3d0;
    transition: all .6s;
}
.pj-bnt-wrap li.on>.switch-btn>span{
    left: 14px;
    transform: translateY(-50%) scale(1);
    background: #fff;
}
.pj-bnt-wrap li>button{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    opacity: 0.5;
    padding-left: 20px;
    cursor: pointer;
}
.pj-bnt-wrap li.on>button{
    opacity: 1;
}
.pj-img-wrap{
    gap: 40px;
    display: none;
}
.pj-img-wrap ul>li{
    margin-bottom: 40px;
}
.pj-img-wrap.on{
    display: flex;
}
