:root {
	/* https://coolors.co/fc8888-3c89d1-f6e266-e4e9f1 */
	--red: #fc8e8e;
	--blue: #5ba0e0;
	--yellow: #fff3a8;
	--white: #e5eaf2;
	--green: #bcc88f;
	--fonts: ms gothic, gaegu-r, natsuzemi, basiic, arial;
}

* {
	box-sizing: border-box;
}

html {
	scrollbar-color: #bcc88f #5ba0e0;
}

body {
	background: url("ikiru.png") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	font-family: var(--fonts);
	font-size: 16px;
	line-height: 23px;
	word-spacing: 5px;
	color: black;
	text-shadow: 1px 1px 5px white;
	margin: 0px;
	scrollbar-color: #e5eaf2 #5ba0e0;
}

a {
	color: var(--green);
	cursor: help;
}

a:hover {
	text-decoration: wavy underline;
}

b {
	color: var(--red);
	letter-spacing: 2px;
}

i {
	color: #aad0c0;
}

mark {
	color: white;
	background: #ca5251;
	padding: 1px 2px;
}

details {
	cursor: help;
}

.r-img {
	float: right;
	margin: 5px;
}

#wrapper {
	background: transparent;
	position: relative;
	overflow: visible;
	margin: auto;
	max-width: 900px;
}

header {
	font-family: ms pgothic, var(--fonts);
	font-size: 15px;
	line-height: 16px;
	position: relative;
	margin: auto;
	margin-top: 30px;
	max-width: 670px;
	text-align: center;
	background: rgba(229, 234, 242, 0.9);
	color: black;
	border: 5px double var(--blue);
	border-radius: 50px;
	padding: 0px 15px 10px 15px;
}

header a {
	color: #ef5757;
}

header p {
	padding: 0px;
	margin: 5px 0px;
}

header img {
	vertical-align: middle;
}

h1 {
	font-family: gaegu-b, var(--fonts);
	vertical-align: middle;
	font-size: 40px;
	margin: 20px 1px;
	letter-spacing: 3px;
	text-shadow: 1px 1px 5px var(--blue);
}

h2 {
	font-family: starlight, var(--fonts);
	font-size: 18px;
	line-height: 23px;
	letter-spacing: 2px;
}

#lp-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px 10px;
	margin: auto;
	max-width: 900px;
	overflow: hidden;
}

.float {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 5px;
	display: none;
	border: 1px solid black;
	transition-duration: 0.4s;
	overflow: hidden;
}

.float img {
	width: 100%;
}

.float:hover {
	rotate: 2deg;
	border-radius: 10px;
}

.btn {
	position: absolute;
	padding: 0px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	background: transparent;
	height: 100%;
	width: 100%;
	border: none;
	cursor: cell;
	transition-duration: 1s;
}

.btn:hover {
	background: black;
	opacity: 0.2;
}

.centered {
	text-align: center;
}

/*modal popup*/
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: auto;
}

/* modal box*/
.modal-content {
	position: relative;
	box-sizing: border-box;
	background-color: black;
	background-image: url(trppbg.png);
	background-position: center;
	background-size: 800px;
	margin: auto;
	margin-top: 50px;
	margin-bottom: 50px;
	padding: 5px 30px;
	text-shadow: 1px 1px 5px white;
	color: white;
	border-radius: 10px;
	border: 2px dashed black;
	max-width: 600px;
	box-shadow: 0 6px 30px 10px rgba(0, 0, 0, 0.9),
		0 6px 20px 0 rgba(0, 0, 0, 0.9);
	animation-name: animatetop;
	animation-duration: 0.4s;
}

/*
@-webkit-keyframes animatetop {
	from {
		top: -500px;
		opacity: 0;
	}

	to {
		top: 0;
		opacity: 1;
	}
}

@keyframes animatetop {
	from {
		top: -500px;
		opacity: 0;
	}

	to {
		top: 0;
		opacity: 1;
	}
}
*/

/* The Close Button */
.close:before {
	margin: 20px 5px;
	content: "x";
	color: white;
	float: right;
	font-family: morningtea, var(--fonts);
	font-size: 28px;
	font-weight: bold;
}

.close:hover {
	color: black;
	cursor: pointer;
}

/* tags buttons */
#myBtnContainer {
	text-align: center;
	margin: auto;
	padding: 10px;
}

.show {
	display: block;
}

.tags {
	font-family: consolas, var(--fonts);
	font-size: 12px;
	border: none;
	outline: none;
	padding: 5px 10px;
	margin: 5px;
	background: var(--green);
	border: 2px solid var(--red);
	color: black;
	cursor: pointer;
	border-radius: 5px;
	transition-duration: 0.7s;
}

.tags:hover {
	color: black;
	background: var(--blue);
}

.tags.active {
	background: var(--yellow);
	color: black;
	cursor: not-allowed;
}

#home {
	position: fixed;
	left: 15px;
	top: 15px;
}

footer b {
	color: var(--red);
}

footer a {
	color: var(--blue);
}

footer {
	width: 100%;
	font-family: ms pgothic, var(--fonts);
	background: var(--yellow);
	text-align: center;
	padding: 10px;
	border-top: 2px dashed black;
	border-bottom: 2px dashed black;
}

#s-m-t-tooltip {
	max-width: 500px;
	font-family: gaegu-b, var(--fonts);
	font-size: 20px;
	line-height: 22px;
	word-spacing: 7px;
	text-align: center;
	z-index: 9999;
	margin: 30px 15px 7px 12px;
	padding: 5px;
	border: 4px ridge var(--green);
	color: black;
	background: rgba(229, 234, 242, 0.9);
}
