@import url('reset.css');

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


@font-face {
    font-family: 'helvetica_lt_proroman';
    src: url('../fonts/helvetica_lt_pro_roman.woff2') format('woff2'),
    url('../fonts/helvetica_lt_pro_roman.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

:root {
    --theme: #00F;

    --wh: #FFF;
    --bk: #000000;
    --p: #00F;
    --g: #C4C4C6;
    --bg: rgba(255, 255, 255, 0.9);

    --fz: 22px;
    --fz-s: 15px;
}

@media screen and (max-width: 1180px) {
    :root {
        --theme: #EBECEC;

        --fz: 19px;
        --fz-s: 13px;
    }
}

html,
body {
    color: var(--bk);
    font-family: 'helvetica_lt_proroman', 'Pretendard', sans-serif;
    font-style: normal;
    font-size: var(--fz);
    font-weight: 500;
    letter-spacing: 1px;
    line-height: normal;
    background: var(--wh);

    cursor: none;

    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* 표준 */

    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;

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

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

* {
    cursor: none;
}

#app {
    padding: 45px;
}

@media screen and (max-width: 1180px) {
    html,
    body {
        /*letter-spacing: 0.5px;*/
    }

    #app {
        padding: 15px;
    }

    .sp {
        height: 100%;
        overflow: hidden;
    }
}

.view--en .en {
    display: block;
}

.view--en .kr {
    display: none;
}

.view--kr .en {
    display: none;
}

.view--kr .kr {
    display: block;
    font-weight: 500;
}

header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
}

.header-inner {
    position: relative;
    padding-left: calc(50% + 30px);
    padding-top: 30px;
    width: 100%;
}

#logo {
    display: block;
    width: fit-content;
    color: var(--bk);
    font-size: var(--fz);
    text-decoration: none;
}

nav {
    position: absolute;
    top: 30px;
    right: 45px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.lang-btn {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--bk);
    /*cursor: pointer;*/
}

.nav-d-wrapper {
    margin-top: 62px;
    display: flex;
    column-gap: 62px;
}

.info-btn {
    font-size: var(--fz);
    /*cursor: pointer;*/
}

#logo .kr,
.info-btn .kr,
.index-btn .kr {
    font-size: 20px;
}

.info-btn {
    width: 57px;
    text-align: right;
}

@media screen and (max-width: 1180px) {
    .header-inner {
        padding-left: 15px;
        padding-top: 20px;
    }

    nav {
        top: 22px;
        right: 15px;
    }

    .lang-btn {
        width: 19px;
        height: 19px;
    }

    .nav-d-wrapper {
        margin-top: 30px;
        column-gap: 21px;
    }

    #logo .kr,
    .info-btn .kr,
    .index-btn .kr {
        font-size: 17px;
    }
    
    .info-btn {
        width: 50px;
        text-align: right;
    }
}

.info-panel {
    display: none;
    position: fixed;
    z-index: 5;
    bottom: 0;
    right: 0;
    width: calc(50vw - 30px);
    height: calc(100svh - (93px + 30px + 100px));
    background: var(--p);

    /*transform: translate(100%, 100%);*/
    /*transition: transform 300ms linear;*/
}

.info-panel-dim {
    display: none;
    position: fixed;
    z-index: 4;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100svh;
}

.info-panel.is-active {
    display: block;
    /*transform: translate(0, 0);*/
}

.info-panel.is-active + .info-panel-dim {
    display: block;
    /*backdrop-filter: blur(1px);*/
    background: rgba(255, 255, 255, 0.7);
}

.info-panel-cont {
    padding: 40px;
}

.info-panel-cont * {
    color: var(--g);
    font-size: var(--fz-s);
    line-height: 23px;
    text-align: center;
}

.info-panel-cont.kr {
}

@media screen and (max-width: 1180px) {
    .info-panel {
        bottom: initial;
        top: calc(54px + 20px + 63px);
        right: 0;

        width: calc(100vw - 75px);
        height: 320px;
        /*height: calc(100svh - (54px + 12px + 25px));*/
    }

    .info-panel-dim {
        height: 100vh;
    }

    .info-panel-cont {
        padding: calc(15px + 8px);
    }

    .info-panel-cont * {
        font-size: 13px;
        line-height: 18px;
    }

    .info-panel-cont.kr {
    }
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 105px 60px;

    padding: 180px 0 90px;
}

.cont {
    position: relative;
    z-index: 1;
    width: calc((100vw - 150px) * 0.5);
    height: calc((100vw - 150px) * 0.5);
}

@media screen and (max-width: 1180px) {
    .container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px 0;

        padding: 122px 0 50px;
    }

    .cont {
        width: calc((100vw - 30px) * 1);
        height: calc((100vw - 30px) * 1);
    }
}

.img-swiper {
    width: 100%;
    height: 100%;
}

.cont .swiper-slide {
    position: relative;
    background: var(--wh);
}

.cont .swiper-slide > .cont-button-prev,
.cont .swiper-slide > .cont-button-next {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
}

.cont .swiper-slide.slide-first .cont-button-prev {
    display: none;
}

.cont .swiper-slide.slide-last .cont-button-next {
    /*display: none;*/
}

.cont .swiper-slide > .cont-button-prev {
    left: 0;
    /*cursor: w-resize;*/
}

.cont .swiper-slide > .cont-button-next {
    right: 0;
    /*cursor: e-resize;*/
    width: 100%;
}

.cont .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cont.cont--portrait .swiper-slide.slide-last,
.cont.cont--landscape .swiper-slide.slide-last,
.cont.cont--square .swiper-slide.slide-last,
.cont.cont--interview .swiper-slide.slide-first {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cont.cont--interview .swiper-slide.slide-first img {
    width: 60%;
    height: 60%;
    object-fit: cover;
    object-position: center;

    filter: grayscale(1);
}

@media screen and (min-width: 1180px) {
    .cont.cont--interview:hover .swiper-slide.slide-first img {
        filter: grayscale(0);
    }
}

.cont.cont--blue .cont-info {
    background: var(--p);
    color: var(--g);
}

.swiper-slide.slide-last {
    background: var(--bg);
}

.cont.cont--portrait .cont-info {
    margin: auto;
    width: 60%;
    height: 100%;
}

.cont.cont--landscape .cont-info {
    width: 100%;
    height: 60%;
}

.cont.cont--square .cont-info {
    width: 60%;
    height: 60%;
}

.cont-info {
    position: relative;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: var(--fz-s);
}

.cont-info * {
    font-size: var(--fz-s);
    line-height: 21px;
}

.cont-info .desc {
    text-align: center;
}

.cont-info .desc,
.cont-info .desc * {
    font-size: var(--fz-s);
    line-height: 21px;
}

.cont-info .desc.kr {
    font-weight: 500;
}

.cont-info .year {
    margin-top: 21px;
    text-transform: capitalize;
}

.cont-info .link {

}

.cont.cont--blur .link {
    color: var(--p);
}

@media screen and (max-width: 1180px) {
    .cont.cont--interview .swiper-slide.slide-first img {
        width: 70%;
        height: 70%;
    }

    .cont.cont--portrait .cont-info {
        width: 70%;
    }

    .cont.cont--landscape .cont-info {
        height: 70%;
    }

    .cont.cont--square .cont-info {
        width: 70%;
        height: 70%;
    }

    .cont-info * {
        line-height: 18px;
    }

    .cont-info .desc,
    .cont-info .desc * {
        line-height: 18px;
    }

    .cont-info .desc.kr {
    }

    .cont-info .year {
        margin-top: 17px;
    }

    .cont-info .link {

    }
}

/*intro*/
.intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
}

.intro-img-wrapper {
    will-change: transform, opacity;
    overflow: hidden;
}

.intro-img-wrapper .intro-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.intro-img-wrapper--interview .intro-img {
    width: 65%;
    height: 65%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
}

body.intro-active {
    height: 100%;
    overflow: hidden;
}

#cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 250ms linear;
    width: 25px;
    height: 25px;
    background: var(--bk);
    border-radius: 50%;

    /*mix-blend-mode: difference;*/
}

@media (hover: none), (pointer: coarse) {
    #cursor {
        display: none;
    }
}

#cursor.is-active {
    /*transform: translate(-50%, -50%) scale(1.5);*/
    background: var(--p);
}

#cursor.is-clicked {
    transform: translate(-50%, -50%) scale(0.25);
}

#cursor.is-lang {
    /*background: var(--p);*/
}

/*index*/
.index-panel {
    display: none;
    position: fixed;
    z-index: 5;
    bottom: 0;
    right: 0;
    width: calc(50vw - 30px);
    height: calc(100svh - (93px + 30px + 100px));
    background: var(--p);
}

.index-panel-dim {
    display: none;
    position: fixed;
    z-index: 4;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100svh;
}

.index-panel.is-active {
    display: block;
}

.index-panel.is-active + .index-panel-dim {
    display: block;
    background: rgba(255, 255, 255, 0.7);
}

.index-panel-inner {
    padding: 40px 60px;
    height: 100%;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.index-panel-inner::-webkit-scrollbar {
    display: none;
}

.i-row,
.i-row * {
    color: var(--g);
    font-size: var(--fz-s);
    line-height: 23px;
}

.i-row {
    display: flex;
}

.i-row-num {
    padding: 8px 40px 8px 0;
}

.i-row-inner {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 110px 74px;
    padding: 8px 4px 8px 12px;
    border-bottom: 0.5px solid var(--g);
    column-gap: 4px;
}

.i-row:last-child .i-row-inner {
    border-bottom: 0;
}

.i-row.kr {
}

@media screen and (max-width: 1180px) {
    .index-panel {
        bottom: initial;
        top: calc(54px + 20px + 63px);
        right: 0;

        width: calc(100vw - 75px);
        height: calc(100svh - (54px + 12px + 71px));
    }

    .index-panel-dim {
        height: 100vh;
    }

    .index-panel-inner {
        padding: 15px 25px;
    }

    .i-row,
    .i-row * {
        font-size: 13px;
        line-height: 18px;
    }

    .i-row.kr {
    }

    .i-row-num {
        padding: 8px 15px 8px 0;
    }

    .i-row-inner {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 62px;
        grid-template-rows: auto auto;
        padding: 8px 2px 10px 0;
        border-bottom: 0;
        column-gap: 0;
    }

    .i-row-inner > .i-item.title {
        grid-area: 1 / 1 / 2 / 3;
    }

    .i-row-inner > .i-item.category {
        grid-area: 2 / 1 / 3 / 2;
        padding-top: 4px;
    }

    .i-row-inner > .i-item:last-child {
        grid-area: 2 / 2 / 3 / 3;
        padding-top: 4px;

        text-align: right;
    }

    .i-row {
        border-bottom: 0.5px solid var(--g);
    }

    .i-row:last-child {
        border-bottom: 0;
    }
}

.slide-last .cont-info {
    z-index: 1;
    pointer-events: none;
}

.slide-last .cont-button-next {
    z-index: 0;
}

.slide-last .cont-info .link {
    position: relative;
    z-index: 1;
    pointer-events: visible;
}