@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;
}
body {
    display: grid;
    place-content: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #000000;
}

.flipbook {
    width: 1024px;  /* Fixed width for larger screens */
    height: 650px;  /* Fixed height for larger screens */
}

.flipbook .hard {
  background: #2e688f00 !important;
  color: #fff;
  font-weight: bold;
  border: none;
  text-align: center; /* ✅ Add this */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* optional */
}


.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: 88%;  /* Adjust to maintain the aspect ratio */
    object-fit: cover;
    margin: auto;
}


.page small {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 14px;
  opacity: 0.7;
}

.flipbook .page small {
    font-size: 14px;
    margin-bottom: 10px;
}

.return-button-container {
    text-align: center;
    margin-top: 20px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

/* Media Queries for smaller devices */
@media (max-width: 1024px) {
    .flipbook {
        width: 80vw;  
        height: 50vh;  
    }
}

@media (max-width: 768px) {
    .flipbook {
        width: 90vw;   
        height: 48vh;  

    }
}

@media (max-width: 565px) {
    .flipbook {
        width: 95vw;   
        height: 40vh;  
    }
}
