.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    -webkit-animation-name: fadeIn;
    -webkit-box-direction: 0.2s;
    animation-name: fadeIn;
    animation-duration: 0.2s;
} 
.modal-content {
    width: 369px;
    padding: 20px;
    border-radius: 3px;
    margin: auto;
    margin-top: 16%;
    background-color: #fefefe;
    /* -webkit-animation-name: slideIn;
    -webkit-box-direction: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s; */
}
.modal-header {
    display: flex;
    justify-content: flex-end;
}
.modal-header img {
    cursor: pointer;
}
.modal-body {
    font-size: 14px;
    text-align: center;
    margin-top: 48px;
    margin-bottom: 40px;
    color: #666;
}
.modal-footer {
    text-align: right;
}
.modal-button {
    padding: 8px 12px;
    background-color: #2bbf72;
    border-radius: 2px;
    font-size: 14px;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* @-webkit-keyframes slideIn {
    from {margin-top: -300px; opacity: 0;}
    to {margin-top: 16%;opacity: 1;}
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0;}
    to {bottom: 0;opacity: 1;}
} */

@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}