/*
    Theme Name: A-Lounge 2026
    Theme URI: 
    Description: Theme for A-Lounge 2026
    Author: Jungju
    Author URI: http://www.jungju.kr
    Version: 1.0
    Tags: none
*/

:root {
    --unit: 16px;
    --std: calc(var(--unit) * 1.5);
    --maxWidth: 540px;
    --ko-line-height: 1.5875;
    --en-line-height: 1.475;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    color: inherit;
    list-style-type: none;
    font-family: "helvetica", "pretendard", sans-serif;
    font-weight: 400;
    word-break: keep-all;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

.helv {
    font-family: "helvetica", sans-serif;
    letter-spacing: 0.01375em;
}

*, html, body {
    -webkit-text-size-adjust: 100%;
       -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
            text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
}

html {
    font-size: 15px;
}

body {
    opacity: 0;
}

body.active {
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-delay: 0.1875s;
            animation-delay: 0.1875s;
    -webkit-animation-duration: 0.375s;
            animation-duration: 0.375s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;   
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;   
    }

    100% {
        opacity: 1;
    }
}

/* app */
#app {
    width: 100%;
    height: auto;
}

#main-header {
    padding: calc(var(--std) * 1.0);
    position: fixed;
    top: 0;
    left: 0;
    width: calc(var(--maxWidth));
    height: calc(var(--std) * 1.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: calc(var(--std) * 1.0);
    overflow: hidden;
    background-color: transparent;
    -webkit-transition: background-color 0.1875s ease-out;
    -o-transition: background-color 0.1875s ease-out;
    transition: background-color 0.1875s ease-out;
    z-index: 100;
}

#main-header.active {
    background-color: rgba(255, 255, 255, 0.925);
    height: 100%;
}

#app.index #main-header.active {
    background-color: rgb(255, 255, 255, 0);
}

.item-main-header {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: calc(var(--std) * 1.0);
}

.item-main-header.above {
    cursor: pointer;
}

.item-main-header.above > * {
    pointer-events: none;
}

#main-header.active > .item-main-header.above {
    cursor: default;
    pointer-events: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * (4.0 + 0.5));
}

#main-header.active > .item-main-header.above a,
#main-header.active > .item-main-header.above button {
    pointer-events: all;
}

.item-main-header.above > .item-above {
    width: calc((100% - var(--std) * 1.0) / 2);
}

.item-main-header.above > .item-above:nth-child(1) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#go-home {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.item-main-header.above > .item-above:nth-child(3) {
    display: none;
}

#main-header.active .item-main-header.above > .item-above:nth-child(3) {
    margin: calc(var(--std) * 1.0);
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    display: block;
}

#close-menu {
    width: calc(var(--std) * 0.5);
    height: calc(var(--std) * 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#close-menu > .icon {
    position: absolute;
    width: calc(var(--std) * 0.575);
    height: 1px;
    background-color: rgb(0, 0, 0);
}

#close-menu > .icon:nth-child(1) {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

#close-menu > .icon:nth-child(2) {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.item-menu {
    /* height: calc(var(--std) * 1.0); */
    display: none;
}

.item-menu.active {
    display: block;
    /* text-align: right; */
}

.item-menu.active > a {
    border-bottom: 1px solid rgb(150, 150, 150);
}

#app.index .item-above:nth-child(2) {
    display: none;
}

#app.index .item-above:nth-child(1) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

#app.index #go-home {
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

#app.index #go-home > span:nth-child(2) {
    display: none;
}

#app.index #main-header.active #go-home {
    width: auto;
    display: inline-block;
}

#app.index #main-header.active #go-home > span:nth-child(2) {
    display: inline-block;
}

#app.index #main-header.active .item-above:nth-child(1),
#app.index #main-header.active .item-above:nth-child(2) {
    display: block;
    width: calc((100% - var(--std) * 1.0) / 2);
}

#main-header.active #main-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 0.375);
}

#main-header.active .item-menu {
    display: block;
    opacity: 0;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-delay: 0.1875s;
            animation-delay: 0.1875s;
    -webkit-animation-duration: 0.375s;
            animation-duration: 0.375s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    text-align: left;
}

p.info {
    font-size: 0.875rem;
    line-height: var(--en-line-height);
}

#main-footer {
    padding: calc(var(--std) * 1.0);
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(var(--maxWidth) - 1px);
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 1.0);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    z-index: 50;
    -webkit-transition: width 0.25s ease-out;
    -o-transition: width 0.25s ease-out;
    transition: width 0.25s ease-out;
}

#navigator {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: calc(var(--std) * 0.575);
}

.item-navigator.active > a {
    border-bottom: 1px solid rgb(150, 150, 150);
}

#app.single #cont-lang {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#cont-lang {
    display: none;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: calc(var(--std) * 0.575);
}

#cont-lang > button {
    font-size: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#cont-lang > button.active {
    display: none;
}

/* main-content */
#main-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 10;
}

#main-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--maxWidth) - 1px);
    height: calc(var(--std) * (5.0 + 0.5));
    background: rgb(255, 255, 255);
    background: -o-linear-gradient(bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)));
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
    z-index: 10;
    pointer-events: none;
}

#main-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(var(--maxWidth) - 1px);
    height: calc(var(--std) * (5.0 + 0.5));
    background: rgb(255, 255, 255);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
    z-index: 10;
    pointer-events: none;
}

.item-main-content {
    position: fixed;
    height: 100%;
    overflow-y: auto;
    -webkit-transition: width 0.25s ease-out;
    -o-transition: width 0.25s ease-out;
    transition: width 0.25s ease-out;
}

.item-main-content.left {
    top: calc(var(--std) * 0.5);
    left: 0;
    padding: calc(var(--std) * (6.0 - 0.5)) calc(var(--std) * 1.0);
    width: calc(var(--maxWidth));
    height: calc(100% - var(--std) * (0.5 * 2.0));
}

.item-main-content.right {
    top: 0;
    left: calc(var(--maxWidth));
    width: calc(100% - var(--maxWidth));
    -ms-scroll-snap-type: y mandatory;
        scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

#main-gallery.one-column .item-main-gallery .thumb {
    will-change: transform;
}

#main-gallery.one-column .item-main-gallery .thumb img {
    -webkit-transition: opacity 0.5s ease-out, -webkit-transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition: opacity 0.5s ease-out, -webkit-transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    -o-transition: opacity 0.5s ease-out, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition: opacity 0.5s ease-out, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition: opacity 0.5s ease-out, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1), -webkit-transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#main-gallery.one-column .item-main-gallery.is-active .thumb img {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
        -ms-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
}

#main-gallery.one-column .item-main-gallery:not(.is-active) .thumb img {
    opacity: 0;
    -webkit-transform: translateY(calc(var(--std) * 1.0)) scale(0.985);
        -ms-transform: translateY(calc(var(--std) * 1.0)) scale(0.985);
            transform: translateY(calc(var(--std) * 1.0)) scale(0.985);
}

.item-main-content.right.horizontal #main-gallery.one-column .item-main-gallery:not(.is-active) .thumb img {
    opacity: 0;
    -webkit-transform: translateY(0) scale(1);
        -ms-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
}

#frame {
    padding: calc(var(--std) * 1.0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    opacity: 0;
}

#frame.active {
    -webkit-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
    opacity: 1;
}

#frame-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    /* max-width: calc(100% - var(--std) * (5.0 * 2.0)); */
    max-height: calc(100% - var(--std) * (5.0 * 2.0));
}

#frame-thumb > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center center;
       object-position: center center;
}

#main-gallery {
    padding: calc(var(--std) * 1.0);
    width: 100%;
    height: auto;
    min-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.0);
}

.item-main-gallery {
    line-height: 0;
}

.item-main-gallery.has-caption {
    cursor: pointer;
}

#main-gallery.one-column .item-main-gallery {
    width: 100%;
    height: calc((var(--vh, 1vh) * 100) - var(--std) * 2.0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 1.0);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    scroll-snap-align: center;
}

.item-main-content.right.horizontal {
    -ms-scroll-snap-type: x mandatory;
        scroll-snap-type: x mandatory;
    overflow-y: hidden;
}

.item-main-content.right.horizontal > #main-gallery.one-column {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    white-space: nowrap;
}

.item-main-content.right.horizontal > #main-gallery.one-column .item-main-gallery {
    white-space: nowrap;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.item-main-gallery > .thumb {
    position: relative;
    width: 100%;
    height: 100%;
    /* max-width: calc(100% - var(--std) * (5.0 * 2.0)); */
    max-height: calc(100% - var(--std) * (5.0 * 2.0));
}

.item-main-gallery > .thumb > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center center;
       object-position: center center;
}

.item-main-gallery > .caption,
.item-main-gallery > .caption-thumb {
    display: none;
}

#main-gallery.two-column {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: calc(var(--std) * 1.0);
}

#main-gallery.two-column > .item-main-gallery {
    width: calc((100% - var(--std) * 1.0) / 2);
}

#main-gallery.three-column {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: calc(var(--std) * 1.0);
}

#main-gallery.three-column > .item-main-gallery {
    width: calc((100% - var(--std) * 2.0) / 3);
}

#navi {
    position: fixed;
    top: 0;
    left: var(--maxWidth);
    width: calc(100% - var(--maxWidth));
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

button.item-navi {
    padding: calc(var(--std) * 1.5);
    width: calc(100% / 2);
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    opacity: 0;
    -webkit-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
}

button.item-navi:hover {
    opacity: 1;
}

button.item-navi .icon {
    width: calc(var(--std) * 2.0);
    height: calc(var(--std) * 2.0);
    border-top: 1px solid rgb(150, 150, 150);
    border-right: 1px solid rgb(150, 150, 150);
    -webkit-filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0, 0.5));
            filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0, 0.5));
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

button.item-navi.left .icon {
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
}

button.item-navi.right {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

#cont-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0;
}

section.section::after {
    margin: calc(var(--std) * ((6.0 - 0.5) - 1.0)) 0 calc(var(--std) * (1.0 + 0.375)) 0;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid rgb(220, 220, 220);
}

section.section:last-child:after {
    border-bottom: none;
}

.exhibition-gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.0);
}

.item-exhibition-gallery > a > .above {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.section#current .item-exhibition-gallery > a,
.section#introduction .item-exhibition-gallery > a,
.section#introduction .item-exhibition-gallery.single {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.0);
}

.section#current .item-exhibition-gallery > a > .above,
.section#introduction .item-exhibition-gallery > a > .above,
.section#introduction .item-exhibition-gallery.single > .above {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: calc(var(--std) * 1.0);
}

.section#current .item-exhibition-gallery > a > .above > .item-above,
.section#introduction .item-exhibition-gallery > a > .above > .item-above,
.section#introduction .item-exhibition-gallery.single > .above > .item-above {
    width: calc((100% - var(--std) * 1.0) / 2);
}

.date .common {
    /* font-size: 0.7rem !important; */
}

.section#current .item-exhibition-gallery > a > .below,
.section#introduction .item-exhibition-gallery > a > .below,
.section#introduction .item-exhibition-gallery.single > .below {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    gap: calc(var(--std) * 1.0);
}

.section#current .item-exhibition-gallery > a > .below > .item-below,
.section#introduction .item-exhibition-gallery > a > .below > .item-below,
.section#introduction .item-exhibition-gallery.single > .below > .item-below {
    width: calc((100% - var(--std) * 1.0) / 2);
}

.item-above.title {
    font-style: italic;
    /* font-weight: 700; */
}

.section#past > .exhibition-gallery {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: calc(var(--std) * 1.0) calc(var(--std) * 1.0);
}

.section#past > .exhibition-gallery > .item-exhibition-gallery {
    width: calc((100% - var(--std) * 1.0) / 2);
}

.for-frame .thumbnail {
    display: none;
}

.artists-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
    gap: calc(var(--std) * 1.0);
}

.artists-list > .item-artists-list {
    /* width: 100%; */
    width: calc((100% - var(--std) * 1.0) / 2);
}

#collaborate .artists-list > .item-artists-list {
    width: calc((100% - var(--std) * 1.0) / 2) !important;
}

.publication-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
    gap: calc(var(--std) * 1.0);
}

.publication-list > .item-publication-list {
    width: calc((100% - var(--std) * 1.0) / 2);
}

.fairs-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
    gap: calc(var(--std) * 1.0);
}

.fairs-list > .item-fairs-list {
    width: calc((100% - var(--std) * 1.0) / 2);
}

.news-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
    gap: calc(var(--std) * 1.0);
}

.news-list > .item-news-list {
    width: calc((100% - var(--std) * 1.0) / 2);
}

/* p5 */
#world {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth));
    width: calc(100% - var(--maxWidth));
    height: 100%;
    z-index: 0;
}

#app.index #world {
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: left 0.5s ease-out, width 0.5s ease-out;
    -o-transition: left 0.5s ease-out, width 0.5s ease-out;
    transition: left 0.5s ease-out, width 0.5s ease-out;
}

#app.index #main-header.active + #world {
    left: calc(var(--maxWidth));
    width: calc(100% - var(--maxWidth));
    height: 100%;
    z-index: 0;
}

#modal {
    padding: calc(var(--std) * 1.0);
    padding-top: calc(var(--std) * 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: calc(var(--std) * 1.0);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: rgba(255, 255, 255, 0.925);
    z-index: 100;
}

#modal.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#close-modal {
    margin: calc(var(--std) * 1.0);
    position: absolute;
    top: 0;
    width: calc(var(--std) * 0.5);
    height: calc(var(--std) * 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

#close-modal > .icon {
    position: absolute;
    width: calc(var(--std) * 0.575);
    height: 1px;
    background-color: rgb(0, 0, 0);
}

#close-modal > .icon:nth-child(1) {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

#close-modal > .icon:nth-child(2) {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

#modal-thumb {
    position: relative;
    width: 100%;
    height: calc(100% - var(--std) * 4.0);
}

#modal-thumb > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center center;
       object-position: center center;
}

#modal-caption {
    padding: 0 calc(var(--std) * 1.0);
    margin: calc(var(--std) * 1.0);
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 1rem;
    text-align: center;
}

/* common */
button:hover, a:hover {
    opacity: 0.5;
    cursor: pointer;
}

p, li {
    font-size: 1rem;
}

small {
    font-size: 0.875rem;
}

.ko, .en {
    display: none;
    font-size: 1rem;
    line-height: var(--en-line-height);
}

html:lang(ko) .ko, 
html:lang(en) .en {
    display: block;
    opacity: 0;
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    -webkit-animation-delay: 0.1875s;
            animation-delay: 0.1875s;
    -webkit-animation-duration: 0.375s;
            animation-duration: 0.375s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}

.ko p, .ko li, .ko li > span {
    line-height: var(--ko-line-height);
}

.en p, .en li, .en li > span {
    line-height: var(--en-line-height);
}

li.two-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: calc(var(--std) * 0.5);
}

.common {
    display: inline-block;
    font-size: 1rem;
    line-height: var(--en-line-height);
}

.common > p {
    display: block;
    font-size: 1rem;
    line-height: var(--en-line-height);
}

button {
    border: none;
    background-color: transparent;
    border-radius: 0px;
    font-size: 1rem;
}

a, button {
    cursor: pointer;
}

img {
    width: 100%;
    height: auto;
}

::-webkit-scrollbar {
    width: 1px;
    height: 5px;
}

.item-main-content.right::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(150, 150, 150, 1);
}

::-webkit-scrollbar-track {
    background-color: rgba(220, 220, 220, 1);
}

.mobile-only {
    display: none;
}


.fairs-list > .item-fairs-list a {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow: hidden;
}

.marquee{
  overflow: hidden;
  width: 100%;
}

.track{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  width:-webkit-max-content;
  width:-moz-max-content;
  width:max-content;
  white-space:nowrap;
  -webkit-animation: marquee linear infinite;
          animation: marquee linear infinite;
  -webkit-animation-duration: var(--duration);
          animation-duration: var(--duration);
}

.text{
    margin-right: 0;
}

@-webkit-keyframes marquee{
  from{ -webkit-transform:translateX(0); transform:translateX(0) }
  to{ -webkit-transform:translateX(calc(-1 * var(--move))); transform:translateX(calc(-1 * var(--move))) }
}

@keyframes marquee{
  from{ -webkit-transform:translateX(0); transform:translateX(0) }
  to{ -webkit-transform:translateX(calc(-1 * var(--move))); transform:translateX(calc(-1 * var(--move))) }
}

/* temp */

/* .content.cv-type-2 {
    background-color: rgba(255, 0, 255, 0.125);
}

.content.cv-type-2 + .content {
    margin-top: calc(var(--std) * 2.0);
    padding-top: calc(var(--std) * 1.0);
    border-top: 1px solid rgb(220, 220, 220);
} */

/* grid */
#cont-grid {
    position: fixed;
    z-index: 9999;
    display: none;
}

#cont-grid.active {
    display: block;
}

.grid:nth-child(1) {
    position: fixed;
    top: 0;
    left: calc(var(--std) * 1.0);
    width: 1px;
    height: 100%;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(2) {
    position: fixed;
    top: 0;
    right: calc(var(--std) * 1.0);
    width: 1px;
    height: 100%;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(3) {
    position: fixed;
    top: calc(var(--std) * 1.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(4) {
    position: fixed;
    bottom: calc(var(--std) * 1.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(5) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) - var(--std) * 1.0);
    width: 1px;
    height: 100%;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(6) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth));
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(7) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(8) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 + var(--std) * 1.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(9) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 2 + var(--std) * 1.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(10) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 2 + var(--std) * 2.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(11) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 3 + var(--std) * 2.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(12) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 3 + var(--std) * 3.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(13) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 4 + var(--std) * 3.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(14) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 4 + var(--std) * 4.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(15) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 5 + var(--std) * 4.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(16) {
    position: fixed;
    top: 0;
    left: calc(var(--maxWidth) + (100% - var(--maxWidth) - var(--std) * 6.0) / 6 * 5 + var(--std) * 5.0);
    width: 1px;
    height: 100%;
    background-color: rgb(0, 175, 0);
}

.grid:nth-child(17) {
    position: fixed;
    top: calc(var(--std) * 5.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

.grid:nth-child(18) {
    position: fixed;
    top: calc(var(--std) * 6.0);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgb(255, 0, 255);
}

/* responsive */
@media screen and (min-aspect-ratio: 2 / 1){
    .item-main-gallery > .thumb, #frame-thumb {
        max-height: calc(100% - var(--std) * (1.0 * 2.0));
    }
}

@media screen and (max-width: 1000px) {
    :root {
        --maxWidth: calc(100% / 2);
    }

    .grid:nth-child(5) {
        left: calc(100% / 2);
    }

    .grid:nth-child(n+6):nth-child(-n+16) {
        display: none;
    }

    #navi {
        display: none;
    }
}

@media screen and (max-width: 720px) {
    #app.index #main-header {
        width: calc(100% / 2);
    }

    #main-header, #app.index #main-header.active, #main-header.active {
        width: 100%;
    }

    #main-header.active::after {
        content: none;
    }
    
    #main-content {
        position: relative;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        height: auto;
    }
    
    .item-main-content {
        position: relative;
    }

    .item-main-content.left {
        padding-bottom: 0;
        margin-bottom: calc(var(--std) * (6.0 - 0.5));
        width: 100%;
        height: auto;
    }

    .item-main-content.right {
        margin-bottom: calc(var(--std) * (6.0 - 0.5));
        width: 100%;
        left: auto;
        -ms-scroll-snap-type: none;
        scroll-snap-type: none;
        scroll-behavior: auto;
        -webkit-overflow-scrolling: auto;
        overscroll-behavior-y: auto;
    }

    .item-main-content.right.horizontal {
        -ms-scroll-snap-type: none;
            scroll-snap-type: none;
        overflow-y: hidden;
    }

    .item-main-content.right.horizontal > #main-gallery.one-column {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    #navi {
        display: none;
    }

    #main-gallery {
        padding-top: 0;
        min-height: auto;
    }

    #main-gallery.one-column .item-main-gallery {
        height: auto;
    }

    .item-main-gallery > .thumb {
        height: auto;
        max-height: auto;
    }

    .item-main-gallery > .thumb > img {
        position: relative;
        width: 100%;
        height: auto;
    }

    #main-content::before, #main-content::after {
        position: fixed;
        width: 100%;
        pointer-events: all;
    }

    section.section:last-child:after {
        content: none;
    }

    #world {
        display: none;
    }

    #app.index #world {
        display: block;
    }

    #app.index #main-header.active + #world {
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    #main-footer {
        width: 100%;
    }

    .mobile-only {
        display: inline-block;
    }

    .desktop-only {
        display: none;
    }
}

@media screen and (max-width: 375px) {
    :root {
        --std: calc(var(--unit) * 1.0);
    }

    html {
        font-size: 14px;
    }
}