
body {
    letter-spacing: 0.05rem;
}

@media (max-width: 800px){
    /* Custom Scroll Bar */
    .mCSB_scrollTools.mCSB_scrollTools_horizontal {
        top : 35px !important;
    }
    .mCSB_dragger_bar {
        height: 8px !important;
        width: 40px !important;
    }
    .mCSB_draggerRail {
        height: 0px !important;
    }

    .flipster__nav__item--category > .flipster__nav__link {
        font-size: 16px;
    }

    #logo {
        position:absolute; top:0; left:-10px; padding: 17px 0 0 28px;
        width : 280px;
    }
    #exit_tag {
        padding-top: 10px;
        margin-top: 0px;
        margin-right: 0px;
    }
    #exit_btn {
        width: 25px;
        height: 25px;
        margin-left : 90vw;
    }


    body {
        height: 1000px;
    }
    .image_div {
        /*width: 450px; height: 300px;*/
        width: 100vw; height: 70vw;
        background-repeat: no-repeat;
        /*background-size: cover;*/
        background-size: contain;
        background-position: center center;
    }

    #description {
        margin-top:30px;
        padding : 10px 8vw 10px;
    }

    .flipster__nav,
    .flipster__nav__item {
        list-style-type: none;
        /*margin: 0;*/
        padding: 0;
    }
    .flipster__nav {
        width: calc(100% - 2em);
        display: block;
        border-width: 1px;
        border-style: solid;
        border-image: linear-gradient(to right, rgba(50,50,50,0.3) 0%, #999999 40%, #F0F0F0 50%, #999999 60%, rgba(50,50,50,0.3) 100%);
        border-image-slice: 1;
        border-image-width: 1px 0 1px 0;
        margin: 4em auto 4em;
        text-align: center;
        position: relative;
    }

    .flipster__button {
        position: absolute;
        top: calc(50% + 40px);
        display: block;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: none;
        border: none;
        padding: 0;
        z-index: 999;
        cursor: pointer;
        font-size: 15px;
        opacity: 0.5;
        -webkit-transition: opacity 500ms ease;
        -o-transition: opacity 500ms ease;
        transition: opacity 500ms ease;
        margin: -1em 2em;
        outline: none !important;
    }
    .flipster__button svg {
        color: #888;
        width: 2em;
        stroke: currentColor;
        fill: #888;
        stroke-width: 2;
        stroke-linecap: round;
    }
    .flipster__button:hover,
    .flipster__button:focus {
        opacity: 1;
    }
    .flipster__button--prev {
        left: -5%;
    }
    .flipster__button--next {
        right: -5%;
    }

    .desc_div {
        width: calc(100% - 4em);
        margin: 0 auto;
    }

    .history_title {
        font-size: 18px;
        font-weight: bold;
    }
    .history_desc {
        color : lightgray;
        word-break: keep-all;
        font-weight: 300;
        font-size: 15px;
        line-height: 25px;
        max-height: 370px;
        overflow: auto;
    }
    .title_title {
        font-size: 20px;
        padding-top: 18px;
        /*margin-bottom: 30px;*/
    }
}
@media (min-width: 801px) {
    /* Custom Scroll Bar */
    .mCSB_scrollTools.mCSB_scrollTools_horizontal {
        top : 30px !important;
    }
    .mCSB_dragger_bar {
        height: 10px !important;
        width: 100px !important;
    }
    .mCSB_draggerRail {
        height: 0px !important;
    }

    .flipster__nav__item--category > .flipster__nav__link {
        font-size: 22px;
    }
    #logo {
        position:absolute; top:0; left:0; padding: 30px 0 0 37px;
    }

    #exit_btn {
        width: 30px;
        height: 30px;
        margin-left : calc(100vw - 90px);
    }

    .image_div {
        width: 800px; height: 400px;
        background-repeat: no-repeat;
        /*background-size: cover;*/
        background-size: contain;
        background-position: center center;
    }

    body {
        /*height: 1000px;*/
        height: 100vh;
    }

    .flipster__nav,
    .flipster__nav__item {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    .flipster__nav {
        width: 50%;
        display: block;
        border-width: 1px;
        border-style: solid;
        border-image: linear-gradient(to right, rgba(50,50,50,0.3) 0%, #999999 40%, #F0F0F0 50%, #999999 60%, rgba(50,50,50,0.3) 100%);
        border-image-slice: 1;
        border-image-width: 1px 0 1px 0;
        margin: 0 auto 4em;
        text-align: center;
        position: relative;
    }

    .flipster__button {
        position: absolute;
        top: calc(50% + 20px);
        display: block;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: none;
        border: none;
        padding: 0;
        z-index: 999;
        cursor: pointer;
        font-size: 15px;
        opacity: 0.5;
        -webkit-transition: opacity 500ms ease;
        -o-transition: opacity 500ms ease;
        transition: opacity 500ms ease;
        margin: -1em 2em;
        outline: none !important;
    }
    .flipster__button svg {
        color:white;
        width: 2em;
        stroke: currentColor;
        fill: #555555;
        stroke-width: 0;
        stroke-linecap: round;
    }
    .flipster__button:hover,
    .flipster__button:focus {
        opacity: 1;
    }
    .flipster__button--prev {
        left: calc(50% - 500px);
    }
    .flipster__button--next {
        right: calc(50% - 500px);
    }

    .desc_div {
        width: 55%;
    }

    .history_title {
        font-size: 24px;
        font-weight: 700;
    }

    .history_desc {
        color : lightgray;
        word-break: keep-all;
        font-weight: 300;
        line-height: 25px;
        max-height: 150px;
        overflow: auto;
    }

    .title_title {
        font-size: 20px;
        margin-bottom: 60px;
        padding-top:35px;
    }
}

.intro {
    padding: 4em 2em;
}

.demo {
    /*padding: 1em 2em;*/
}

.demo h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 1em;
}

.demo .flipster {
    /*margin: -1em -2em 1em -2em;*/
    margin: -2em 0 1em 0;
}

.code {
    display: block;
    background: #eee;
    padding: 1em;
    border-radius: 1em;
    margin: 2em auto;
    max-width: 30em;
    font-size: 0.8em;
    width: fit-content;
    white-space: pre-wrap;
}

.button {
    display: inline-block;
    padding: 5px 10px;
    margin: 0;
    background-color: #da0d25;
    background-position: center center;
    background-repeat: no-repeat;
    color: #FFF;
    text-shadow: none;
    vertical-align: middle;
    cursor: pointer;
    border: 0;
    transition: all 300ms ease;
}

.button:hover,
.button:focus {
    color: #7a0715;
    background: #f22840;
}

/*! jQuery.Flipster, v1.1.5 (built 2020-10-17) */
/* @group Flipster Essential Styles */
.flipster {
    display: block;
    overflow-x: hidden;
    /*overflow-y: visible; 21.2.8. 수정 */
    overflow-y: hidden;
    position: relative;
}
.flipster:focus {
    outline: none !important;
}
.flipster__container,
.flipster__item {
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: relative;
}
.flipster__container {
    display: block;
    white-space: nowrap;
    word-spacing: -0.25em;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.flipster__item {
    display: inline-block;
    white-space: normal;
    word-spacing: normal;
    vertical-align: bottom;
}
.flipster--click .flipster__item--past,
.flipster--click .flipster__item--future {
    cursor: pointer;
    -webkit-filter: blur(3px); -moz-filter: blur(3px); -o-filter: blur(3px); -ms-filter: blur(3px); filter: blur(3px);

}
.flipster__item img {
    max-width: 100%;
}
/* @end */

/* @group Flipster Previous & Next Buttons */
/*.flipster__button {*/
/*    position: absolute;*/
/*    top: calc(50% + 20px);*/
/*    display: block;*/
/*    -webkit-appearance: none;*/
/*    -moz-appearance: none;*/
/*    appearance: none;*/
/*    background: none;*/
/*    border: none;*/
/*    padding: 0;*/
/*    z-index: 999;*/
/*    cursor: pointer;*/
/*    font-size: 15px;*/
/*    opacity: 0.5;*/
/*    -webkit-transition: opacity 500ms ease;*/
/*    -o-transition: opacity 500ms ease;*/
/*    transition: opacity 500ms ease;*/
/*    margin: -1em 2em;*/
/*}*/
/*.flipster__button svg {*/
/*    color:white;*/
/*    width: 2em;*/
/*    stroke: currentColor;*/
/*    fill: transparent;*/
/*    stroke-width: 3;*/
/*    stroke-linecap: round;*/
/*}*/
/*.flipster__button:hover,*/
/*.flipster__button:focus {*/
/*    opacity: 1;*/
/*}*/
/*.flipster__button--prev {*/
/*    left: 24%;*/
/*}*/
/*.flipster__button--next {*/
/*    right: 24%;*/
/*}*/
/* @end */

/* @group Flipster Navigation */
/*.flipster__nav,*/
/*.flipster__nav__item {*/
/*    list-style-type: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/
/*.flipster__nav {*/
/*    width: 50%;*/
/*    display: block;*/
/*    border-width: 1px;*/
/*    border-style: solid;*/
/*    border-image: linear-gradient(to right, rgba(50,50,50,0.3) 0%, #999999 40%, #F0F0F0 50%, #999999 60%, rgba(50,50,50,0.3) 100%);*/
/*    border-image-slice: 1;*/
/*    border-image-width: 1px 0 1px 0;*/
/*    margin: 0 auto 4em;*/
/*    text-align: center;*/
/*    position: relative;*/
/*}*/
.flipster__nav__item {
    display: inline-block;
    margin: 0 0.25em;
}
.flipster__nav__link {
    display: block;
    color: rgba(237,237,237,0.2);
    margin-top : 5px;
    padding: 0.5em 1em;
    position: relative;
    overflow: hidden;
    -webkit-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
    -webkit-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    -o-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
}
.flipster__nav__link::after {
    content: '';
    display: block;
    background: #232221;
    position: absolute;
    top: 0;
    left: 0;
    font-size:18px;
    /*width: 100%;*/
    /*height: 100%;*/
    z-index: -1;
    -webkit-transform: translateY(100%) translateY(-0.25em);
    -ms-transform: translateY(100%) translateY(-0.25em);
    transform: translateY(100%) translateY(-0.25em);
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
}
.flipster__nav__item--current > .flipster__nav__link,
.flipster__nav__link:hover,
.flipster__nav__link:focus {
    color: white;
    font-weight: 700;
}
.flipster__nav__item--current > .flipster__nav__link::after,
.flipster__nav__link:hover::after,
.flipster__nav__link:focus::after {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
.flipster__nav__child {
    /* 21.4.28. history_title : 가로 스크롤 */
    white-space: nowrap;
    /*overflow-x: scroll;*/
    /* 21.5.22. 크롬에서 스크롤바 나옴 -> 삭제 */
    overflow-x: hidden;

    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: -1px;
    padding: 0.5em;
    z-index: 1;
}
.flipster__nav__child .flipster__nav__link {
    transition-duration: 1s;
}
.flipster__nav__child .flipster__nav__link::after {
    background: transparent;
}
.flipster__nav__child .flipster__nav__item--current > .flipster__nav__link,
.flipster__nav__child .flipster__nav__link:hover,
.flipster__nav__child .flipster__nav__link:focus {
    color: white;
}
.flipster__nav__item--current .flipster__nav__child {
    display: block;
}
/* @end */

/* @group Flipster Carousel Theme */
.flipster--carousel .flipster__container,
.flipster--carousel .flipster__item,
.flipster--carousel .flipster__item__content {
    -webkit-transition: all 2000ms ease-in-out;
    -o-transition: all 2000ms ease-in-out;
    transition: all 2000ms ease-in-out;
    -webkit-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    -o-transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
    transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
}
.flipster--carousel .flipster__item {
    -webkit-perspective: 800px;
    perspective: 800px;
}
.flipster--carousel .flipster__item--past,
.flipster--carousel .flipster__item--future {
    opacity: 0;
    -webkit-transition-delay: 500ms;
    -o-transition-delay: 500ms;
    transition-delay: 500ms;
}
/*.flipster--carousel .flipster__item--past-2,*/
/*.flipster--carousel .flipster__item--future-2 {*/
/*    opacity: 0.6;*/
/*    -webkit-transition-delay: 90ms;*/
/*    -o-transition-delay: 90ms;*/
/*    transition-delay: 90ms;*/
/*}*/
.flipster--carousel .flipster__item--past-1{
    opacity: 0.25;
    /*margin-right: -50px !important;*/
    -webkit-transition-delay: 60ms;
    -o-transition-delay: 60ms;
    transition-delay: 60ms;
}
.flipster--carousel .flipster__item--future-1 {
    opacity: 0.25;
    /*margin-left: 200px !important;*/
    -webkit-transition-delay: 60ms;
    -o-transition-delay: 60ms;
    transition-delay: 60ms;
}
.flipster--carousel .flipster__item--past .flipster__item__content {
    -webkit-transform: translateX(100%) rotateY(-20deg) scale(0.3);
    transform: translateX(100%) rotateY(-20deg) scale(0.3);
}
/*.flipster--carousel .flipster__item--past-2 .flipster__item__content {*/
/*    -webkit-transform: translateX(25%) rotateY(40deg) scale(0.65);*/
/*    transform: translateX(25%) rotateY(40deg) scale(0.65);*/
/*}*/
.flipster--carousel .flipster__item--past-1 .flipster__item__content {
    -webkit-transform: rotateY(-45deg) scale(0.6);
    transform: rotateY(-45deg) scale(0.6);
}
.flipster--carousel .flipster__item--future .flipster__item__content {
    -webkit-transform: translateX(-100%) rotateY(20deg) scale(0.3);
    transform: translateX(-100%) rotateY(20deg) scale(0.3);
}
/*.flipster--carousel .flipster__item--future-2 .flipster__item__content {*/
/*    -webkit-transform: translateX(-25%) rotateY(-40deg) scale(0.65);*/
/*    transform: translateX(-25%) rotateY(-40deg) scale(0.65);*/
/*}*/
.flipster--carousel .flipster__item--future-1 .flipster__item__content {
    -webkit-transform: rotateY(45deg) scale(0.6);
    transform: rotateY(45deg) scale(0.6);
}
.flipster--carousel.no-rotate .flipster__item--past .flipster__item__content {
    -webkit-transform: translateX(175%) scale(0.3);
    -ms-transform: translateX(175%) scale(0.3);
    transform: translateX(175%) scale(0.3);
}
/*.flipster--carousel.no-rotate .flipster__item--past-2 .flipster__item__content {*/
/*    -webkit-transform: translateX(25%) scale(0.65);*/
/*    -ms-transform: translateX(25%) scale(0.65);*/
/*    transform: translateX(25%) scale(0.65);*/
/*}*/
.flipster--carousel.no-rotate .flipster__item--past-1 .flipster__item__content {
    -webkit-transform: translateX(0%) scale(0.6);
    -ms-transform: translateX(0%) scale(0.6);
    transform: translateX(0%) scale(0.6);
}
.flipster--carousel.no-rotate .flipster__item--future .flipster__item__content {
    -webkit-transform: translateX(-175%) scale(0.6);
    -ms-transform: translateX(-175%) scale(0.6);
    transform: translateX(-175%) scale(0.6);
}
/*.flipster--carousel.no-rotate .flipster__item--future-2 .flipster__item__content {*/
/*    -webkit-transform: translateX(-25%) scale(0.65);*/
/*    -ms-transform: translateX(-25%) scale(0.65);*/
/*    transform: translateX(-25%) scale(0.65);*/
/*}*/
.flipster--carousel.no-rotate .flipster__item--future-1 .flipster__item__content {
    -webkit-transform: translateX(0%) scale(0.6);
    -ms-transform: translateX(0%) scale(0.6);
    transform: translateX(0%) scale(0.6);
}
.flipster--carousel .flipster__item--current .flipster__item__content {
    -webkit-transform: translateX(0) rotateY(0deg) scale(1);
    transform: translateX(0) rotateY(0deg) scale(1);
    -webkit-transition-delay: 60ms;
    -o-transition-delay: 60ms;
    transition-delay: 60ms;
}
/* @end */
