div.modal-container{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

div.modal-content{
    width: 50%;
    background: #dfdfdf;
    text-align: center;
    padding: 50px;
    border-radius: 20px;
    position: relative;
}

div.modal-content button.close-button{
    position: absolute;
    width: 50px;
    height: 50px;
    top: -30px;
    right: -30PX;
    padding: 20px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid black;
    box-shadow: 10px 10px 30px #000;
    font: bold 1em 'Lexend';
    background: #c23b3b;
    cursor:pointer;
    outline: none;
}

div.modal-content h3{
    font: normal 2em 'Lexend';
    font-weight: 700;
}

div.modal-content p{
    font: normal 1.5em 'Lexend';
}





div.modal-container.mostrar{
    display: flex;
}

@keyframes modal{
    from{
        opacity: 0;
        transform: translate3d(0, -50px, -20px);
    }
    to{
        opacity: 1;
        transform: translate3d(0, 0px, 0px);
    }
}

.mostrar .modal-content{
    animation: modal 0.5s;
}

@media only screen and (max-width: 730px){
    div.modal-content{
        width: 80%;
    }   
}