.media-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
} 
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
} 
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    text-align: center;
    width: calc(90vw);
    max-height: 90vh;
    justify-content: center;
    display: flex;
} 
.modal-content-left {
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    text-align: center;
    width: calc(90vw);
    max-height: 90vh;
    justify-content: center;
    display: flex;
} 
.modal-content-right {
    position: absolute;
    top: 50%;
    left: 150%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    text-align: center;
    width: calc(90vw);
    max-height: 90vh;
    justify-content: center;
    display: flex;
} 
.media-content {
    width: fit-content;
} 
.close-btn {
    position: fixed;
    top: 0px;
    right: 0px;
    padding: 0.25rem;
    margin: 0.5rem;
    z-index: 10;
    cursor: pointer;
    user-select: none;
    height: 1.8rem;
    width: 1.8rem;
    justify-content: center;
    text-align: center;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
} 
.close-btn img {
    width: 100%;
}
.media-content img {
    max-width: 100%;
    max-height: 100%;
} 
.media-content video {
    max-width: 100%;
    max-height: 100%;
}
.viewMediaContentInModal {
    cursor: pointer;
}

.left-btn{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
}
.right-btn{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
}
.left-btn img, .right-btn img{
    width: 100%;
    height: 100%;
}

.modal-content,
.modal-content-left,
.modal-content-right {
    transition: left 0.8s ease;
}