.modal {
    display: none;
    position: fixed;
    z-index: 4;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.3s;
    animation-name: fadeIn;
    animation-duration: 0.3s;
    cursor: pointer;
}

.modal-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fefefe;
    padding: 30px;
    padding-top: 40px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal-content-anim {
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.3s;
    animation-name: slideIn;
    animation-duration: 0.3s;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
}

.close svg {
    width: 24px;
    height: 24px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0;
    }
    to {
        bottom: 0;
        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;
    }
}

