.modal {
    width: 100%; /* Establece el ancho al 50% */
    height: 100vh;
    background: -webkit-linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.5), rgba(0,0,0,.75)); 
    background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.5), rgba(0,0,0,.75));

    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Asegura que el modal esté centrado horizontalmente */
    bottom: 0; /* Asegura que el modal esté centrado verticalmente */
    
    display: flex;
    justify-content: center; /* Centra los elementos horizontalmente */
    align-items: center; /* Centra los elementos verticalmente */
    
    animation: modal 3s 2s forwards;
    visibility: hidden;
    opacity: 0;
    margin: auto;
    z-index: 10; /* Centra el modal horizontalmente */
}

.popup{
    position: relative;
    margin: auto;
    width: 100%;
	background: -webkit-linear-gradient(to right, black, #2b686e, black); 
    background: linear-gradient(to right, black, #2b686e, black);
    box-shadow: 0 0 1rem #706f6f;
    border-radius: 10px;
    z-index: 100;
        
}

.popup_title{
    margin: .625rem auto;
    text-align: center;
    color: #e1e1e1;
    text-shadow: -.0625rem -.125rem .0625rem black;
    text-transform: uppercase;
    font-weight: normal;
}

.popup img{
    margin: auto;
    display: block;
    box-shadow: 0 0 .125rem rgba(245,245,220,.35);
    border-radius: .3125rem;
    z-index: 100;
}

.popup_store{
    margin: .625rem auto;
    text-align: center;
    color: #e1e1e1;
    text-shadow: -.0625rem -.125rem .0625rem black;
    font-size: 98%;
}

#cerrar{
    display: none;
}

#cerrar + label{
    margin: auto;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.75rem;
    height: 1.75rem;
    top: 15%;
    right: 1%;
    z-index: 100;
    color: #e8e8e8;
    font-size: .875rem;
    text-align: center;
	background: -webkit-linear-gradient(to bottom, #000, #2b686e, #000); 
    background: linear-gradient(to bottom, #000, #2b686e, #000);
    border: .125rem solid rgba(255,255,255,.35);
    border-radius: 25%;
    padding: .25rem;
    cursor: pointer;
    
    animation: modal 3s 2s forwards;
    visibility: hidden;
    opacity: 0;
	transition: all 0.5s;
}

#cerrar + label:hover{
    color: white;
	transform: scale(1.125);
	background: -webkit-linear-gradient(to bottom, rgba(0,0,0,.5), #235559, rgba(0,0,0,.5)); 
    background: linear-gradient(to bottom, rgba(0,0,0,.5), #235559, rgba(0,0,0,.5));
}

#cerrar:checked + label, #cerrar:checked ~ .modal{
    display: none;
}

@keyframes modal{
    100%{
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 669px){
    .popup{
        width: 95%;
    }
    .popup_title{
        font-size: .9375rem;
    }
    /*.popup{
        width: 90%;
        height: 85%;
    }*/
    .popup img{
        width: 100%;
        max-width: 300px;
    }
    .popup_store{
        font-size: 75%;
    }
    #cerrar + label{
        border: 1px solid white;
    }
}

@media (max-width: 1199px) and (min-width: 670px){
    .popup{
        max-width: 55%;
        margin-top: 100px;
    }
    .popup_title{
        font-size: 1.125rem;
    }
    .popup img{
        width: 50%;
    }
    #cerrar + label{
        top: 10%;
        width: 30px;
        font-size: 1.0625rem;
    }
}

@media (min-width:1200px){
    .popup{
        width: 32.5%; 
    }
    .popup_title{
        font-size: 1.125rem;
    }
    .popup img{
        max-width: 20rem;
    }
    #cerrar + label{
        top: 10%;
        right: 30%;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}