/* research_page_style.css */

/* 기존 필터 관련 */
.filter {
    display: none;
}

.research-btn {
    background-color: coral;
    color: white;
    border-color: coral;
}

.research-btn:hover {
    background-color: coral;
    border-color: coral;
    color: white;
}

.bg-light {
    --bs-bg-opacity: 0 !important; /* 배경 투명하게 설정 */
}

/* 이미지 hover 시 확대 효과 */
.img-custom-size {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease; /* 부드러운 애니메이션 효과 추가 */
}

.img-custom-size:hover {
    transform: scale(1.05); /* 1.05배 확대 */
}

/* 팝업 배경 */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 반투명 검정 */
    display: none; /* 기본적으로 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 팝업 이미지 */
.image-popup-overlay img {
    max-width: 90%; /* 화면 크기 대비 최대 크기 */
    max-height: 90%;
    border-radius: 10px; /* 약간의 둥근 모서리 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* 그림자 효과 */
    animation: popup-scale 0.3s ease; /* 팝업 효과 */
}

/* 팝업 애니메이션 */
@keyframes popup-scale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-padding {
    padding-top: 20px !important;
    padding-left: 0px;
    padding-right: 0px;
}