.popup-titulo{
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem;
    color: #fff;
    width: 60%;
}
        
.popup-titulo h1{
    font-weight: bold;
    font-size: 3rem;
}
        
.popup-boton{
    width: 200px;
    background: rgba(255,255,255,0.6);
    padding: 5px;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    border-radius: 25px;
    left: 50%;
    transform: translateX(-50%);
}
        
.popup-boton h4{
    color: #000000;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
        
.popup-pie{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px;
    background: rgba(0,0,0,0.5);
    width: 100%;
}
        
.popup-pie p{
    color: #ffffff;
    font-size: 1.2rem;
}
        
        
.mipopup{
    opacity: 0; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    transition: all 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
                
.mp-aparece{
    opacity: 1;
    transition: all 1s;
    transition-delay: 2s;
}
        
.mipopup-content{
    background-color: #fefefe;
    margin: 0% auto; /* 15% from the top and centered */
    padding: 15px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
    max-width: 900px;
}
        
.mipopup-1{
    position: relative;
}
        
.close{
    color: #7e7e7e;
    float: right;
    font-size: 30px;
    font-weight: bold;
    z-index: 10000; /* Sit on top */
}
        
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 576px) and (max-width: 991.98px){
    .mipopup-content{
        padding: 5px;
        border: 1px solid #888;
        width: 80%; /* Could be more or less, depending on screen size */
    }
    
    .popup-titulo{
        font-size: 2rem;
        width: 95%;
    }
    
    .popup-titulo h1{
        font-size: 2rem;
        padding: 0.1rem;
    }

}

@media (max-width: 575px){
    .mipopup-content{
        width: 95%; /* Could be more or less, depending on screen size */
        padding: 2px;
    }
    
    .popup-titulo{
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.5rem;
        color: #fff;
        width: 95%;
    }
    
    .popup-titulo h1{
        font-size: 1.5rem;
        padding: 0.1rem;
    }
    
    .popup-boton h4{
        font-size: 0.9rem;
    }
  
    
    .popup-pie{
        padding: 0.5px;
    }

    
    .popup-pie p{
        color: #ffffff;
        font-size: 1rem;
    }

}
