body {
    font-family: 'Dancing Script', cursive;
    background: rgb(228, 34, 54);
    text-align: center;
}

h1 {
    color: #fff;
    text-transform: capitalize;
    font-size: 32px;
}

p {
    color: #fff;
    font-size: 26px;
}

img {
    width: 300px;
}

.container {
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
    align-items: center;
    width: 100%;
    height: 80%;
    margin-top: 70px;
}

span {
    color: #fff;
    font-size: 16px;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 500px;
    margin-top: 50px;
}

input {
    width: 90%;
    height: 50px;
    background: #fff;
    color: rgb(228, 34, 54);
    border: 1px solid #f3a5ad;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

input::placeholder {
    color: rgb(228, 34, 54);
    font-family: 'Dancing Script', cursive;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 120px;
    margin-top: 30px;
    background: #fff;
    color: rgb(228, 34, 54);
    border-radius: 6px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Dancing Script', cursive;
}

button:hover {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
  }
  
  @keyframes shake {
    10%, 90% {
      transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
      transform: translate3d(2px, 0, 0);
    }
  
    30%, 50%, 70% {
      transform: translate3d(-4px, 0, 0);
    }
  
    40%, 60% {
      transform: translate3d(4px, 0, 0);
    }
  }

  #clap {
      display: none;
  }

  .popup {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, .4);
	z-index: 9999;
	width: 100%;
	height: 100%;
	display: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.greating {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 400px;
    padding-top: 30px;
    font-size: 24px;
	text-align: center;
    background: url('/images/background.jpg') no-repeat center center;
    background-size: contain;
    color: rgb(228, 34, 54);
}

.visible {
    display: flex;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: rgb(228, 34, 54);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
}


.gift span{
    font-size: 36px;
}

/**/
.gift {
    position: absolute;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
    z-index: 1000;
    background: rgb(228, 34, 54);
}

.gift h3,
.gift h1 {
	position: absolute;
	top: 50%;
	line-height: 100px;
	height: 90px;
	margin-top: -50px;
    font-size: 90px;
    text-transform: uppercase;
	width: 100%;
	text-align: center;
	color: transparent;
	-webkit-animation: blurFadeInOut 3s ease-in backwards;
	-moz-animation: blurFadeInOut 3s ease-in backwards;
	-ms-animation: blurFadeInOut 3s ease-in backwards;
	animation: blurFadeInOut 3s ease-in backwards;
}

.gift h3.frame-1 {
	-webkit-animation-delay: 0s;
	-moz-animation-delay: 0s;
	-ms-animation-delay: 0s;
	animation-delay: 0s;
}
.gift h3.frame-2 {
	-webkit-animation-delay: 3s;
	-moz-animation-delay: 3s;
	-ms-animation-delay: 3s;
	animation-delay: 3s;
}
.gift h3.frame-3 {
	-webkit-animation-delay: 6s;
	-moz-animation-delay: 6s;
	-ms-animation-delay: 6s;
	animation-delay: 6s;
}
.gift h1.frame-4 {
	font-size: 200px;
	-webkit-animation-delay: 9s;
	-moz-animation-delay: 9s;
	-ms-animation-delay: 9s;
	animation-delay: 9s;
}

@keyframes blurFadeInOut {
	0% {
		opacity: 0;
		text-shadow: 0px 0px 40px #fff;
		transform: scale(1.3);
	}
	20%, 75% {
		opacity: 1;
		text-shadow: 0px 0px 1px #fff;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		text-shadow: 0px 0px 50px #fff;
		transform: scale(0);
	}
}
@-webkit-keyframes blurFadeInOut {
	0% {
		opacity: 0;
		text-shadow: 0px 0px 40px #fff;
		-webkit-transform: scale(1.3);
	}
	20%, 75% {
		opacity: 1;
		text-shadow: 0px 0px 1px #fff;
		-webkit-transform: scale(1);
	}
	100% {
		opacity: 0;
		text-shadow: 0px 0px 50px #fff;
		-webkit-transform: scale(0);
	}
}

@-moz-keyframes blurFadeInOut {
	0% {
		opacity: 0;
		text-shadow: 0px 0px 40px #fff;
		-moz-transform: scale(1.3);
	}
	20%, 75% {
		opacity: 1;
		text-shadow: 0px 0px 1px #fff;
		-moz-transform: scale(1);
	}
	100% {
		opacity: 0;
		text-shadow: 0px 0px 50px #fff;
		-moz-transform: scale(0);
	}
}