.view-image {
    transition: all 0.5 ease;
    cursor: pointer;
}
.view-image:hover {
    filter: brightness(70%);
}
.imgModalBtn {
    cursor: pointer;
}

#view-image-section {
    display: none;
    position: fixed;
    overflow-y: hidden;
    left: 0;
    top: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    color: white !important;
    transition: all 0.5s ease-in-out;
}

#view-image-section #close-view-image {
    cursor: pointer;
}
#view-image-section #close-view-image:hover {
    opacity: 75%;
}

#view-image-section #image-container {
    height: 100%;
    width: 100dvw;
}
#view-image-section #image-display {
    display: flex;
    justify-content: center;
    overflow: hidden;
    height: 75vh;
    width: 100%;
    align-items: center;
    transition: transform 0.3s ease-in-out;

}

#view-image-section #image-display img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    outline: none !important;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

#view-image-section #gallery-thumbs {
    height: fit-content;
    width: 100vw;
    overflow-x: auto;
    padding-left: 10px;
    padding-right: 10px;
}

#view-image-section #gallery-thumbs .card {
    height: 50px;
    max-width: 100px;
    display: grid;
    place-items: center;
    border-color: transparent;
    overflow: hidden;
    margin: 0px 10px 5px;
    cursor: pointer;
}

#view-image-section #gallery-thumbs .card:hover img {
    filter: brightness(70%);
}

#view-image-section button {
    background-color: rgba(44, 43, 43, 0.471);
    transition: all 10 ease;
    z-index: 9999 !important;
    margin: 10px;

    color: white;
}

#view-image-section button:hover {
    background-color: rgba(44, 43, 43, 0.841);
}

#view-image-section button:focus {
    border-color: transparent;
}

#view-image-section.display-block {
    display: block;
}

#view-image-section.view {
    opacity: 1;
}

#view-image-section .bottom-panel {
    bottom: 40px !important;
}
