@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&family=Shadows+Into+Light&display=swap');

html {
	min-width: 900px;
}

body {
	margin: 0px;
	padding: 50px;
	text-align: center;
}

h1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	font-size: 50px;
}

a.countdown-timer iframe {
	max-width: 800px;
}

div.notebook {
	display: inline-block;
	width: 800px;
	aspect-ratio: 800/650;
	margin-top: 50px;
	background-image: url('resources/notebook-paper.png');
	background-size: 100%;
	background-repeat: no-repeat;
	-webkit-filter: drop-shadow(3px 3px 2px #666666);
	filter: drop-shadow(3px 3px 2px #666666);
	text-align: left;
	font-family: 'Shadows Into Light', cursive;
	color: #313131;
}
div.notebook span.title {
	display: block;
	margin-top: calc(100% * (9/160));
	text-align: center;
	font-size: 46px;
}
div.notebook span.reason {
	display: inline-block;
	width: calc(100% * (3/4));
	margin-top: calc(100% * (43/800));
	margin-left: calc(100% * (3/16));
	text-align: left;
	font-size: 32px;
	color: #220099;
}

div.notebook div.polaroid {
	width: 200px;
	aspect-ratio: 2/3;
	margin-top: calc(100% * (1/20));
	margin-left: 500px;
	transform: rotate(10deg);
	background-color: #FEFEFE;
	-webkit-filter: drop-shadow(1px 1px 2px #666666);
	filter: drop-shadow(1px 1px 2px #666666);
	text-align: center;
	user-select: none;
	-webkit-user-select: none;
}

div.notebook div.polaroid img {
	width: calc(100% * (4/5));
	aspect-ratio: 4/5;
	margin-top: 25%;
	object-fit: cover;
}

div.notebook div.polaroid div.heart {
	position: absolute;
	width: 60px;
	height: 60px;
	margin-top: -25px;
	margin-left: -5px;
	transform: rotate(-20deg);
	background-image: url("resources/minecraft-heart.webp");
	background-repeat: no-repeat;
	background-size: 100%;
	transition: width 0.2s, height 0.2s, margin 0.2s, transform 0.2s;
	cursor: pointer;
}

div.notebook div.polaroid div.heart:hover {
	width: 80px;
	height: 80px;
	margin-top: -35px;
	margin-left: -15px;
	transform: rotate(340deg);
	transition: width 0.2s, height 0.2s, margin 0.2s, transform 0.2s;
}

div.notebook div.polaroid::before {
	position: absolute;
	display: inline-block;
	width: 150px;
	aspect-ratio: 3/1;
	margin-left: -60px;
	transform: rotate(-40deg);
	background-image: url("resources/tape-strip.png");
	background-size: 100%;
	background-repeat: no-repeat;
	content: "";
}

div.notebook div.polaroid::after {
	position: absolute;
	display: inline-block;
	width: 150px;
	aspect-ratio: 3/1;
	margin-top: 250px;
	margin-left: -80px;
	transform: rotate(150deg);
	background-image: url("resources/tape-strip.png");
	background-size: 100%;
	background-repeat: no-repeat;
	content: "";
}

div.notebook div.pen {
	display: inline-block;
	position: absolute;
	width: 70px;
	aspect-ratio: 2/19;
	top: calc(100% * (1/5));
	margin-left: 70px;
	transform: rotate(160deg);
	background-image: url("resources/pen.png");
	background-size: 100%;
	background-repeat: no-repeat;
	-webkit-filter: drop-shadow(3px 3px 8px #666666);
	filter: drop-shadow(3px 3px 8px #666666);
}