/* 여러 슬라이더를 묶는 래퍼 */
.my-multi-slider-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
    width: 100%;
}

.my-slider-container {
    position: relative;
    width: 100%;    
    overflow: hidden;        
    aspect-ratio: 16 / 9;
}

/* 각 이미지를 하나의 슬라이드 아이템으로 처리 */
.my-slider-item {
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform: translateX(100%);
}

.my-slider-item.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0%);
}

/* 이전 슬라이드가 사라질 때 왼쪽으로 이동 */
.my-slider-item.my-prev-leaving {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

/* 다음 슬라이드가 사라질 때 오른쪽으로 이동 (기본 상태와 동일) */
.my-slider-item.my-next-leaving {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}


/* 이전, 다음 버튼 */
.my-prev, .my-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 12px;
    margin-top: -20px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.my-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.my-prev:hover, .my-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 점 내비게이션 컨테이너 */
.my-dots-container {
    text-align: center;
    position: absolute; 
    top:20%;   
    left:5%;
    /*left: 50%;*/
    /*정중앙transform: translateX(-50%);*/
    z-index: 100;    
    padding: 5px 10px;    
}

/* 커스텀 점 이미지 스타일 */
.my-custom-dot {
    cursor: pointer;
    width: 61px;
    height: 70px;
    margin: 10px 0px;
    display: block;
    opacity: 0.8;    
}

.my-custom-dot.active {
    opacity: 1;
}


/* 반응형 디자인: 작은 화면에서 슬라이더 하나씩 표시 */
@media (max-width: 768px) {
    .my-slider-container {
        width: 90%;
        max-width: none;
    }
}

/* 각 슬라이더의 크기를 개별적으로 설정 (선택 사항) */
#mySlider1 {
    width: 1334px;
    height:441px;
    max-width: 1334px;
    aspect-ratio: 4 / 3;    
}

#mySlider2 {
    width: calc(60% - 15px);
    max-width: 500px;
    aspect-ratio: 16 / 10;
}

#mySlider3 {
    width: 40%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
}

#mySlider4 {
    width: calc(50% - 15px);
    max-width: 380px;
    aspect-ratio: 16 / 9;
}