html,body{
    margin: 0;
    height: 100%;
    overflow: hidden;
}
.gift-bg {
    background: url(../img/bg-imageA.jpg)no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}
.full-height{
    height: 100%;
}
.svg-ribbon{
    width:530px;
    height:768px;
}
.logo-container {
    position: absolute;
    right: 3%;
    top: 96%;
}
.logo {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: gray;
}
.back>p {
    padding: 15px;
    font-size: 19px;
    text-align: justify;
}

.div2>p {
    text-align: justify;
    padding: 15px;
    font-size: 20px;
}
.logo>span:nth-child(1) {
    font-weight: bold;
}

.logo>span:nth-child(2) {
    font-weight: 100;
}
.page-wrapper{
  position:relative;
  perspective: 1000px;
}
.div2{
  position:absolute;
  width: 530px;
  height: 768px;
  text-align: center;
  background: #ffffff;
}
.page-container{
    width: 530px;
}
.flip-container {
	perspective: 1000px;
}
.flip-container, .front, .back {
	width: 530px;
	height: 768px;
}
.flipper {
	transform-style: preserve-3d;
    transform-origin: left;
	position: relative;
}
.front, .back {
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}
.front {
    background: #ffffff;
    z-index: 3;
    transform: rotateY(0deg);
}
.back {
    background: white;
    transform: rotateY(180deg);
    margin-left: -1px;
}
.gift-container {
    width: 530px;
    display: inline-block;
    transform: translate(0);
    position: relative;
    z-index: 1;
    box-shadow: 3px 0px 10px 1px rgba(0,0,0,0.1);
}
.arrow{
    background: url(../img/arrow.png) no-repeat;
    background-size: contain;
    width: 61px;
    height: 22px;
}
.btn-container {
    display: inline-block;
    vertical-align: top;
    padding: 150px 0 0 10px;
    cursor: pointer;
    animation: btn-bounce 2s ease-in-out infinite;
}
.txt-container {
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
}
@keyframes btn-bounce{
    0%, 20%, 50%, 80%, 100%{
       transform: translate(0%); 
    } 
    40%{
       transform: translate(30%); 
    }
    60%{
       transform: translate(15%); 
    }
}
.main-container {
    padding-top: 100px;
    transform: scale(1);
}
.flip{
    animation: flip 1.2s ease 1s forwards;
}
@keyframes flip{
    to{
        transform: rotateY(-180deg);
    }
}
.gift-container-move{
    animation: move-right 1s ease forwards;
}
@keyframes move-right{
    to{
       transform: translate(57%,0);
    }
}
.gift-container-move-mobile{
    animation: move-right-mobile 1s ease forwards;
}
@keyframes move-right-mobile{
    to{
       transform: translate(64%,0);
    }
}
.main-container-zoom{
    animation: container-zoom 2s ease-out 2.5s forwards;
}
@keyframes container-zoom{
    to{
       transform: scale(2.3);
    }
}
.main-container-zoom-mobile{
    animation: container-zoom-mobile 2s ease-out 2.5s forwards;
}
@keyframes container-zoom-mobile{
    to{
       transform: scale(4);
    }
}
/*---media querrys---*/
@media(max-width:1024px){
    .main-container {
        padding-top: 5vh;
    }
    
}
@media(max-width:769px){
    .main-container {
    padding-top: 6vh;
}
}
@media(max-width:768px){
    .back>p {
        font-size: 14px;
    }
    .div2>p {
        font-size: 14px;
    }
    .logo-container {
        top: 94%;
    }
    .main-container {
        padding-top: 20vh;
    }
    .svg-ribbon {
        width: 50.5vw;
        height: 73vw;
    }
    .gift-container {
        width: 50.5vw;
    }
    .flip-container, .front, .back {
        width: 50.5vw;
        height: 73vw;
    }
    .div2 {
        width: 50.5vw;
        height: 73vw;
    }
    .page-container {
        width: 50.5vw;
    }
}
@media(max-width:767px){
    .main-container {
        padding-top: 25vh;
    }
    
}
@media(max-width:420px){
    .back>p {
        font-size: 8px;
    }
    .div2>p {
        font-size: 8px;
    }
    .logo {
        font-size: 2.5vw;
    }
    .arrow {
        width: 40px;
    }
    .txt-container {
        font-size: 16px;
    }
}