.body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pageContainer {
  margin: 0 auto;
  position: absolute;
  width: 200px;
  height: 300px;
  /* opacity: 0; */
  /* transition: opacity 0.5s ease, transform 0.5s ease; */
  z-index: 1;
}

.placeholderThumbnail {
  height: 200px;
  width: 150px;
  border: 2px solid #dedede;
  background-color: white;
  position: absolute;
  cursor: pointer;
  overflow-wrap: break-word;
  overflow: hidden;
  padding: 5px;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.placeholderThumbnail:hover {
  transform: translateY(-130px) !important;
  transition: transform 0.3s ease;
}

.placeholderTitle {
  color: gray;
  font-size: 24px;
  text-align: center;
  margin-top: 10px;
}

.placeholderContent {
  padding: 20px;
  font-size: 14px;
  overflow-wrap: break-word;
  hyphens: auto;
  overflow: hidden;

}

.what {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: #F5DEB3;
  font-weight: 600;
  border-radius: 15px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.what:hover {
  background-color: #f0e4d7;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup.show {
  transform: scale(1);
  opacity: 1;
}

.popup h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #5a3d2b;
}

.popup button {
  background-color: #F5DEB3;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.popup button:hover {
  background-color: #c6b391;
}



.libraryTitle {
  font-family: 'Georgia', serif;
  font-size: 50px;
  text-align: center;
  margin: 20vh auto;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-block;
  border-bottom: 2px solid black;
  padding-bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
}

#container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  z-index: 0;
}

.folder {
  width: 300px;
  height: 170px;
  background-color: #F5DEB3; /* Light beige color for front folder */
  position: relative;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.5s ease;
  z-index: 2;
  top: 30px;
  transform-origin: bottom;
  transform: skewX(-3deg);
}

.folder-back {
  width: 300px;
  height: 200px;
  background-color: #D2B48C; /* Darker beige for the back */
  position: absolute;
  z-index: 1;
}

/* Animation for opening folder */
.open-folder .folder {
  transform: scaleY(0.8) skewX(-6deg);
} 

.open-folder .placeholderThumbnail {
  opacity: 1;
  transform: translateY(-80px); /* Move to original position */
}

.blinder {
  z-index: 20;
  background-color: white;
  position: absolute;
  top: 200px;
  height: 250px;
  width: 400px;
}
