@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50px);
        opacity: 0;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index:20000 ;
}
#modal-image{
    width: 100%;
    height: 100%;
}
.modal-content-img{
    height: 400px;
    overflow: hidden;
    width: 100%;
}
.modal.show-item {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease-out;
}
.modal-content{
    position: relative;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 50%;
    animation: fadeIn 0.3s ease-out;
}

.thumbnail-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-gallery img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail-gallery img:hover {
    transform: scale(1.1);
}

.thumbnail-gallery img.active {
    border: 2px solid #ffd000;
}

button {
    margin: 10px;
    padding: 10px;
    background: #ffd0009c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 30px;
}

button:hover {
    background: #ffc403;
}

.close {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 37px;
    cursor: pointer;
    color: black;

}
#prev-btn{
position: absolute;
left: 5px;
top: 35%;
}
#next-btn{
    position: absolute;
    right: 5px;
    top: 35%;
    
}
