@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
#cuerpo{
	margin: 0;
	height: 90vh;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: "Montserrat", sans-serif;
	background: linear-gradient(90deg, #fff 10%, #E73871 90%);
}
input{
	display: none;
}
.img-libro{
	width: 100%;
	height: 100%;
}
.book{
	display: flex;
}
#cover{
	width: 27vw;
	height: 88vh;
}
.flip-book{
	width: 27vw;
	height: 88vh;
	position: relative;
	perspective: 1500px;
}
.flip{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transform-origin: left;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
	transition: .5s;
	color: #000;
}
p{
	font-size: 14px;
	line-height: 24px;
}
.front{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #FF7BAC;
	box-sizing: border-box;
	box-shadow: inset 20px 0 50px rgba(0,0,0,0.5) 0 2px 5px rgba(0,0,0,.5);
}
.back{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 99;
	transform: rotateY(180deg);
	backface-visibility: hidden;
	background: #000;
}
.next-btn{
	position: absolute;
	bottom: 13px;
	right: 13px;
	cursor: pointer;
	color: #000;
}
.back-btn{
	position: absolute;
	bottom: 13px;
	right: 13px;
	cursor: pointer;
	color: #fff;
}
#p1{
	z-index: 11;
}
#p2{
	z-index: 10;
}
#p3{
	z-index: 9;
}
#p4{
	z-index: 8;
}
#p5{
	z-index: 7;
}
#p6{
	z-index: 6;
}
#p7{
	z-index: 5;
}
#p8{
	z-index: 4;
}
#p9{
	z-index: 3;
}
#p10{
	z-index: 2;
}
#p11{
	z-index: 1;
}
#c1:checked ~ .flip-book #p1{
	transform: rotateY(-180deg);
	z-index: 1;
}
#c2:checked ~ .flip-book #p2{
	transform: rotateY(-180deg);
	z-index: 2;
}
#c3:checked ~ .flip-book #p3{
	transform: rotateY(-180deg);
	z-index: 3;
}
#c4:checked ~ .flip-book #p4{
	transform: rotateY(-180deg);
	z-index: 4;
}
#c5:checked ~ .flip-book #p5{
	transform: rotateY(-180deg);
	z-index: 5;
}
#c6:checked ~ .flip-book #p6{
	transform: rotateY(-180deg);
	z-index: 6;
}
#c7:checked ~ .flip-book #p7{
	transform: rotateY(-180deg);
	z-index: 7;
}
#c8:checked ~ .flip-book #p8{
	transform: rotateY(-180deg);
	z-index: 8;
}
#c9:checked ~ .flip-book #p9{
	transform: rotateY(-180deg);
	z-index: 9;
}
#c10:checked ~ .flip-book #p10{
	transform: rotateY(-180deg);
	z-index: 10;
}
#c11:checked ~ .flip-book #p11{
	transform: rotateY(-180deg);
	z-index: 11;
}
@media only screen and (max-width: 600px) {
    #cover{
		width: 25vh;
		height: 65vh;
	}
	.flip-book{
		width: 25vh;
		height: 65vh;
		position: relative;
		perspective: 1500px;
	}
	.flip{
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		transform-origin: left;
		transform-style: preserve-3d;
		transform: rotateY(0deg);
		transition: .5s;
		color: #000;
	}
}