@import url('https://fonts.googleapis.com/css?family=Poppins&amp;display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    text-decoration: none;
}

body,
html{
    /*background: #D90C43;*/
}

.btn-open-popup{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #D90C43;
    display: block;
    background: white;
    padding: 20px 50px;
    border-radius: 50px;
}


.container-all{
    width: 100%;
    height: 100%;
    position: fixed;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
}


.container-all:target{
    background: rgba(0,0,0,0.8);
    visibility: visible;
    opacity: 1;
}

.container-all:target .popup{
    top: 48%;
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}


.popup{
    width: 100%;
    max-width: 500px;
    height: 600px;
    position: relative;
    display: flex;
    background: white;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;
}


.img{
    width: 100%;
    background-image: url("../images/popuppromo.jpg");
    background-size: cover;
    background-position: center;
}

.container-text{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}


.container-text h1{
    font-size: 30px;
}

.container-text p{
    margin-top: 20px;
    font-size: 16px;
}


.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}

@media screen and (max-width: 900px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 600px;
    }
    
    .img{
        width: 100%;
        height: 100%;
    }
    
    .container-text{
        width: 100%;
        height: 60%;
        padding: 80px;
    }
    
}

@media screen and (max-width: 620px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 80%;
    }
}
@media screen and (max-width: 550px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 65%;
    }
}

@media screen and (max-width: 500px){
	
	.popup{
        flex-direction: column;
        height: 100%;
        max-height: 70%;
    }
	
    .container-text{
        padding: 20px;
    }
	
    
    .container-text h1{
        font-size: 20px;
    }
    
    .container-text p{
        font-size: 12px;
    }
}

@media screen and (max-width: 450px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 55%;
    }
}
@media screen and (max-width: 414px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 65%;
    }
}
@media screen and (max-width: 400px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 50%;
    }
}
@media screen and (max-width: 375px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 60%;
    }
}
@media screen and (max-width: 350px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 45%;
    }
}
@media screen and (max-width: 330px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 40%;
    }
}
@media screen and (max-width: 280px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 30%;
    }
}

.evento-whatsapp-ipad{
    color: #fff;
    background: #00bb2d;
    padding: 10px 15px;
    display: inline-block;
    width: 230px;
    text-align: center;
    border-radius: 20px;
    text-transform: uppercase;
    opacity: .8;
    margin-right: 20px;
}
.evento-whatsapp-ipad:hover{
    opacity: 1;
}




