@charset "utf-8";

@media screen and (width >= 1200px) {
    /*MAIN SECTION*/
    body {
        position: relative;
        overflow-x: hidden;
    }

    #main_section {
        height: 6500px;
    }

    #main_section p {
        text-align: center;
        word-break: keep-all;
    }

    #main_section .full_inner {
        position: sticky;
        top: 0px;
        width: 100vw;
        height: 100vh;
    }


    @keyframes howl_move {
        to {
            transform: translate(0, 0);
        }

        from {
            transform: translate(5px, 0px);
        }
    }

    @keyframes howl_background_move {
        to {
            background-position: 0% 50%;
        }

        from {
            background-position: 50% 50%;
        }
    }



    section .full_inner #scroll_info span {
        color: #00B6FF;
    }

    .full_inner-middle{
        display: none;
    }


    /*Introduce Ghibli*/
    #introduce_ghibli .inner {
        height: 1000px;

    }

    #introduce_ghibli .inner img {
        width: 60%;
        position: absolute;
        top: 10%;
        left: 20%;
    }

    #introduce_ghibli .inner .arrow_down {
        position: absolute;
        bottom: 200px;
        left: 50%;
    }

    /*About Ghibli*/
    #about_ghibli {
        background-color: rgba(0, 182, 255, 0.1);
        width: 100vw;
    }

    #about_ghibli .inner {
        height: 1300px;
    }

    #about_ghibli .inner #about_ghibli_article_align {
        width: 100%;
        height: 100%;
        display: flex;
        flex-flow: column wrap;
        row-gap: 6%;
        justify-content: center;
        align-content: space-evenly;

    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_korean_name {
        font-size: 12em;
        font-weight: 800;
        padding-top: 20px;
        font-family: 'Nanum Gothic', sans-serif;
    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_english_name {
        font-size: 9em;
        font-weight: 800;
        padding-top: 4px;
        font-family: 'Nanum Gothic', sans-serif;
    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_article1,
    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_article2 {
        width: 38%;
        background-color: #ffffff;
        border-radius: 20px;
        padding-top: 88px;
        padding: 100px 40px;

    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_article2 ul {
        padding-left: 4%;
    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_article2 ul li {
        list-style-type: disc;
    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_article3 {
        width: 38%;
        background-color: #ffffff;
        border-radius: 20px;
        padding: 100px 40px;
    }

    #about_ghibli .inner #about_ghibli_article_align #about_ghibli_article3 #about_ghibli_article3_btn {
        margin-top: 50px;
    }

    /*Ghibli Animation*/
    #article_area-middle{
        display: none;
    }
    #ghibli_animation .inner {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-evenly;
    }

    #ghibli_animation .inner #article_area {
        width: 90%
    }

    #ghibli_animation .inner .article_category,
    #ghibli_animation .inner .arrow_down {
        width: 100%;
    }

    #ghibli_animation .inner #pagination_area {
        width: 2%;
    }

    #ghibli_animation .inner #pagination_area #pagination {
        position: sticky;
        display: flex;
        flex-direction: column;
        width: 24px;
        row-gap: 15px;
        top: 45%;
        transition: all 0.5s;
    }

    #ghibli_animation .inner #pagination_area #pagination a {
        display: block;
        width: 100%;
        height: 24px;
        border-radius: 24px;
        background-color: rgba(0, 182, 255, 0.2);
    }

    #ghibli_animation .inner #pagination_area #pagination a.active {
        background-color: #00B6FF;
    }

    #ghibli_animation #ghibli_animation_article1 {
        text-align: center;
        position: relative;
        height: 900px;
        scroll-margin-top: 120px;
        box-sizing: content-box;
        padding-bottom: 140px;
    }
    #ghibli_animation #ghibli_animation_article1 .article_content{
        width:60%;
        text-align: center;
        margin: 0 auto;
    }
    #ghibli_animation #ghibli_animation_article1 button {
        margin-top: 36px;
    }

    #ghibli_animation img {
        width: 100%;
    }

    #ghibli_animation #ghibli_animation_article1_all {
        position: absolute;
        bottom: 136px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
        margin: 0;
        transition: all 0.5s;
    }

    #ghibli_animation #ghibli_animation_article1_img_background {
        position: absolute;
        bottom: 140px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 25%;
        border-radius: 500px;
        overflow: hidden;
        z-index: -1;
        background-image: url('../img/main/aniamtion_SpiritedAway_Background2.jpg');
        background-position: bottom;
        background-repeat: no-repeat;
        background-size: cover;
    }

    #ghibli_animation #ghibli_animation_article1_haku {
        width: 100%;
        transition: all 0.5s;
    }

    #ghibli_animation #ghibli_animation_article1_haku img:nth-child(1) {
        position: absolute;
        width: 45%;
        bottom: 140px;
        left: 15%;
        z-index: 1;
        animation: rightToLeft 3s ease alternate infinite;
    }

    #ghibli_animation #ghibli_animation_article1_haku img:nth-child(2) {
        position: absolute;
        width: 42%;
        right: 10%;
        z-index: 1;
        animation: haku 3s ease alternate infinite;
    }


    @keyframes haku {
        to {
            transform: translateY(-20px);
        }

        from {
            transform: translateY(0px);
        }
    }

    #ghibli_animation #ghibli_animation_article1_img_background_first {
        transition: all 0.5s;
    }

    #ghibli_animation .article_row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 800px;
    }



    #ghibli_animation .article_row .article_align {
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 8%;
    }

    #ghibli_animation .article_row .article_left {
        width: 40%;
    }

    #ghibli_animation .article_row .article_right {
        position: relative;
        height: 500px;
        width: 40%;
    }

    #ghibli_animation .article_row .article_background {
        z-index: -1;
        right: 0;
        border-radius: 50% 50% 0% 0%;
        background: url('../img/main/animation_howl_Background.jpg') center / cover no-repeat;
        animation: rightToTopBackground 50s ease alternate infinite;
    }

    #ghibli_animation .article_right .article_element {
        width: 110%;
        position: absolute;
        bottom: 0;
        animation: rightToLeft 3s ease alternate infinite;
    }

    @keyframes rightToLeft {
        to {
            transform: translateX(-30px);
        }

        from {
            transform: translateX(-20px);
        }
    }

    @keyframes rightToTopBackground {
        to {
            background-position: 40% 0%
        }

        from {
            background-position: 50% 0%
        }
    }

    #ghibli_animation_article3.article_row .article_align {
        flex-direction: row-reverse;
    }

    #ghibli_animation_article3.article_row .article_background {
        position: relative;
        z-index: -1;
        right: 0;
        border-radius: 50% 50% 0% 0%;
        background: url('../img/main/aniamtion_totoro_Background1.png') center / cover no-repeat;
        animation: righToLeftBackground2 50s ease alternate infinite;
    }

    #ghibli_animation_article3.article_row .article_background img:nth-child(1) {
        position: absolute;
        top: 0%;
        left: -10%;
        width: 40%;
        animation: bottomToTop 2s alternate infinite;
    }

    #ghibli_animation_article3.article_row .article_background img:nth-child(2) {
        position: absolute;
        right: -20%;
        top: 40%;
        width: 70%;
        animation: bottomToTop 2s -1s alternate infinite;
    }

    @keyframes bottomToTop {
        to {
            transform: translateY(0px);
        }

        from {
            transform: translateY(10px);
        }
    }

    @keyframes righToLeftBackground2 {
        to {
            background-position: 50% 0%
        }

        from {
            background-position: 60% 0%
        }
    }


    #ghibli_animation_article4.article_row .article_background {
        position: relative;
        z-index: -1;
        right: 0;
        border-radius: 50% 50% 0% 0%;
        background: url('../img/main/aniamtion_mononoke_Background.png') center / cover no-repeat;
        animation: righToLeftBackground2 50s ease alternate infinite;
    }

    #ghibli_animation_article4.article_row .article_background img {
        position: absolute;
        bottom: 0;
        left: -10%;
        width: 100%;
        animation: rightToLeft2 3s alternate infinite;
    }

    @keyframes rightToLeft2 {
        to {
            transform: translateX(20px);
        }

        from {
            transform: translateX(30px);
        }
    }

    /*ghibli_others*/
    #ghibli_others .flip-line-middle{
        display: none;
    }
    #ghibli_others .inner .flip-line {
        width: 100%;
        height: 3000px;
        padding-bottom: 500px;
        position: relative;
    }

    .others-flip-all {
        position: sticky;
        top: 30%;
        bottom: 30%;
        transition: all 0.5s;
        width: 1200px;
    }

    .others-flip-all .others-flip-align {
        display: flex;
        column-gap: 30px;
        align-items: center;
        width: 100%;
        position: absolute;
    }

    .others-flip-all #others-flip-2 {
        left: 100%;
    }

    .others-flip-all .others-flip-align .flip-content {
        width: 430px;
        margin-left: 30px;
    }

    .others-flip-all .others-flip {
        width: 325px;
        perspective: 1000px;
    }

    .others-flip-all .others-flip:hover {
        cursor: pointer;
    }

    .others-flip-all .flip-inner {
        position: relative;
        width: 100%;
        height: 460px;
        text-align: center;
        transition: transform 0.6s;
        transform-style: preserve-3d;
    }

    .others-flip-all .flip-inner img {
        width: 100%;
        height: 100%;
    }

    .others-flip:hover .flip-inner {
        transform: rotateY(180deg);
    }

    .others-flip-all .flip-inner .flip-front,
    .others-flip-all .flip-inner .flip-back {
        position: absolute;
        width: 100%;
        height: 100%;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        overflow: hidden;
        border-radius: 20px;
    }

    .others-flip-all .flip-inner .flip-back {
        transform: rotateY(180deg);
    }

    /*ghibli_world*/
    #ghibli_world .inner {
        height: 1100px;
    }


    #ghibli_world .full_inner#ghibli_world_background {
        margin-top: 100px;
        background-image: url('../img/main/ghibli_world.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        height: 614px;
        display: flex;

    }

    #ghibli_world .full_inner#ghibli_world_background .inner svg {
        margin: 0 auto;
    }

    #ghibli_world .full_inner#ghibli_world_background .inner h3 {
        margin-top: 0px;
        padding-top: 200px;
        padding-bottom: 150px;
        color: #FFFFFF;
    }


    #ghibli_world .inner_article {
        position: relative;
    }

    .ghibli_world_tour:nth-child(1) {
        width: 46%;
        position: absolute;
        top: 250px;
        left: 0;

    }

    .ghibli_world_tour:nth-child(2) {
        width: 46%;
        position: absolute;
        top: 350px;
        right: 0;

    }

    .ghibli_world_tour .material-icons {
        color: #00B6FF;
        transform: translateY(4px);
    }

    .ghibli_world_tour button {
        margin: 30px auto;
    }

    .ghibli_world_tour .ghibli_world_tour_img_1 {
        width: 100%;
        height: 450px;
        background: url('../img/main/ghibli_world_tour_1.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        border-radius: 0 0 20px 20px;
    }

    .ghibli_world_tour .ghibli_world_tour_img_2 {
        width: 100%;
        height: 450px;
        background: url('../img/main/ghibli_world_tour_2.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        border-radius: 0 0 20px 20px;
    }

    /*ghibli_notice*/
    #ghibli_notice {
        position: relative;
    }

    #ghibli_notice .inner {
        overflow: hidden;
        padding-bottom: 100px;
    }

    #ghibli_notice svg {
        margin-bottom: 300px;
    }

    #ghibli_notice .ghibli_notice_background {
        position: absolute;
        bottom: -150px;
        z-index: -1;
        width: 100vw;
        height: 760px;
        transform: translateY(-100px);
        background-color: rgba(0, 182, 255, 0.1);
    }

    #notice_article {
        position: relative;
        width: 3600px;
        height: 560px;
        display: flex;
    }

    #notice_article .notice {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 1200px;
        height: 560px;
    }


    #ghibli_notice #notice_article .notice_poster {
        width: 400px;
        border-radius: 10px;
        transform: translateY(-80px);
    }

    #ghibli_notice #notice_article .notice_poster img {
        width: 100%;
    }

    #ghibli_notice #notice_article .notice_right {
        margin-bottom: 70px;
        width: 40%;
    }

    #ghibli_notice .slide_button {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    #ghibli_notice button#prev {
        margin-right: 60px;
    }

    #ghibli_notice button#prev,
    #ghibli_notice button#next {
        width: 80px;
        height: 80px;
        background-color: #ffffff;
        border: 2px solid #ffffff;
        border-radius: 50%;
        outline: none;
        transition: all 0.3s;
        cursor: pointer;
    }

    #ghibli_notice button#prev:hover,
    #ghibli_notice button#next:hover {
        border: 2px solid #00B6FF;
    }

    #ghibli_notice button span {
        color: #00B6FF;
        font-size: 3em;
        transform: translateY(2px);
    }

    #ghibli_notice button#prev span {
        transform: translate(6px, 2px);
    }




    /*main change*/
    /*main에서 scroll 할때 각각의 css 변경사항*/

    /*BASIC*/
    #main_section .full_inner #img_box {
        position: absolute;
        margin: 0 auto;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        overflow: hidden;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-image: url('../img/main/howl_background.png');
        background-repeat: no-repeat;
        background-size: auto 100%;
        animation: howl_background_move 200s alternate infinite;
        background-position: 100% 50%;
        transition: all 1s;
    }

    #main_section .full_inner #img_box #howl {
        position: absolute;
        left: -25%;
        bottom: 0%;
        width: 150%;
        top:20%;
        animation: howl_move 1.5s alternate infinite;
        transition: all 1s;
    }

    section .full_inner #studioGhibli_write {
        position: absolute;
        width: 600px;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: opacity 0.5s;
        opacity: 1;
    }
    section .full_inner #scroll_info {
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translate(-50%);
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 2px solid #00B6FF;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        color: #00B6FF;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 4em;
        row-gap: 4px;
        opacity: 0;
        transition: all 0.5s;
    }

    #main_section .full_inner #change_img_box {
        opacity: 0;
        position: absolute;
        width: 100vw;
        height: 100vh;
        background-color: white;
        transition: opacity 0.5s;
    }

    #main_section .full_inner #change_img_text {
        font-size: 30px;
        font-weight: 800;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition-delay: 0.5s;
        transition: all 0.5s;
    }
    /*여기서 부터 HEADER 지점*/
    header .inner #logo a #logo_img #logo_img_blue {
        opacity: 1;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s;
        width: 100%;
    }

    header .inner #logo a #logo_img #logo_img_white {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        transition: all 1s;
        width: 100%;
    }



    /*FIRST*/
    #main_section .full_inner #img_box.hdfirst {
        background-size: cover;
    }
    #main_section .full_inner #img_box #howl.hdfirst {
        bottom: 0%;
        left: -25%;
        width:150%;
        top:20%;
    }
    section .full_inner #studioGhibli_write.hdfirst {
        opacity:0;
    }
    section .full_inner #scroll_info.hdfirst {
        opacity:0;
    }
    header .inner #logo a #logo_img #logo_img_blue.hdfirst {
        opacity: 1;
    }
    header .inner #logo a #logo_img #logo_img_white.hdfirst {
        opacity: 0;
    }

    /*SECOND*/
    #main_section .full_inner #img_box.hdsecond {
        width:100% !important;
        height:100% !important;
        border-radius:0;
        opacity:1;
        background-size: cover;
    }
    #main_section .full_inner #img_box #howl.hdsecond {
        top: 20%;
        left: 0%;
        width:100%;
        bottom:auto;
    }
    section .full_inner #studioGhibli_write.hdsecond{
        opacity:0;
    }
    section .full_inner #scroll_info.hdsecond {
        opacity:1;
    }
    #main_section .full_inner #change_img_box.hdsecond,
    #main_section .full_inner #change_img_text.hdsecond{
        opacity: 0;
    }
    header .inner #logo a #logo_img #logo_img_blue.hdsecond {
        opacity: 0;
    }
    header .inner #logo a #logo_img #logo_img_white.hdsecond {
        opacity: 1;
    }
    .first_category.hdsecond, 
    #logo_text.hdsecond,
    header .inner ul #language_select #language_icon.hdsecond, 
    header .inner ul #language_select #language-korean.hdsecond {
        color: #ffffff;
    }


    /*THIRD*/
    #main_section .full_inner #img_box.hdthird {
        width:100% !important;
        height:99% !important;
        border-radius:0;
        opacity:1;
        background-size: cover;
    }
    #main_section .full_inner #img_box #howl.hdthird {
        top: 20%;
        left: 0%;
        width:100%;
        bottom:auto;
    }
    section .full_inner #studioGhibli_write.hdthird {
        opacity:0;
    }
    section .full_inner #scroll_info.hdthird {
        opacity:1;
    }
    #main_section .full_inner #change_img_box.hdthird,
    #main_section .full_inner #change_img_text.hdthird{
        opacity: 1;
    }
    header .inner #logo a #logo_img #logo_img_blue.hdthird {
        opacity: 1;
    }
    header .inner #logo a #logo_img #logo_img_white.hdthird {
        opacity: 0;
    }
    .first_category.hdthird, 
    #logo_text.hdthird,
    header .inner ul #language_select #language_icon.hdthird, 
    header .inner ul #language_select #language-korean.hdthird {
        color: #00B6FF;
    }
}