.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 9999;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    animation-name: mode_animation;
    animation-duration: .2s;
    .modal-content {
        min-width: 600px;
        min-height: 300px;
        background-color: white;
        border-radius: 10px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        .modal-header {
            display: flex;
            align-items: flex-end;
            justify-content: flex-end;
            .close-btn{
                font-size: 20px;
                font-weight: 800;
            }
        }
        .model-cont{
            flex-grow: 1;
        }
        .modal-footer{
            display: flex;
            border-top: 1px solid #ccc;
            justify-content: space-around;
        }
    }
}

@keyframes mode_animation {
    0% {
        background: rgba(0, 0, 0, 0);
    }
    25% {
        background: rgba(0, 0, 0, 0.1);
    }
    50% {
        background: rgba(0, 0, 0, 0.25);
    }
    75% {
        background: rgba(0, 0, 0, 0.35);
    }
    100% {
        background: rgba(0, 0, 0, 0.45);
    }
}