/* ===== BASE & LAYOUT ===== */
canvas {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/* ===== TEXT CONTAINERS ===== */
#typeDiv {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	z-index: 100;
	height: auto;
}

#txt1,
#txt2 {
	font-size: 36px !important;
	text-align: center;
	color: white;
	overflow: visible;
}

#content {
	position: absolute;
	top: 1%;
	left: 0;
	right: 0;
	margin: auto;
	width: 100%;
	height: 20%;
	overflow: hidden;
	z-index: 100;
}

#together {
	font-size: 25px;
	text-align: center;
	color: white;
}

#timer {
	text-align: center;
	color: white;
	display: inline-flex;
	gap: 5px;
	flex-direction: row-reverse;
	justify-content: center;
	width: 100%;
}

.and {
	margin-left: 0.5px;
	margin-right: 10px;
}

#d,
#h,
#m,
#s {
	font-size: 19px;
}

/* ===== HEART BUTTON ===== */
#heartTxt {
	position: absolute;
	display: table;
	vertical-align: middle;
	top: 80%;
	left: 0;
	right: 0;
	margin: auto;
	width: 10%;
	height: 8%;
	z-index: 101;
	/* Highest z-index */
}

#clickMe {
	display: inline-block;
	font-size: 16px;
	width: 100%;
	text-align: center;
	color: white;
}

#heart {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 130px;
	height: 130px;
	opacity: 1;
	/* Start at 100% opacity */
	transition: opacity 0.3s ease;
}

#heart.clicked {
	opacity: 0.7;
	/* After click, 70% */
}

#heart.active {
	opacity: 1;
	width: 160px;
	height: 160px;
	transition: width 0.15s ease;
	transition: height 0.15s ease;
}

#button {
	background-image: url("../pic/love.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent;
	border: none;
	outline: none;
	background-position: center;
	transition: all 0.3s ease;
	width: 300px;
	height: 300px;
	opacity: 1;
	/* Button always full opacity */
	cursor: pointer;
	/* Disable text selection on the button */
	-webkit-user-select: none;
	/* Safari */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* IE10+/Edge */
	user-select: none;
	/* Standard */
	/* For mobile browsers that show tap highlight */
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

#button:active {
	transform: scale(0.9);
}

/* Remove focus outline (blue highlight) */
#button:focus {
	outline: none;
}

/* ===== IMAGE CONTAINER ===== */
#imgTxt {
	position: absolute;
	display: table;
	vertical-align: middle;
	top: 20%;
	left: 0;
	right: 0;
	margin: auto;
	width: 100%;
	height: 50%;
	z-index: 100;
	/* Below button */
}

#img {
	display: block;
	left: 0;
	right: 0;
	margin: auto;
	width: auto;
	height: auto;
	max-width: 82vw;
	max-height: 60vh;
}

#Txt,
#tmp {
	display: inline-block;
	width: 100%;
	text-align: center;
	color: white;
}

#Txt {
	font-size: 25px;
}

#tmp {
	font-size: 17px;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

#countdown {
	font-family: Arial, sans-serif;
	font-weight: bold;
	animation: pulse 1s infinite;
}