* {
	box-sizing: border-box;
}

:root {
	--fonts: gaegu-r, ms pgothic, arial;
	--blue: #bcd9ea;
	--cream: #f6e9cc;
	--cream-d: #e4d4b4;
	--brown: #b8896d;
	--brown-d: #5e2716;
	--grey: #9c8b8a;
}

html {
	scrollbar-color: #5e2716 #bcd9ea;
}

body {
	background: url(/files/pa008.jpg) repeat center center fixed;
	background-repeat: repeat;
	font-family: var(--fonts);
	font-size: 18px;
	line-height: 20px;
	margin: 0;
	color: #5e2716;
}

a {
	color: #bcd9ea;
	background: #9c8b8a;
	padding: 0 4px;
	border-radius: 5px;
	text-decoration: none;
	transition-duration: 0.4s;
}

a:hover {
	background: #bcd9ea;
	color: #9c8b8a;
	letter-spacing: 3px;
}

.i {
	padding: 0;
	background: transparent;
}

h1 {
	font-family: spirit, var(--fonts);
	font-size: 30px;
	letter-spacing: 3px;
	text-align: center;
}

header {
	background: rgb(188, 217, 234, 0.8);
	text-align: center;
	max-width: 700px;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 20px;
	padding: 10px;
	border: 2px dashed #f6e9cc;
	border-radius: 10px;
}

#container {
	max-width: 1350px;
	margin: auto;
	margin-bottom: 20px;
	column-count: 4;
	column-gap: 30px;
	line-height: 0;
}

.cd {
	position: relative;
	display: block;
	overflow: visible;
	margin: 50px 0;
	border: 2px solid #9c8b8a;
	border-radius: 5px;
	transition-duration: 1s;
}

.cd img {
  width: 100%;
}


.cd img.cover {
	position: relative;
	z-index: 2;
}

.cd img.disk-spin {
	position: absolute;
	visibility: visible;
	top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	z-index: -1;
	pointer-events: none;
}


@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes top {
  from {
    transform: translateY(-250px);
    opacity: 0;
  }
  to {
    transform: translateY(250px);
    opacity: 1;
  }
}

.cd:hover {
	box-shadow: 3px 2px 5px black;
}

.cd:hover .hov {
	z-index: 5;
}

.cd:hover	img.cover {
	z-index: 4;
}

.cd:hover	img.disk-spin {
	visibility: visible;
	z-index: 1;
	animation-name: spin, top;
	animation-delay: 1.4s, 0s;
	animation-duration: 5s, 1.5s;
	animation-iteration-count: infinite, 1;
	animation-timing-function: linear, ease;
	animation-fill-mode: forwards;
}

.hov {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 99%;
	top: 1px;
	transition-duration: 0.5s;
}

.hov:hover {
	opacity: 1;
}

.caption {
	position: absolute;
	text-align: center;
	width: 90%;
	padding: 5px;
	max-height: 80%;
	top: 11%;
	left: 5%;
	overflow: auto;
	background-color: #f6e9cc;
	background-image: url("pics/bg2.png");
	background-attachment: local;
	background-position: top;
	background-size: 16px;
	line-height: 22px;
	border-radius: 10px;
	border: 4px ridge #5e2716;
	transition-duration: 0.3s;
}
.caption	a img {
	width: 100%;
}
.caption	p {
	margin: 5px 0px;
}
.caption	p:hover {
	background: #b8896d;
	color: #f6e9cc;
}
.caption	img {
	vertical-align: middle;
	width: auto;
}

h3 {
	margin: 2px 0px;
	padding: 2px;
	border-radius: 10px;
	color: #e4d4b4;
	background: #b8896d;
	font-family: natzuzemi, gaegu-b, var(--fonts);
	font-size: 20px;
	line-height: 20px;
	font-weight: normal;
}

.date::before,
.ver::before {
	border-bottom: 3px double #b8896d;
}

.ver::before {
	content: "version:";
}

.date::before {
	content: "added on:";
}

.fav::after {
	content: "☆ included in my fav albums!";
	font-weight: bold;
}

.placeholder::after {
	content: "(cover img is a placeholder while i scan my copy!)";
	font-size: 16px;
}

#home {
	position: fixed;
	top: 10px;
	left: 5px;
}

#lost {
	max-width: 500px;
	margin: auto;
	background: #b8896d;
	text-align: center;
	padding: 5px;
	border-radius: 10px;
	border: 2px dashed #f6e9cc;
	margin-bottom: 50px;
}
#lost h2 {
	font-family: spirit, var(--fonts);
	font-size: 19px;
}

footer {
	background: rgb(228, 212, 180, 0.88);
	margin: auto;
	padding: 10px;
	width: 100%;
	text-align: center;
	border: 2px dotted #b8896d;
}

#s-m-t-tooltip {
	max-width: 500px;
	font-family: var(--fonts);
	font-size: 15px;
	line-height: 18px;
	text-align: center;
	z-index: 9999;
	margin: 30px 15px 7px 12px;
	padding: 5px;
	border: 1px solid #f6e9cc;
	background: #b8896d;
	color: #f6e9cc;
}

::-webkit-scrollbar {
	width: 7px;
	height: 7px;
}

::-webkit-scrollbar-thumb:vertical {
	background: #5e2716;
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:horizontal {
	background: #5e2716;
	border-radius: 5px;
}

::-webkit-scrollbar-track {
	background: #f6e9cc;
}

@media only screen and (max-width: 1200px) {
	#container {
		padding: 30px;
		column-count: 3;
	}
}

@media only screen and (max-width: 800px) {
	#container {
		column-count: 2;
	}
}

@media only screen and (max-width: 500px) {
	#container {
		column-count: 1;
	}
}
