body {
    color: black;
    font-size: 20px;
    font-family: Mier A, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
}

@font-face {
    font-family: 'uglyquaregular';
    src: url('UglyQua-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

h1 {
	margin-top: 0;
	margin-bottom: .75em;
	font-size: 2.2em;
	font-weight: 400;
	line-height: 1.25;
}
.header-title-wrap {
	margin-right: 56px;
}
.header-nav-btns {
	width: 100%;
	flex-wrap: wrap;
	margin-top: 32px;
	margin-left: -24px;
	display: flex;
}
section {
	border-bottom: 1px solid #e9e9e9;
	padding-top: 15vh;
	padding-bottom: 15vh;
	position: relative;
}
.bg-beige-dark {
	background-color: #f4f2ec;
}
.tab-link {
	color: grey;
	white-space: nowrap;
	cursor: pointer;
	background-color: white;
	padding: 8px 24px;
	text-decoration: none;
	transition: color .2s;
}
.header-nav-btns label {
    padding: 8px 24px;
    color:grey;
}
label input {
    margin-left:10px;
}

.tab-link:hover, .tab-link.current, label.current {
	color: black;
}

.header-title {
	width: 100%;
	grid-column-gap: 40px;
	grid-row-gap: 16px;
	text-align: left;
	flex-flow: wrap;
	grid-template-rows: auto;
	grid-template-columns: 1fr 1fr;
	grid-auto-columns: 1fr;
	justify-content: space-between;
	align-items: flex-start;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	position: relative;
}
.header-title h1 {
    font-family: 'uglyquaregular', serif;
}


 ::selection {color: currentColor; background: #E9EDF4;}

.grid-books {
	grid-column-gap: 3vw;
	grid-row-gap: 40px;
	grid-template-rows: auto;
	grid-template-columns: 1fr 1fr 1fr;
	grid-auto-columns: 1fr;
	display: grid;
}
.header-small {
	border-bottom: 1px solid #e9e9e9;
	padding-top: 5vh;
	padding-bottom: 5vh;
	position: relative;
}
.logo {
    flex: 1;
    width: fit-content;
    height: fit-content;
}

.logo img {
    width: 5vw;
}
.from {
    position:absolute;
    z-index: 1;
    font-size: 0.8em;
    top: 0;
    margin: 0;
}
.container {
	flex-direction: row;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	padding-left: 5vw;
	padding-right: 5vw;
	display: flex;
	position: static;
	inset: 55% 0% auto;
    flex: 1;
}
.children-perspective {
	perspective: 1000px;
}
.book-wrap {
	height: 100%;
	opacity: 1;
	text-decoration: none;
	display: block;
	position: relative;
}
.book-cover-wrap div.details {
    display:none;
    position:absolute;
    z-index: 1;
    background: rgba(255,255,255,.3);
    top:0;
    bottom:0;
    left:0;
    right:0;
	font-size: .9em;
}
.book-cover-wrap:hover div.details {
    display:block;
}
.book-cover-wrap {
	width: 100%;
	justify-content: center;
	align-items: center;
	display: flex;
	position: relative;
    margin-bottom: 32px;
}
.book-cover-wrap img {
	filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, .25));
}
.book-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
h4, h5 {
	margin-top: 2em;
	margin-bottom: 1em;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.25;
}
h6 {
	color: black;
	margin-top: 2em;
	margin-bottom: 1em;
	font-size: .9em;
	font-weight: 400;
	line-height: 1.25;
}
.grid-item-title {
	margin-top: 0;
	margin-bottom: .5em;
}
.grid-item-subtitle {
	margin-top: 0;
	margin-bottom: 0;
}
@media screen and (min-width: 1440px) {
    .header-title {
        flex-direction: row;
        justify-content: space-between;
        display: flex;
    }
    .container {
        padding-left: 10vw;
        padding-right: 10vw;
    }
    body {
        font-size: 21px;
    }
    .grid-books {
        grid-row-gap: 48px;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .header-title-wrap {
        flex: 1;
    }
    .logo {
        left: 14vw;
    }

    .logo img {
        height:115px;
    }

}
@media screen and (min-width: 1920px) {
    .container {
        max-width: 2080px;
    }
    .grid-books {
        grid-column-gap: 2vw;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}
