.dialog {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    z-index: 2000;
    display: none;
    overflow-y: auto; /* Enable scrolling if content overflows */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
.dialog .close-btn {
    position: absolute;
    font-size: 14px;
    color: white;
    top: 20px;
    right: 40px;
    border: 1px solid #dddddd;
    padding: 2px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dialog .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.dialog .close-btn:active {
    background-color: rgba(255, 255, 255, 0.5);
}
.dialog .dialog-title{
    font-size: 36px;
    text-align: center;
    color: white;
    margin-top: 20px;
}
.gallery-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.gallery-main {
    position: relative;
    width: 600px;
}
.thumbs-swiper-container {
    width: 60%;
    overflow: hidden;
    margin-top: 20px;
}
.thumbs-swiper-container .swiper-slide{
    width: 160px;
}
.thumbs-swiper-container img {
    width: 100%;
}
.gallery-main-container {
    width: 100%;
    overflow: hidden;
}
.gallery-main-container img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-main-container .home-banner-button {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 20px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px 0 #787878;
    transition: all 0.3s;
}
.gallery-main-container .home-banner-button:hover {
    background: #f3f3f3;
}
.gallery-main-container .home-banner-button:active {
    background: #dadada;
}
.gallery-main-container .swiper-button-prev:after {
    display: none;
}
.gallery-main-container .swiper-button-next:after {
    display: none;
}