body {
    background: url('https://i.pinimg.com/1200x/94/c7/77/94c777fa171d2b1fb3cf40d960be71a0.jpg') no-repeat center center / cover fixed;
    min-height: 100vh;
    overflow: hidden;
    cursor: url('https://cdn.cursors-4u.net/previews/tiny-book-26742396-32.webp') 32 32, auto !important;
    margin: 0;
    padding: 0;
    font-family: "Libre Baskerville", serif;
}
h1{
  font-family: "Princess Sofia", cursive;
  font-weight: 400;
  font-style: normal;
}

.petal-fall-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Allows clicks to pass through to elements below */
}

.petal {
  position: absolute;
  top: -10%; /* Start slightly above the screen */
  background-color: #ffb3c6;
  border-radius: 15% 50% 35% 50%; /* Petal-like shape */
  opacity: 0.8;
  animation: fall linear infinite;
}
@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    transform: translateY(110vh) rotate(360deg) scale(0.9);
  }
}

.bigbook {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 920px;
}
.container {
    position: relative;
    height: 920px;
    width: 1900px
}
.recently-read {
  position: absolute;
  top: 100px;
  left: 520px;
  width: 350px;
  height: 300px;
  overflow-y: auto;
  background-image: url('https://i.pinimg.com/vwebp/1200x/63/e3/f6/63e3f66fd0df07c051c53bbb7ccbbaba.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 5px solid #A4565C;
  border-radius: 8px;

  scrollbar-color: #A4565C #ECD0D4;
}

/* WebKit browsers (Chrome, Safari, Edge) */
.recently-read::-webkit-scrollbar {
  width: 12px;
}

.recently-read::-webkit-scrollbar-track {
  background: #ECD0D4; 
}

.recently-read::-webkit-scrollbar-thumb {
  background-color: #A4565C; 
  border-radius: 20px;
  border: 3px solid #FDE5E8; 
}

.content-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.book-cover {
  width: 100px;
  height: auto;
  border-radius: 4px;
}

.text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.justread {
  position: absolute;
  top: 210px;
  right: 90px;
  width: 250px;
  height: 350px;
  background-color: #b3dcd6;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 5px solid #596498;
  border-radius: 8px;
  
}



/* Container holds both the background image and the text layer */
.card-container {
  position: absolute;
  top: 100px;
  right: 520px;
  width: 400px; 
  height: 590.74px;
  z-index: 0;
  
}


.pinkcard {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

/* Overlay positions the text on top of the image */
.overlay-content {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 80px; 
  box-sizing: border-box;
}

.overlay-content h1 { 
  margin-top: 50px; 
  margin-bottom: 5px; 
} 

.body-content { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
} 

.inner-img { 
  width: 100px; 
  height: auto; 
}

.currentlyreading {
  /* Box positioning */
  position: absolute;
  bottom: 100px;
  right: 520px;
  width: 350px;
  height: 50px;  
  /* Layout */
  display: flex;
  flex-direction: column;
  gap: 5px; /* 5px gap between h1 and p */
  padding: 20px 20px 20px 20px; /* Adjusting the top padding to achieve the 2px gap */

  /* Styling */
  background-image: url('https://i.pinimg.com/vwebp/1200x/63/e3/f6/63e3f66fd0df07c051c53bbb7ccbbaba.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid #A4565C;
  border-radius: 8px;
}

/* Reset default h1 margins so flex gap controls spacing accurately */
.currentlyreading h1 {
  margin: 0;
}

.currentlyreading p {
  margin: 0;
}

.pastreads {
  /* Box positioning */
  position: absolute;
  bottom: 100px;
  left: 520px;
  width: 350px;
  height: 80px;  
  /* Layout */
  display: flex;
  flex-direction: column;
  gap: 5px; /* 5px gap between h1 and p */
  padding: 20px 20px 20px 20px; /* Adjusting the top padding to achieve the 2px gap */

  /* Styling */
  background-image: url('bluestarbackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid #191970;
  border-radius: 8px;
}

/* Reset default h1 margins so flex gap controls spacing accurately */
.pastreads h1 {
  margin: 0;
}

.pastreads p {
  margin: 0;
}



.fairygif {
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 200px;
  width: auto;
  
}
.backbutton-container { 
  position: absolute; 
  top: 15px; 
  right: 0px; 
}
.backbutton-container img {
  height: 50px; 
  width: auto; 
}


