@charset "UTF-8";

@font-face {
    font-family: 'NANUM_DB';
    src: url('../font/NANUMSQUAREROUNDB.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NANUM_EB';
    src: url('../font/NANUMSQUAREROUNDEB.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NANUM_L';
    src: url('../font/NANUMSQUAREROUNDL.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NANUM_R';
    src: url('../font/NANUMSQUAREROUNDR.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@-webkit-keyframes scale-up-center {
    0% {
        opacity: 0;
    }
    30%{opacity:0}
    100% {
        opacity: 1;
    }
  }
  @keyframes scale-up-center {
    0% {
        opacity: 0;
    }
    30%{opacity:0}
    100% {
        opacity: 1;
    }
}
/* 배너 */
.slide {
    /* layout */
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden; /* 컨테이너 크기를 넘어가는 부분 숨김 */

    /* position */
    position: relative;

    /* size */
    width: 100%;
    height: 100%; /* 이미지 전체가 보이도록 높이 설정 */

    /* slide drag를 위해 DOM요소가 드래그로 선택되는것을 방지 */
    user-select: none;
}
.slide_item {
    /* layout */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* position - 버튼 클릭시 left offset값을 적용시키기 위해 */
    position: relative;

    /* size */
    width: 100%;
    height: 100%; /* 이미지 전체가 보이도록 높이 설정 */
    flex-shrink: 0;

    /* transition */
    transition: left 0.15s;
}
.slide_button {
    /* layout */
    display: flex;
    justify-content: center;
    align-items: center;

    /* position */
    position: absolute;
    top: calc(50% - 16px);

    /* size */
    width: 32px;
    height: 32px;

    /* style */
    border-radius: 100%;
    background-color: #cccc;
    cursor: pointer;
}

.slide_item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 또는 cover */
}

.slide_prev_button {
    left: 10px;
}
.slide_next_button {
    right: 10px;
}

/* 페이지네이션 스타일 */
ul, li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.slide_pagination {
    /* layout */
    display: flex;
    gap: 5px;

    /* position */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.slide_pagination > li {
    color: #7fb5ff88;
    cursor: pointer;
    font-size: 25px;
}
.slide_pagination > li.active {
    color: #7fb5ff;
}

.slide_item_duplicate {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 0px;
    width: 100%;
    height: 100%; /* 이미지 전체가 보이도록 높이 설정 */
    flex-shrink: 0;
    transition: left 0.15s;
}
/**/
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
  
.image-gallery img {
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
    width: 500px; /* 원하는 크기로 설정 */
    height: 400px; /* 원하는 크기로 설정 */
}
  
.image-gallery img:hover {
    transform: scale(1.1);
}
  
/* 팝업 스타일 */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}
  
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
  
.popup-content img {
    max-width: 70vw;
    max-height: 60vh;
}
  
/* 닫기 버튼 스타일 */
.close-button {
    background-color: #1a7aff; /* 녹색 */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.close-button-container {
    text-align: center; /* 가운데 정렬 */
    margin-top: 10px; /* 이미지와 간격 */
}