/* Custom Styles */

*{
   
    box-sizing: border-box;
    
}

.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: 50%;
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}


.popup{
    width: 100%;
    max-width: 800px;
    height: 400px;
    position: relative;
    display: flex;
    background: white;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;
}


.popup > .img{
    width: 40%;
    background: linear-gradient(90deg, rgba(0,57,130,1) 0%, rgba(0,2,71,1) 100%);
    background-size: cover;
    background-position: center;
}

.container-text{
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    display: flex;
    width: 60%;
    padding: 50px;
    overflow-y: hidden;
    flex-direction: column;
    justify-content: center;
}


.container-text h1{
    font-size: 30px;
}

.container-text p{
    margin-top: 20px;
    font-size: 16px;
    margin-bottom: 30px;
}


.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;
    text-decoration: none;
}

.cta-store{
    text-align: center;
    display: block;
    padding: 10px 15px;
    background-color:#003982;
    color: white;
    text-transform: uppercase;
    border-radius: 7px;
    transition: all .2s;
    text-decoration: none;
}

.cta-store:hover{
    background-color: #000247;
    transform: scale(1.1);
}
@media screen and (max-width: 900px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 800px;
    }
    
    .popup > .img{
        width: 100%;
        height: 40%;
    }
    
    .container-text{
        width: 100%;
        height: 60%;
        padding: 80px;
    }
    
}

@media screen and (max-width: 500px){
    .container-text{
        padding: 20px;
    }
    
    .container-text h1{
        font-size: 20px;
    }
    
    .container-text p{
        font-size: 12px;
    }
}
