* {
	margin: 0;
	padding: 0;
	outline: none;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
	background: transparent;
	border: none;
}
 
html,
body {
	height: 100%;
	width: 100%;
}

body {
	background: #202020;
	display: flex;
	flex-direction: column;
	font-family: 'Lato', Helvetica, sans-serif;
}

#wrapper {
	min-height: 100%;
	width: 100%;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

header {
	padding: 24px;
	color: rgba(255, 255, 255, .9);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
}

header a, header button {
	transition: .4s;
	line-height: 1;
}

header a:visited, button:visited {
	color: inherit
}

header a:hover, button:hover {
	opacity: .5;
}

h1 {
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
	font-size: 22px;
}

h1 span {
	display: block;
	font-size: .42em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 16px;
	margin-top: 16px;
	line-height: 1.25;
}

h2 {
	font-size: 24px;
	font-weight: 500;
}

h3 {
	font-size: 18px;
	font-weight: 500;
}

p {
	line-height: 1.35;
}

em {
	font-style: italic;
}

button {
	cursor: pointer;
	color: inherit;
	padding: 0;
	border: 0;
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: bold;
	outline: none;
	padding-inline: 0;
	padding-block: 0;
	height: auto;
}

nav {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
}

a {
	color: inherit;
	font-weight: 600;
}

.glide {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.glide__slides, .glide__track  {
	overflow: visible;
}

.glide__slide .wrap {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 600px;
}

.glide__slide .wrap .perspective {
	width: 100%;
	height: 100%;
	perspective: 1000px;
	transform-style: preserve-3d;
}

.glide__slide .book-wrap {
	height: 100%;
	width: 100%;
	transform-style: preserve-3d;
	transition: all ease-out 0.6s;
	-webkit-transition: all ease-out 0.6s;
	-moz-transition: all ease-out 0.6s;
	-ms-transition: all ease-out 0.6s;
	-o-transition: all ease-out 0.6s;
	transform: rotateY(40deg);
	display: flex;
	justify-content: center;
	align-items: center;
}

.glide__slide .book {
	width: 400px;
	aspect-ratio: 5 / 8;
	background: url(../img/front.png) no-repeat center center;
	position: absolute;
	background-size: cover;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	cursor: pointer;
}

.glide__slide .title {
	content: "";
	width: 16px;
	height: 400px;
	position: absolute;
	right: 0;
	left: -400px;
	top: 0;
	bottom: 0;
	margin: auto;
	background: transparent;
	transform: rotateY(-80deg) translateX(-7px);
	background-image: url(../img/spine.png);
	background-size: 100% 100%;
}

.glide__slide .book-back {
	width: 400px;
	aspect-ratio: 5 / 8;
	background: url(../img/back.png) no-repeat center center;
	position: absolute;
	background-size: cover;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	transform: rotate(180deg) translateZ(-16px) translateX(3px) scaleY(-1);
	filter: FlipV;
}

/* Book 1 */
.glide__slide .book.book-0 {
	aspect-ratio: 1 / 1;
	background: url(../img/birds-of-a-feather-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-0 {
	aspect-ratio: 1 / 1;
	background: url(../img/birds-of-a-feather-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-0 {
	background: #4d525a;
	left: -400px;
}

/* Book 2 */
.glide__slide .book.book-1 {
	aspect-ratio: 5 / 7;
	width: 300px;
	background: url(../img/bride-crashing-through-history-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-1 {
	aspect-ratio: 5 / 7;
	width: 300px;
	background: url(../img/bride-crashing-through-history-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-1 {
	background: #EFE2CF;
	left: -300px;
	height: 420px
}

/* Book 3 */
.glide__slide .book.book-2 {
	aspect-ratio: 1 / 2;
	width: 200px;
	background: url(../img/cowrie-shell-piece-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-2 {
	aspect-ratio: 1 / 2;
	width: 200px;
	background: url(../img/cowrie-shell-piece-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-2 {
	background: transparent;
	left: -200px;
	background: url(../img/cowrie-shell-piece-spine.jpg) no-repeat center center;
	background-size: cover;
}

.cowrie-inside {
	width: 100%;
	margin-top: 16px;
}

/* Book 4 */
.glide__slide .book.book-3 {
	aspect-ratio: 5 / 6.25;
	width: 350px;
	background: url(../img/des-poetas-americaines-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-3 {
	aspect-ratio: 5 / 6.25;
	width: 350px;
	background: url(../img/des-poetas-americaines-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-3 {
	background: transparent;
	left: -350px;
	height: 437px;
	background: url(../img/des-poetas-americaines-spine.jpg) no-repeat center center;
	background-size: cover;
}

/* Book 5 */
.glide__slide .book.book-4 {
	aspect-ratio: 4 / 5.35;
	width: 350px;
	background: url(../img/gargoyle-piece-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-4 {
	aspect-ratio: 4 / 5.35;
	width: 350px;
	background: url(../img/gargoyle-piece-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-2px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-4 {
	background: transparent;
	width: 4px;
	left: -350px;
	height: 468px;
	transform: rotateY(-80deg) translateX(-2px);
	background: url(../img/gargoyle-piece-spine.jpg) no-repeat center center;
	background-size: cover;
}

/* Book 6 */
.glide__slide .book.book-5 {
	aspect-ratio: 5.5 / 8;
	width: 300px;
	background: url(../img/great-lakes-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-5 {
	aspect-ratio: 5.5 / 8;
	width: 300px;
	background: url(../img/great-lakes-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-5 {
	background: #e5e7e9;
	left: -300px;
	height: 436px;
}

/* Book 6 */
.glide__slide .book.book-6 {
	aspect-ratio: 5.5 / 8;
	width: 300px;
	background: url(../img/how-to-talk-to-a-river-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-6 {
	aspect-ratio: 5.5 / 8;
	width: 300px;
	background: url(../img/how-to-talk-to-a-river-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-6 {
	background: #414053;
	left: -300px;
	height: 436px;
}

/* Book 7 */
.glide__slide .book.book-7 {
	aspect-ratio: 5.5 / 8;
	width: 300px;
	background: url(../img/italian-smoking-piece-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-7 {
	aspect-ratio: 5.5 / 8;
	width: 300px;
	background: url(../img/italian-smoking-piece-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-5px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-7 {
	background: transparent;
	left: -300px;
	height: 436px;
	background: url(../img/italian-smoking-piece-spine.jpg) no-repeat center center;
	background-size: cover;
	width: 8px;
	transform: rotateY(-80deg) translateX(-3px);
}

/* Book 8 */
.glide__slide .book.book-8 {
	aspect-ratio: 5 / 8;
	width: 300px;
	background: url(../img/only-the-nude-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-8 {
	aspect-ratio: 5 / 8;
	width: 300px;
	background: url(../img/only-the-nude-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-6px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-8 {
	background: transparent;
	left: -300px;
	height: 480px;
	width: 12px;
	background: url(../img/only-the-nude-spine.jpg) no-repeat center center;
	background-size: cover;
	transform: rotateY(-80deg) translateX(-6px);
}

/* Book 9 */
.glide__slide .book.book-9 {
	aspect-ratio: 7 / 5;
	background: url(../img/peripheral-visions-daybook-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-9 {
	aspect-ratio: 7 / 5;
	background: url(../img/peripheral-visions-daybook-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-5px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-9 {
	background: #dedede;
	left: -400px;
	height: 285px;
	width: 10px;
	transform: rotateY(-80deg) translateX(-4px);
}

/* Book 10 */
.glide__slide .book.book-10 {
	aspect-ratio: 5.25 / 8;
	width: 300px;
	background: url(../img/sur-les-pointes-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-10 {
	aspect-ratio: 5.25 / 8;
	width: 300px;
	background: url(../img/sur-les-pointes-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-3px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-10 {
	background: #7A7D7B;
	left: -300px;
	height: 457px;
	width: 4px;
	transform: rotateY(-80deg) translateX(-3px);
}

/* Book 11 */
.glide__slide .book.book-11 {
	aspect-ratio: 1 / 2.75;
	width: 200px;
	background: url(../img/swamp-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-11 {
	aspect-ratio: 1 / 2.75;
	width: 200px;
	background: url(../img/swamp-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-1px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-11 {
	background: transparent;
	left: -200px;
	height: 550px;
	background: url(../img/swamp-spine.jpg) no-repeat center center;
	background-size: cover;
	width: 2px;
	transform: rotateY(-80deg) translateX(-1px);
}

/* Book 12 */
.glide__slide .book.book-12 {
	aspect-ratio: 5 / 7;
	width: 300px;
	background: url(../img/the-hs-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-12 {
	aspect-ratio: 5 / 7;
	width: 300px;
	background: url(../img/the-hs-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-5px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-12 {
	background: transparent;
	left: -300px;
	height: 420px;
	width: 10px;
	background: url(../img/the-hs-spine.jpg) no-repeat center center;
	background-size: cover;
	transform: rotateY(-80deg) translateX(-4px);
}

/* Book 13 */
.glide__slide .book.book-13 {
	aspect-ratio: 5.25 / 8;
	width: 300px;
	background: url(../img/the-interior-life-of-a-skirt-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-13 {
	aspect-ratio: 5.25 / 8;
	width: 300px;
	background: url(../img/the-interior-life-of-a-skirt-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-13 {
	background: #e7e7e7;
	left: -300px;
	height: 456px;
}

/* Book 14 */
.glide__slide .book.book-14 {
	aspect-ratio: 5.15 / 8;
	width: 300px;
	background: url(../img/the-kiss-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-14 {
	aspect-ratio: 5.15 / 8;
	width: 300px;
	background: url(../img/the-kiss-back.jpg) no-repeat center center;
	background-size: cover;
	transform: rotate(180deg) translateZ(-3px) translateX(0px) scaleY(-1);
}

.glide__slide .title.book-14 {
	background: #CAB9A8;
	left: -300px;
	height: 465px;
	width: 6px;
	transform: rotateY(-80deg) translateX(-4px);
}

/* Book 15 */
.glide__slide .book.book-15 {
	aspect-ratio: 5.7 / 8;
	width: 300px;
	background: url(../img/the-men-who-kiss-me-goodnight-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-15 {
	aspect-ratio: 5.7 / 8;
	width: 300px;
	background: url(../img/the-men-who-kiss-me-goodnight-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-15 {
	background: #e9e9e9;
	left: -300px;
	height: 420px;
}

/* Book 16 */
.glide__slide .book.book-16 {
	aspect-ratio: 5.5 / 7;
	width: 350px;
	background: url(../img/the-ostinato-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-16 {
	aspect-ratio: 5.5 / 7;
	width: 350px;
	background: url(../img/the-ostinato-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-16 {
	background: #5C5E63;
	left: -350px;
	height: 445px;
	background: url(../img/the-ostinato-spine.jpg) no-repeat center center;
	background-size: cover;
}

/* Book 17 */
.glide__slide .book.book-17 {
	aspect-ratio: 5.25 / 8;
	width: 300px;
	background: url(../img/twilight-at-the-crescent-beach-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-17 {
	aspect-ratio: 5.25 / 8;
	width: 300px;
	background: url(../img/twilight-at-the-crescent-beach-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-17 {
	background: #609493;
	left: -300px;
	height: 456px;
}

/* Book 18 */
.glide__slide .book.book-18 {
	aspect-ratio: 1 / 1;
	background: url(../img/west-view-walks-front.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .book-back.book-18 {
	aspect-ratio: 1 / 1;
	background: url(../img/west-view-walks-back.jpg) no-repeat center center;
	background-size: cover;
}

.glide__slide .title.book-18 {
	background: #e1dfd5;
	left: -400px;
}


.glide__slide .rotate {
	transform: rotateY(40deg) !important;
}

.glide__slide .flip {
	transform: rotateY(180deg) !important;
}

.glide__slide .face-front {
	transform: rotate(0);
}

.glide {
	width: 100%;
}

.glide__slide {
	position: relative;
	display: flex;
	flex-direction: column;
	margin-right: 5px !important;
	margin-left: 5px !important;
}

.glide__slide .book-info {
	margin: auto;
	display: grid;
	grid-template-columns: 5fr 1fr;
	grid-template-rows: repeat(2, 1fr);
	padding: 24px;
	width: 100%;
	max-width: 600px;
}

.glide__slide .book-info p {
	color: white;
}

.glide__slide .book-info .publisher {
	color: rgba(255, 255, 255, .7);
	font-weight: 300;
	margin-top: 4px;
}

.glide__slide .flip-btn {
	cursor: pointer;
	grid-column: 2;
	grid-row: 1;
	max-width: 16px;
	justify-self: end;
	transition: .4s;
}

.glide__slide .flip-btn:hover {
	opacity: .5;
}

.info-modal, .curatorial-statement-modal {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9;
	background-color: rgba(0,0,0,.5);
	display: flex;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(4px);
	padding: 24px;
	display: none;
}

.info-modal section {
	background-color: white;
	width: 100%;
	max-width: 500px;
	padding: 32px;
	border-radius: 4px;
}

.info-modal section > * {
	margin-bottom: 16px;
}

.info-modal div, .curatorial-statement-modal div {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.info-modal .close-btn, .curatorial-statement-modal .close-btn {
	width: 24px;
	cursor: pointer;
	transition: .4s;
}

.info-modal .close-btn:hover, .curatorial-statement-modal .close-btn:hover {
	opacity: .5;
}

.curatorial-statement-modal section {
	background-color: white;
	width: 100%;
	max-width: 1000px;
	height: auto;
	max-height: 90vh;
	padding: 32px;
	border-radius: 4px;
	overflow-y: auto;
}

.curatorial-statement-modal section > * {
	margin-bottom: 16px;
}

.glide__bullets {
	position: relative;
	margin: auto;
}

.glide__bullet {
	width: 18px;
	height: 1px;
	border-radius: 0;
	border: none;
	box-shadow: none;
}

@media screen and (min-width: 1044px) {
	header {
		flex-direction: row;
	}

	h1 {
		font-size: 32px;
	}
  }


