.overlay{
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
    visibility: hidden;
}
.overlay.activeP{
    visibility: visible;
}
.popup{
    width: 30%;
    opacity: 0;
    transition: .2s ease all;
    transform: scale(1.7);
}
.popup .btn-cerrar-popup{
    font-size: 20px;
    line-height: 20px;
    display: block;
    text-align: right;
    color: var(--danger);
    transition: .4s ease all;
    text-decoration: none;
}
.popup .btn-cerrar-popup:hover{
    color: var(--red);
    text-decoration: none;
    outline: none;
}
.popup h3{
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
}
.popup form .contenedor-inputs{
    opacity: 0;
}

/* Animaciones popup */

.popup.activeP{
    opacity: 1;
    transform: scale(1);
}
.popup.activeP h3{
    animation: entradaTitulo .8s ease .5s forwards;
}
.popup.activeP .contenedor-inputs{
    animation: entradaInputs 1s ease 1s forwards;
}

@keyframes entradaTitulo{
    from {
        transform: translateY(-25px);
        opacity: 0;
    }
    to { 
        transform: translateY(-0);
        opacity: 1;
    }
}

@keyframes entradaInputs{
    from{
        opacity: 0;
    }
    to{
        opacity: 1  ;
    }
}


/*------------------------------------------------------------- Responsive -------------------------------------------------------------*/

@media only screen and (max-width: 1100px) {
    .popup{
        width: 35%;
    }
}
@media only screen and (max-width: 1050px) {
    .popup{
        width: 38%;
    }
}
@media only screen and (max-width: 1000px) {
    .popup{
        width: 40%;
    }
}
@media only screen and (max-width: 950px) {
    .popup{
        width: 43%;
    }
}
@media only screen and (max-width: 900px) {
    .popup{
        width: 45%;
    }
}
@media only screen and (max-width: 850px) {
    .popup{
        width: 48%;
    }
}
@media only screen and (max-width: 800px) {
    .popup{
        width: 50%;
    }
}
@media only screen and (max-width: 770px) {
    .popup{
        width: 55%;
    }
}
@media only screen and (max-width: 750px) {
    .popup{
        width: 60%;
    }
}
@media only screen and (max-width: 700px) {
    .popup{
        width: 70%;
    }
}
@media only screen and (max-width: 670px) {
    .popup{
        width: 80%;
    }
}
@media only screen and (max-width: 650px) {
    .popup{
        width: 90%;
    }
}
@media only screen and (max-width: 630px) {
    .popup{
        width: 98%;
    }
}