.popup-out{
    width: 550px;
    height: 300px;
    border-radius: 20px;
    top: 10px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background: #fff;
    margin: 85px auto;
    z-index: 100000!important;
    border: solid 2px #be0530;
    overflow: hidden;
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
    -moz-box-shadow: 0px 0px 20px rgba(56,56,56,.2);
    -webkit-box-shadow: 0px 0px 20px rgba(56,56,56,.2);
    box-shadow: 0px 0px 20px rgba(56,56,56,.2);
    text-align: center;
    line-height: 7em;
    font-size: 2em;
    position: fixed;
    -webkit-transition: all 900ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 900ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup-out h1{
	font-weight:200;
	font-size:1.1em;
	position:relative;
	left:-200%;
	-webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	-webkit-transition-delay:900ms;
	transition-delay:900ms;
}

@media (min-width:250px) and (max-width:499px) {

	.popup-out {
		width: 96%;
		height: 50%
	}
	.popup-out h1 {
		font-size: 30px;
	}
}

.popup-out p{
	font-size: 16px;
	display: grid;
	line-height: 35px;
}

.popup-out .close-out{
	position:absolute;
	top:-80px;
	right:15px;
	font-size:.9em;
	font-weight:lighter;
	cursor:pointer;
	color:#d62655;
	-webkit-transition:.5s;
	transition:.5s;
}

.overlay{
	overflow-x:hidden;
	overflow-y:hidden;
	-webkit-transition:all 3s ease-in-out;
	transition:all 3s ease-in-out;
}

.overlay::before{
	content: " ";
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, .5);
	-webkit-transition:3s;
	transition:3s ;
}