@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: "Poppins", sans-serif;
    user-select: none;
}

body {
    display: grid;
    place-content: center;
    height: 100vh;
    width: 100vw;
	overflow: hidden;
	background: #F9DED8;
}

.flipbook {
    width: 1000px;
    height: 600px;
}

.flipbook .hard {
    background: #D06566 !important;
    color: #fff;
    font-weight: bold;
    border: none;
     
}

.flipbook .hard p{
    padding:22px;
}

.wave {
  float: left;
  margin: 20px;
  animation: wave  ease-in-out 1s infinite alternate;
  transform-origin: center -36px;
}


.wave:hover {
  animation-play-state: paused;
  cursor: pointer;
}


.wave:after{
  content: '';
  position: absolute;
  width: 20px; 
  height: 20px;
  border: 1.5px solid #ffffff;
  top: -10px; 
  left: 30%;
  border-bottom: none;
  border-right: none;
  transform: rotate(35deg);
}
       
.wave:before{
  content: '';
  position: absolute;
  top: -23px;
  left: 30%;
  display: block;
  height: 44px;
  width: 47px;
  background-image: url(https://cdn.hashnode.com/res/hashnode/image/upload/v1602040503586/FW6g79WBY.png);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  z-index: 16;
}
        
@keyframes wave {
  0% { transform: rotate(1deg); }
  100% { transform: rotate(-1deg); }
}

.flipbook  .img-cont{
    position: absolute;
    top: 0;
    left: 0;
}

.flipbook .page p{
    padding: 20px;
}

.white{
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}
.colored-page{
    background-color: #d26666 !important;
}

.swipe-div{
    position: absolute;
    bottom: 10px;
    right : 10px;
}

.flipbook .hard small{
	font-style: italic;
	font-weight: lighter;
	opacity: 0.7;
	font-size: 14px;
}

.flipbook .page {
    background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.page img{
	width: 70%;
	object-fit: cover;
	margin: auto;
}

.flipbook .page small{
	font-size: 14px;
    margin-bottom: 10px;
}

