
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


/*main bg*/
#bgVideo {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    object-fit: cover;
    z-index: -1;
}



.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 120px 0;
    z-index: 3;
    animation: heroAnimation 5s;
}



/* 기존 로고 */
.default-logo {
    display: block;
}

/* 스크롤시 보여줄 로고 */
.scrolled-logo {
    display: none;
}




.myHeadingClass {
    padding-top: 30px;
    padding-bottom: 30px;

}




.custom-select,
.custom-input {
    height: 50px;
    vertical-align: middle;
}

.custom-select {
    margin-top: 0px;
}

.custom-input {
    margin-top: 14px;
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 25%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation-name: animatetop;
    animation-duration: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.button-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 10px;
}


@keyframes animatetop {
    from {top: -300px; opacity: 0;}
    to {top: 0; opacity: 1;}
}

#closeConfirmationModal {
    display: none;
}


.scroll-box {
    height: 400px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 20px;
}

/*제작과정 이미지 모달*/
.produceModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 143, 155, 0.7);
    z-index: 1000;
}

.produceModal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.17);
    top: 53px;
    width: 70%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.produceModal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .produceModal-content {
        width: 95%;
        height: 50%;
        top: 150px;
    }
}

@media (max-width: 768px) {
    .produceModal-content img{
        width: 110%;
        height: auto;
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
}


/*푸터 위치*/
.footer-custom-links {
    position: relative;
    bottom: 55px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .footer-custom-links {
        position: relative;
        bottom: 20px;
        font-size: 13px;
    }
}

.footer-custom-links a {
    color: black;
    font-weight: bold;

}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.about .content {
    text-align: center;
}


/* 상자 크기와 기본 스타일 */
.services-guide li {
    position: relative;
    float: left;
    width: 620px;
    height: 180px;
    border: 1px solid #e4e4e8;
    border-radius: 3px;
    margin: 0 10px 10px 0;
    padding-left: 50px;
}

/* 각 li 요소에 다른 배경 이미지 설정 */
.services-guide li.n1 em {
    background: url(/assets/img/c1.png) no-repeat;
    background-size: contain;
}
.services-guide li.n2 em {
    background: url(/assets/img/service2.png) no-repeat;
    background-size: contain;

}
.services-guide li.n3 em {
    background: url(/assets/img/service3.png) no-repeat;
    background-size: contain;

}
.services-guide li.n4 em {
    background: url(/assets/img/service4.png) no-repeat;
    background-size: contain;

}
.services-guide li.n5 em {
    background: url(/assets/img/service5.png) no-repeat;
    background-size: contain;

}
.services-guide li.n6 em {
    background: url(/assets/img/service6.png) no-repeat;
    background-size: contain;

}


.services-guide li.nn1 em {
    background: url(/assets/img/d1.png) no-repeat;
    background-size: contain;
}

.services-guide li.nn2 em {
    background: url(/assets/img/d2.png) no-repeat;
    background-size: contain;
}

.services-guide li.nn3 em {
    background: url(/assets/img/d3.png) no-repeat;
    background-size: contain;
}
.services-guide li.nn4 em {
    background: url(/assets/img/d4.png) no-repeat;
    background-size: contain;
}

/*이미지 크기 */
.services-guide li em {
    display: block;
    width: 90px;
    height: 90px;
    position: absolute;
    top: 50%;
    left: 50px;
    background-size: cover;
    transform: translateY(-50%);
}

/* 글 제목 크기 */
.services-guide h3.en {
    font-size: 1.5em;
    position: absolute;
    top: 30px;
    left: 180px;
}


/* 글 내용 위치 */
.services-guide li p {
    position: absolute;
    top: 70px;
    left: 180px;
    text-align: left;
}

ul, ol, li {
    list-style: none;
}


.services-guide li strong {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
}


@media only screen and (max-width: 768px) {
    .services-guide li {
        width: 95%;
        margin: 0 auto 10px;
    }

    .services-guide li p {
        left: 120px;
        font-size: 12px;
    }
    .services-guide h1.en {
        font-size: 1em;
        font-weight: bold;
        left: 120px;
    }

    .services-guide li em {
        left: 10px;
    }

    .services-guide h3.en {
        font-size: 1.1em;
        position: absolute;
        top: 30px;
        left: 124px;
    }



}

.main_services{
    margin-top: 50px;
}

.main_services-guide li.n1 em {
    background: url(/assets/img/main_service1.jpg) no-repeat;
    background-size: contain;
}
.main_services-guide li.n2 em {
    background: url(/assets/img/main_service2.jpg) no-repeat;
    background-size: contain;
}
.main_services-guide li.n3 em {
    background: url(/assets/img/main_service3.jpg) no-repeat;
    background-size: contain;
}
.main_services-guide li.n4 em {
    background: url(/assets/img/main_service4.jpg) no-repeat;
    background-size: contain;
}

.main_services-guide li {
    position: relative;
    float: left;
    width: 1250px;
    height: 400px;
    border: 1px solid rgba(19, 19, 239, 0);
    border-radius: 3px;
    margin: 5px 0;
    padding-left: 10px;
}
/*이미지 크기 */
.main_services-guide li em {
    display: block;
    width: 450px;
    height: 450px;
    position: absolute;
    top: 68%;
    left: 0;
    background-size: cover;
    transform: translateY(-50%);
    opacity: 1;
}

/* 글 제목 크기 */
.main_services-guide h3.en2 {
    font-size: 2.2em;
    font-weight: bold;
    position: absolute;
    top: 80px;
    left : 510px;
}

/* 글 내용 위치 */
.main_services-guide li p {
    position: absolute;
    top: 170px;
    text-align: left;
    font-size: 1.22em;
}
.main_services-guide li p,
.main_services-guide h1.en{
    left:510px;
}



@media (max-width: 768px) {
    .main_services-guide li em {
        display: block;
        width: 460px;
        height: 500px;
        position: absolute;
        top: 68%;
        left: 0;
        background-size: cover;
        transform: translateY(-50%);
        opacity: 0;
    }
    .main_services-guide li {
        position: relative;
        float: left;
        width: 300px;
        height: 370px;
        border: 1px solid rgba(213, 186, 199, 0);
        border-radius: 3px;
        margin: 0 10px;
        padding-left: 50px;
    }
    /* 글 제목 크기 */
    .main_services-guide h3.en2 {
        font-size: 1em;
        top: 50px;
    }

    /* 글 내용 위치 */
    .main_services-guide li p {
        position: absolute;
        top: 110px;
        text-align: left;
        font-size: 1em;
    }
    .main_services-guide li p,
    .main_services-guide h3.en2{
        left:10px;
    }

}



/*포트폴리오 css*/

.portfolio-item img {
    width: 450px;
    height: 320px;
    object-fit: contain;
}

@media (max-width: 768px) {


    .portfolio .portfolio-item:hover .portfolio-info {
        opacity: 1;
        bottom: 60px;
    }

}



.pc_only {
    display: none !important;
}

@media (min-width: 992px) {
    .pc_only {
        display: block !important;
    }
}

.cusf {
    font-size: 20px;
}

.gfwf{
    font-size:22px;
}

body{
    font-size:16px;
}
@media (max-width: 768px) {
    .cusf {
        font-size: 14px;
        font-weight: bold;
    }
    body {
        font-size: 14px;
    }

    h5{
        font-size:16px;
    }

    .asdw li{
        line-height: 180%;
    }

    .gfwf{
        font-size:17px;
    }

}

.table-responsive {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}