@import url(http://fonts.googleapis.com/earlyaccess/kopubbatang.css);

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
}

.screen-box::-webkit-scrollbar {
    display: none
    /* Chrome , Safari , Opera */
}

.yellow_txt {
    color: #f6c83a;
}


.sect1 {
    height: 900px;
}


/******sect0 메인문구 ******/


.sect0 {
    padding: 15% 0;
    background: #f5f5f5;
}

/******sect1 비디오******/


.sect1 video {
    object-fit: cover;
}


/******sect2,3 슬라이더부분******/

.sect2 {
    padding: 3.7% 0;
    background-color: #fafaf5;
}


.sect3 {
    padding: 3.7% 0;
    background-image: url('../images/sect3_bg_img.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.sect2_slide {
    width: 95%;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sect2_slide ul {
    width: 100%;
    display: flex;
    margin: 0 20px;
}

.sect2_slide ul li {
    width: fit-content;
    height: fit-content;
}


.sect3_slide {
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sect3_slide ul {
    width: 100%;
    display: flex;
    margin: 0 20px;
}

.sect3_slide ul li {
    width: 564px;
    height: 230px;
}

.slick-track {
    display: flex !important;
    opacity: 1;
}

.slide_thumb {
    width: 89%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide_thumb img {
    width: 100%;
    display: block;
}

.slide_thumb iframe {
    width: 100%;
    height: 200px;
    /* Adjust as needed */
}

.prev_btn,
.next_btn {
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev_btn img,
.next_btn img {
    width: 26px;
    height: 42px;
}


/*****sect4 텍스트애니메이션****/
.sect4 {
    height: 800px;
    background: white;
}


.wrapper {

    overflow-x: hidden;
    background-color: #ffffff;
    /* transform: translate(-50%, -50%); */
    white-space: nowrap;
}

.focus {
    position: absolute;
    margin-top: 220px;
    /* background-color: #f6c83a; */
    width: fit-content;
    font-size: 200px;
    transform: translateY(-50%);
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: blur(3px);
    opacity: 0.6;
    color: #f6c83a;
}

.mask {
    position: absolute;
    /* background-color: #b1a993; */
    width: 280px;
    padding-right: 987px;
    margin-bottom: 16px;
    /* border: 3px solid salmon; */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip: rect(33px, 247px, 230px, 0px);
    color: #f6c83a;

    transform: translateX(0);
    box-sizing: border-box;
    animation: mask 2.8s ease infinite alternate;
}

.text {
    font-size: 200px;
    transform: translateX(0);
    animation: text 2.8s ease infinite alternate;
}

@keyframes mask {
    to {
        transform: translateX(750px);
    }
}

@keyframes text {
    to {
        transform: translateX(-750px);
    }
}

/******sect5******/


.sect5 {
    transition: background-image 0.2s ease;
    height:1500px;
    background-image: url('../images/sect5_img1.webp');
    background-repeat: no-repeat;
    background-size: cover;
}

.sect5 .sect5_title {
    padding-top: 15%;
}

.sect5 .view_more {
    width: 180px;
    height: 50px;
    border-radius: 30px;
}

.sect5 .sect5_boxs_wrap {
    padding-right: 5%;
}

.sect5 .box {
    width: 331px;
    height: 380px;
    background: rgba(0, 0, 0, 0.479);
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.sect5 .box:hover {
    background: rgb(255, 255, 255);
}

.sect5 .box:hover p {
    color: #111111;
}

.sect5[data-bg="1"] {
    background-image: url('../images/sect5_img1.webp');
}

.sect5[data-bg="2"] {
    background-image: url('../images/sect5_img2.webp');
}

.sect5[data-bg="3"] {
    background-image: url('../images/sect5_img3.jpg');
}

.sect5[data-bg="4"] {
    background-image: url('../images/sect5_img4.webp');
}

.sect5[data-bg="5"] {
    background-image: url('../images/sect5_img5.webp');
}


/* .sect5 .box1:hover~.sect5 {
 background-image: url('../images/sect5_img1.png');
}

.sect5 .box2:hover~.sect5 {
 background-image: url('../images/sect5_img2.png');
}

.sect5 .box3:hover~.sect5 {
 background-image: url('../images/sect5_img3.png');
}

.sect5 .box4:hover~.sect5 {
 background-image: url('../images/sect5_img4.png');
}

.sect5 .box5:hover~.sect5 {
 background-image: url('../images/sect5_img5.png');
} */

.sect5 .box .sect5 .box img {
    margin-bottom: 30px;
    transition: display 0.3s ease;
}

.sect5 .box .show {
    display: block;
}

.sect5 .box .no-show {
    display: none;
}

.sect5 .box:hover .show {
    display: none;
}

.sect5 .box:hover .no-show {
    display: block;
}

.sect5 .box_title {
    margin-bottom: 25px;
}


/******sect6******/


.sect6 {
    padding: 10% 0;
}


.sect6_title {
    margin-bottom: 50px;
}

.sect6 .sect6_boxs_wrap {
    height: 650px;
    overflow: hidden;
}

.sect6 .sect6_box {
    transition: all 1.5s cubic-bezier(0, 1, .34, .99);
    overflow: hidden;
    position: relative;
    padding: 20px 15px;
    background-position: center;
    background-size: cover;
    transform: scale(1);
}

.sect6 .sect6_box:hover {
    width: 35%;
    transform: scale(1.2);
}

.sect6 .sect6_box1 {
    width: 23.2%;
    background-image: url('../images/sect6_img1.png');
}

.sect6 .sect6_box2 {
    width: 23.2%;
    background-image: url('../images/sect6_img2.png');
}

.sect6 .sect6_box3 {
    width: 23.2%;
    background-image: url('../images/sect6_img3.png');
}

.sect6 .sect6_box4 {
    width: 23.2%;
    background-image: url('../images/sect6_img4.png');
}

.sect6 .sect6_box .no-show {
    display: none;
}

.sect6 .sect6_box:hover .no-show {
    display: block;
}

.sect6 .sect6_box:hover .sect6_box_title,
.sect6 .sect6_box:hover .sect6_box_content {
    padding-left: 10%;
}

.sect6 .sect6_box_title {
    margin-bottom: 50px;
}

.sect6 .sect6_box_content {
    padding-bottom: 20%;
}


/******sect7******/


.sect7 {
    padding: 10% 0;
    background-image: url(../images/sect7_bg_img.png);
}


.sect .sect7_main_text {
    margin-bottom: 6%;
    font-family: 'KoPub Batang', serif;
}

.sect .sect7_title {
    margin-bottom: 50px;
}

.sect7 .youtube_thumb iframe {
    height: 800px;
    /*height: auto;*/
}


/* mobile */
@media screen and (max-width: 767px) {

    .sect0 {
        padding: 30% 0;
    }

    .sect0 .sect0_txt {
        font-size: 35px !important;
    }


    .sect1 {
        height: 300px;
    }

    .sect1 video {
        object-fit: cover;
    }

    .sect2_slide ul li {
        width: fit-content;
        height: auto;
    }

    .prev_btn img, .next_btn img {
        width: 10px;
        height: 12px;
    }
    .sect2_slide {
        width: 93%;
    }
    .sect3_slide {
        width: 93%;
    }
    .sect2_slide ul {
        width: 99%;
        display: flex;
        margin: 0 5px;
    }

    .sect3_slide ul {
        width: 99%;
        display: flex;
        margin: 0 5px;
    }

    .slide_thumb {
        width: 100%;
    }

    .slide_thumb iframe {
        width: 94%;
        height: 118px;
    }


    .sect4 {
        height: 400px;
        background: white;
    }

    .focus {
        font-size: 62px;
        margin-top: 57px;
    }

    .mask .text {
        font-size: 62px;
    }

    .mask {
        padding-right: 316px;
        margin-bottom: 16px;
        clip: rect(0px, 50px, 78px, 0px);
        color: #f6c83a;
    }

    @keyframes mask {
        to {
            transform: translateX(320px);
        }
    }

    @keyframes text {
        to {
            transform: translateX(-320px);
        }
    }



    .sect5 {
        height: fit-content;
        padding: 19% 0;
    }

    .sect5 .sect5_title {
        padding-top: 0;
    }

    .sect5 .box {
        width: 41vw;
        padding: 0 7px;
        height: 227px;
    }

    .sect5 .box img {
        width: 50px;
        height: auto;
    }

    .sect5 .sect5_title {
        padding-top: 0;
        margin-bottom: 15%;
    }

    .sect5 .sect5_boxs_wrap {
        padding-right: 0;
    }


    .sect6 .sect6_boxs_wrap {
        height: 433px;
    }

    .sect6 .sect6_box:hover {
        width: 85%;
        transform: scale(1.2);
    }

    .sect6 .sect6_box:hover .sect6_box_title, .sect6 .sect6_box:hover .sect6_box_content {
        padding-left: 4%;
        padding-right: 8%;
    }

    .sect6 .sect6_box_content {
        padding-bottom: 44%;
    }

    .sect6 .sect6_box_title {
        font-size: 1.39em !important;
    }
    .sect6 .sect6_box_content {
        font-size: 0.87rem !important;
    }

    .sect6 .sect6_box {
        padding: 8px 10px;
    }
    .sect6 .sect6_box_title {
        margin-bottom: 22px;
    }

    .sect .sect7_main_text {
        height: 168px;
    }

    .sect7 .youtube_thumb iframe {
       height: auto;
        /*height: 212px;*/
    }

}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    /*.sect0 {*/
    /* height: 400px*/
    /*}*/
    /*.sect0 .sect0_txt {*/
    /* font-size: 75px !important;*/
    /*}*/
    .sect1 {
        height: 500px;
    }

    /*.sect1 video {*/
    /* object-fit: cover;*/
    /*}*/


}