/*
기본 CSS를 작성합니다
기본으로 작성되는 CSS는 1199px보다 큰 화면에서 작동 됩니다.
*/


section {
    width: 100%;
    margin: 0 auto;
}

.hero-section {
    width: 100%;
    max-width: 98rem;
    height: 15rem;
    margin: 8rem auto 0;
    transition: all 0.3s ease;
}

.hero-content {
    width: 100%;
    height: 100%;
    padding: 3rem 5rem;
}

.title-wrapper {
    width: 100%;
    text-align: center;
    padding: 0 3rem;
    margin: 1rem 0;
}

.breadcrumb li, .breadcrumb li a {
    font-family: "Noto Sans KR", sans-serif;
    color: #999;
    white-space: nowrap;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

.breadcrumb-item.active, .breadcrumb-item.active a {
    color: var(--brand-color);
}

.title-wrapper span {
    font-family: "Noto Sans KR", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-color);
}

.gall-section {
    width: 100%;
    max-width: 98rem;
    min-height: 70rem;
    transition: all 0.3s ease;
}

.gall-content {
    width: 100%;
    height: 100%;
    text-align: center;
}

.btn-group {
    flex-wrap: wrap;
    justify-content: center;
}

.btn-group-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    border: 0.5px solid #dee2e6;
    border-left-width: 0.5px !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
    margin: .5rem !important;
    font-family: 'Noto Sans KR', sans-serif;
    width: 8rem;
}

.btn-check:checked + .btn {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    margin: .5rem !important;
    color: white;
}

.gall-wrapper {
    padding: 5rem 8rem;

}

.viewer-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
}

.img-wrapper {
    aspect-ratio: 1/1;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.gall-img {
    width: 100%;
    height: 100%;
    transition: all .3s ease;
    object-fit: cover;
}

.img-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3rem;
    background-color: rgba( 0, 0, 0, 0.3 );
    display: none;
}

.img-wrapper:hover .img-cover{
    display: block;
    cursor: pointer;
}

.img-wrapper:hover .gall-img {
    transform: scale(1.2);
}


.img-box {
    border: 1px solid white;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;

}

.img-box span {
    color: white;
    font-family: 'Noto Sans KR', sans-serif;
}


/*테스크탑 (가로 해상도가 1200px 보다 작은 화면에 적용)*/
@media (max-width: 1199px) {

    .hero-section {
        height: 10rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .gall-section {
        min-height: 60rem;
    }


}

/*태블릿 디바이스 (가로 해상도가 992px 보다 작은 화면에 적용)*/
@media (max-width: 991px) {
    .gall-section {
        min-height: 50rem;
    }

    .gall-wrapper {
        padding: 5rem;
    }


}

/*가로모드 모바일 디바이스 (가로 해상도가 768px 보다 작은 화면에 적용)*/
@media (max-width: 767px) {
    .gall-wrapper {
        padding: 3rem;
    }


}

/*세로모드 모바일 디바이스 (가로 해상도가 576px 보다 작은 화면에 적용)*/
@media (max-width: 575px) {

    .hero-section {
        height: 8rem;
        margin-top: 6rem;
    }

    .title-wrapper {
        padding: 0;
        margin: 0 auto;
    }

    .btn-group-item {
        width: 6rem;
    }

    .gall-wrapper {
        width: 100%;
        margin: auto;
        padding: 3rem 1rem;
    }

}

