.modal_pop-up{
    position: fixed;
    width: 100%;
    height: 100vh;
    top:0;
    left: 0;
    right: 0;
    bottom: 0px;
    background-color: #111111bd;
    pointer-events: none;
    display: flex;
    opacity: 0;
    transition: opacity .8s .4s;
    --transform: translateY(-100vh);
    --transition: transform .8s; 
    z-index: 50;
    
}
.modal_container_pop-up{
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: auto;
    max-height: 100%;
    background-color: #fff;
    border-radius: 6px;
    padding: 0.2rem 0.2rem;
    border: 2px solid green; 
    transform: var(--transform);
    transition: var(--transition);  
}

.modal_container_pop-up img{
    width: 100%;
    max-width: 550px;
}

.close_modal{
    /*color: black;*/
    position: absolute;
    top: 2%;
    right: 5%;
    font-size: xx-large;
    font-weight: bold;
    cursor: pointer;
    transition: all .3s ease;
}

/*aparece el modal*/
.modal-show{
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
    --transform: translate(0);
    --transition: transform .8s .8s;
}

@keyframes modal_pop-up{
    from{
        top: -530px; 
        opacity:0;
    }
    to{
        top: 0;
        bottom: 0;
        opacity: 1;
    }
}






















