button {
    padding: 8px;
    cursor: pointer;
}

.modal-right {
    position: fixed;
    z-index: 1000;
    /* left: 0; */
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;

    /* background-color: rgba(0, 0, 0, 0.5); */
    opacity: 0;
    visibility: hidden;

    /* transform: scale(1.1); */
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-right-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    /* transform: translate(-50%, -50%); */
    background-color: #232323;
    padding: 1rem 1rem 6rem;
    width: 30rem;

    /* border-radius: 0.5rem; */
}

.close-button-modal-right {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0rem;
    background-color: lightgray;
    z-index:1001;
}

.close-button-modal-right:hover {
    background-color: darkgray;
}

.show-modal-right {
    opacity: 1;
    visibility: visible;

    /* transform: scale(1.0); */
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

@media only screen and (max-width: 768) {
    .modal-right-content {
        width: 100%;
    }
}
