.slideshow-container {
    position: relative;
    max-width: 50%;
    margin: auto;
    z-index: 1;
    border-radius: 10px; /* เพิ่มมุมโค้งให้กับสไลด์โชว์ */
    overflow: hidden; /* ป้องกันเนื้อหาล้นออกมานอกสไลด์ */
}

.mySlides img {
    width: 10%; /* ลดความกว้างลงเหลือ 80% ของคอนเทนเนอร์ */
    /* height: auto; */
    /* height: 0px; */
    object-fit: cover; /* ให้ภาพครอบคลุมพื้นที่สไลด์ */
    border-radius: 10px; /* เพิ่มมุมโค้งให้กับภาพ */
    margin: 0 auto; /* จัดกึ่งกลางภาพในคอนเทนเนอร์ */
    display: block; /* ทำให้ภาพเป็นบล็อกเพื่อให้ margin: auto ทำงาน */
}


.mySlides {
    display: none;
}

.mySlides.fade {
    display: block !important;
    opacity: 1 !important;
}

.dot-container {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 10px; /* เพิ่มช่องว่างด้านบน */
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

