
.PrePopup{
    max-width: 100vw;
    min-height: 100vh;
/*    background: #27db1f;*/
/*    background: rgba(100,100,100,0.15);*/
    background-image: url(../IMG/PopUp1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    animation: slider 20s infinite;
    animation-direction: alternate-reverse;
}
.popup{
    z-index: 10000;
    display: flex;
    width: 50vw;
    min-width: 300px;
    max-width: 600px;
    height: 300px;
    background-color: rgba(21, 173, 27, 0.82);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: solid rgba(137, 201, 109, 0.57) 8px;
    border-radius: 2%;
}
.popup .img{
    width: 40%;
    background-image: url(../IMG/PopUp2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    animation: slider 20s infinite;
    animation-direction: alternate-reverse;
/*  Tutorial:  https://www.youtube.com/watch?v=LIDEoGCfcGw*/
}
@keyframes slider{
    from{
      background-position: left center;
    }
    to{
        background-position: right center;
    }
}
.popup .textos{
    display: flex;
    flex-flow: column;
/*    justify-content: center;*/
/*    align-content: center;*/
/*    align-items: center;*/
    width: 60%;
    padding: 5px;
    text-align: center;
    overflow-y: auto;
}
.popup h1{
    line-height: 32px;
}
.popup p{
    line-height: 20px;
    font-weight: bold;
    text-align: center;
    
}

.fa-circle-xmark {
    color: black;
    font-weight: bold;
    font-size: 1.5em;
    position: absolute;
    top: -24px;
    right: -20px;
    padding: 3px;
    background-color: white;
    border-radius: 50%;
    font-size: 1.0rem;
}
/*
.popup .boton-cerrar-popup{
    width: 30px;
    height: 30px;
    font-weight: bold;
    color: black;
    background: green;
    padding: 4px 12px;
    position: absolute;
    right: -10px;
    top: -10px;
    border-radius: 50%;
    border-radius: 2px solid black;
    
}
*/

.textos .Registrate{
    display: block;
    color: red;
    width: 90px;
    height: 37px;
    background: white;
    margin: auto;
    text-align: center;
    padding: 4px;
    border-radius: 15%;
    border: 4px solid black;
}
/*
.PrePopup:target{
    
}
*/
/*
html {
    width: 100%;
    height: 100vh;
    z-index: 10000;
    background: #27db1f;
    background: rgba(100,1000,1000,0.65);
}*/
@media screen and (max-width: 950px){
    .popup{
        width: 80vw;
    }
    
}
@media screen and (max-width: 600px){
    .popup h1{
        line-height: 28px;
        font-size: 28px;
}
    .popup{
        width: 85vw;
    }
    .popup p{
        font-size: 15px;
    }
    
}
@media screen and (max-width: 470px){
    .popup h1{
        line-height: 20px;
        font-size: 20px;
}
    .popup{
        width: 80vw;
    }
    .popup p{
        font-size: 15px;
    }
    
}
