@charset "UTF-8";

/*
 * carousel
 */

/* 기본 스타일 */
.work-section {
   /* background-color: rgb(0, 0, 0);*/
    position: relative;
    z-index: 10;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

/* 패널 스타일 */
.work-section .section-body {
    height: 400px;
    position: relative;
}

    .work-section .section-body .image-wrapper {
        height: 100%;
        min-width: 100%;
        overflow: hidden;
        position: absolute;
        width: 100%;
    }

        .work-section .section-body .image-wrapper img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            top: 0;
            left: 0;
        }

    .work-section .section-body .content {
        color: rgb(255, 255, 255);
        text-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
        width: 960px;
        margin: auto;
        position: relative;
    }

        .work-section .section-body .content > .inner {
            position: absolute;
            width: 450px;
        }

    .work-section .section-body #work01 .content > .inner {
        top: 20px;
        left: 680px;
    }

    .work-section .section-body .title {
        font-size: 50px;
        font-weight: normal;
        text-transform: uppercase;
    }

    .work-section .section-body .description {
        font-size: 16px;
        line-height: 1.3;
    }

    .work-section .section-body .read-more {
        font-size: 14px;
        text-transform: uppercase;
        display: inline-block;
        padding: 0.25em 1em;
        margin-top: 1.5em;
        border: 2px solid;
        letter-spacing: 1px;
    }

.textshadow .work-section .section-body .read-more {
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.5) inset;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 2px rgba(0, 0, 0, 0.5) inset;
}

/* 반응형 스타일: 작은 화면 (sm 이하) */
@media (max-width: 768px) {
    /* 이미지 넓이를 100%로 조정하고 높이는 자동 조정 */
    .work-section .section-body .image-wrapper img {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        top: 0;
    }

    /* 텍스트 컨텐츠 가운데 정렬 */
    .work-section .section-body .content {
        width: 100%;
        padding: 0 15px;
    }

        .work-section .section-body .content > .inner {
            width: 100%;
            position: relative;
            top: 80px;
            left: 0;
            margin: 0 auto;
        }

    /* 제목과 설명 폰트 크기 조정 */
    .work-section .section-body .title {
        font-size: 24px;
        font-weight: bold;
    }

    .work-section .section-body .description {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 읽기 버튼 가운데 정렬 */
    .work-section .section-body .read-more {
        display: block;
        margin: 1em auto;
    }

    /* 내부 요소의 넓이 조정 */
    .work-section .section-body #work01 .content > .inner {
        top: 10px;
        left: 0;
        width: 100%;
        text-align: left;
    }
}

/*
 * carousel image
 */

    .carousel-caption {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 118%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-item {
        position: relative;
        height: 400px;
        background-size: cover;
        background-position: center;
    }

    /*.carousel-caption-content {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 20px;
        text-align: center;
    }

    .carousel-caption-content1 {
        background-color: rgba(13, 110, 253, 0.8);
        padding: 20px;
        text-align: center;
    }

    .carousel-caption-content2 {
        background-color: rgba(25, 135, 84, 0.8);
        padding: 20px;
        text-align: center;
    }

    .carousel-caption-content3 {
        background-color: rgba(255, 193, 7, 0.8);
        padding: 20px;
        text-align: center;
    }*/

