html,body {
	background-color: var(--d0);
	overflow-x: clip;
}

a {
	color: var(--l3) !important
}

.entry-content {
	min-height: calc(100vh - 90px);
	    align-content: center;
}

.novelList {
	margin: 75px 0;
	padding: 0 7px;
}
.novelList .wp-block-group__inner-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px 5px;
}

.novelBox {
	position: relative;
	max-width: 264px;
	max-height: 396px;
	margin: auto 10px;
	cursor: pointer;
	outline: solid 2px var(--d3);
	outline-offset: 5px;
	flex-wrap: nowrap;
}
.novelBox:hover {
	transform: scale(1.05);
	outline-color: var(--y1);
	z-index: 2;
}
.novelFrame {
	left: -50px;
    height: calc(100% + 100px);
    width: calc(100% + 100px);
    top: -50px;
    position: absolute;
	opacity: 0;
	z-index: 3;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.novelBox:hover .novelFrame {
	opacity: 1;
}
.novelBox:hover .novelInfo {
	background: hsl(from var(--y1) h s l / 95%);
}
.novelBox:hover .novelName, .novelBox:hover .novelTags {
	color: var(--d1);
}

.novelCover img {
	width: 100%;
	height: auto;
	max-height: 400px;
}

.novelInfo {
	background: hsl(from var(--d3) h s l / 95%);
	position: absolute;
	justify-content: space-between;
	place-items: center;
	bottom: 0;
	padding: 5px;
	width: 100%;
	height: auto;
	min-height: 30%;
	text-align: center;
}

.novelName {
	align-self: center;
	font: 500 1.3rem var(--kanit);
	line-height: 1.5rem;
	text-transform: capitalize;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-moz-user-drag: none;
	user-drag: none;
}

.novelTags {
	width: 100%;
	color: var(--y1);
	font: 800 0.6rem var(--inter);
	text-transform: uppercase;
	letter-spacing: 1px;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
	-moz-user-drag: none;
	user-drag: none;
}

@media (max-width: 319px) {
	.novelName {font-size: 1rem;}
}