
h1,
p {
	font-family: 'Hind', sans-serif;
}

p{
	text-indent: 50px;
}

h1 {
	font-weight: 200;
}

body {
	margin: -58px;
	overflow: hidden;
}



.container {
	position: relative;
	width: 100%;
	height: 110vh;
	overflow-y: scroll;
	}

.heart {
	position: absolute;
	left: 50%;
	top: 50%;
	text-align: center;
	transform: translate(-50%, -50%);
	transition: transform 2s;
	z-index: 1;
}
/*scrtch*/

/*it ends here*/
.pas{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	position: relative;
	width: 20%;
	left: 40%;
	top: 10em;
	border: 2px solid rgb(0, 61, 0);
	box-shadow: 3px -10px 103px 7px rgba(0,0,0,0.85);
-webkit-box-shadow: 3px -10px 103px 7px rgba(0,0,0,0.85);
-moz-box-shadow: 3px -10px 103px 7px rgba(0,0,0,0.85);
}
.pas #pas{
	width: 80%;
	border: "1px solid black";
	margin-bottom: 10px;
}
.para{
	position: relative;
	right: 4%;
	text-align: center;
	font-family: 'Times New Roman', Times, serif;
}
#pas::placeholder{
	color: green;
	font-style: italic;
}
.active#pas{
	border: 2px solid blue;
	font-weight: bold;
	color: #006400;
}
.activ .container{
	display: block;
}

.heart > img {
	width: 50px;
	height: auto;
}

.message {
	padding: 20px;
	background: #eee ;
	min-width: 400px;
	font-family: cursive;
	height: 75%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	overflow:scroll;
	animation-name: openmsg;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-play-state: paused;
	animation-fill-mode: forwards;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	border-radius: 5px;
}


.heart > img:hover {
	animation-name: beat;
	animation-duration: 2s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-play-state: running;
}


@keyframes beat {
	0% {
		width: 50px;
	}
	25% {
		width: 58px;
	}
	30% {
		width: 50px;
	}
	50% {
		width: 45px;
	}
	60% {
		width: 50px;
	}
	75% {
		width: 58px;
	}
	100% {
		width: 50px;
	}
}

@keyframes openmsg {
	0% {
		height: 0px;
		padding: 0px 20px;
	}
	100% {
		height: 75%;
		padding: 20px 20px;
	}
}

@keyframes heartMove {
	0% {
		top: 50%
	}
	100% {
		top: 85%;
		transform: translate(-50%, 0);
	}
}

.openNor {
	animation-direction: normal;
	animation-play-state: running;
}

.closeNor {
	animation-direction: reverse;
	animation-play-state: running;
}

.no-anim {
	animation: none;
}

.closed {
	height: 0px;
	padding: 0px 20px;
}

.bottom {
	bottom: 5px;
}

.openHer {
	animation-name: heartMove;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-play-state: running;
	animation-fill-mode: forwards;
}

.closeHer {
	animation-name: heartMove;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-play-state: running;
	animation-direction: reverse;
	animation-fill-mode: forwards;
}

.beating > img {
	animation-name: beat;
	animation-duration: 2s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-play-state: running;
}

.openedHer {
	top: 85%;
	transform: translate(-50%, 0);
}
@media only screen and (max-width: 600px){
	.message{
		width: 65%;
		overflow-y: scroll;
		position: relative;
		left: 54%;
	}
	.message p{
		text-align: center;
		width: 95%;
		position: relative;
	}
	.pas{
		position: relative;
		width: 72%;
		top: 24em;
		left: 4rem;
	}
	.pas #pas{
		width: min-content;
	}
	.heart{
		width: fit-content;
	}

}
@media only screen and (max-width: 768px){
	.message{
		width: 65%;
	}
	.pas{
		position: relative;
		top: 20rem;
		left: 25%;
		width: 50%;
	}
}