img { width: 400px; } #modalNse { background-color: rgb(255, 255, 255); border-radius: 10px; box-shadow: rgba(100, 100, 111, 0.637) 0px 7px 29px 0px; } #editImageBtn { padding: 1rem 1.8rem; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; border: none; border-radius: 10px; box-shadow: rgba(100, 100, 111, 0.267) 0px 7px 29px 0px; font-weight: 700; cursor: pointer; } #modalNseBackground { display: none; position: fixed; left: 0; top: 0; height: 100vh; width: 100%; backdrop-filter: blur(5px); justify-content: center; align-items: center; } #cropper-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); justify-content: center; align-items: center; z-index: 1000; } #cropper-modal.active { display: flex; } #cropper-container { background: white; padding: 20px; border-radius: 8px; max-width: 90%; max-height: 90%; overflow: auto; } #cropper-container img { max-width: 100%; height: auto; } #cropper-actions { margin-top: 10px; text-align: right; } .imageeditor { transition: 300ms ease-in-out; } .imageeditor.selected-img{ filter: saturate(250%); box-sizing: border-box; } /* Background image editor */