.custom-modal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999;
    height: 100%;
    width: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s ease-in-out;
}

.custom-modal .custom-modal-main{
    position: relative;
    min-height: 100px;
    width: 30rem;
    background-color: #fff;
    border-radius: 2rem;
}

.custom-modal .custom-modal-main .custom-modal-head {
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.custom-modal .custom-modal-main .custom-modal-head .custom-close-icon {
    height: 30px;
    width: 30px;
    object-fit: cover;
    cursor: pointer;
}

.custom-modal.custom-active {
    opacity: 1;
    visibility: visible;
}

.custom-modal.custom-inactive {
    opacity: 0;
    visibility: hidden;
}



@media (max-width: 578px) {
    .custom-modal .custom-modal-main{
       
        width: 80%;
       
    }
}