@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');
body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: linear-gradient(90deg, #fff 50%, #293358 50%);
	font-family: 'Roboto', sans-serif;
}	
input{
	display: none;
}
img{
	width: 100%;
	height: 100%;
}
.book{
	display: flex;
    margin-top: 149px;
  margin-left: 871px;
}
#cover{
	width: 250px;
	height: 400px;
}
.flip-book{
	width: 250px;
	height: 400px;
	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;
}

h2{

font-size: 2px;

}
.front{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #fdfdfd;
	box-sizing: border-box;
	padding: 0 2px;
	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: #354878
}
.next-btn{
    position: absolute;
    bottom: 3px;
    right: 7px;
    cursor: pointer;
    color: #354878;
  
}
.back-btn{
	position: absolute;
	bottom: 13px;
	right: 13px;
	cursor: pointer;
    color: #fcfcfc;
}
#p1{
	z-index: 3;
}
#p2{
	z-index: 2;
}
#p3{
	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;
}


footer {
	margin-top: auto;
	background-color: #ffffff; /* Add your desired background color */
	padding: 20px;
}


/*responsive*/
@media only screen and (max-width: 600px) {
	.container {
        max-width: 900%; /* Adjust as needed */
		margin-left: -900px;
		top: 5px;
    }
	.img{
		width: 5%;
	height: 5%;
	}	
}

@media only screen and (max-width: 768px) {
	.container {
        max-width: 900%; /* Adjust as needed */
		margin-left: -861px;
    }
	.img{
		width: 50%;
	height: 50%;
	}
}

@media only screen and (min-width: 769px) and (max-width: 1380px) {
    .container {
        max-width: 900%; /* Adjust as needed */
		margin-left: -600px;
    }
	.img{
		width: 50%;
	height: 50%;
	}
}
