/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 3px solid #654321;
  padding: 10px 30px;
}
.logo {
  font-weight: bold;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  border-bottom: 2px solid transparent;
}
.navbar a.active {
  border-bottom: 2px solid #654321;
}
.account {
  background: #e91e63;
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
}

/* Library Section */
.library {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 30px;
  background: #e8e3d6;
}
.shelf {
  width: 25%;
  background: #d2a679;
  padding: 15px;
  border: 5px solid #8b5a2b;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book {
  background: #ccc;
  padding: 20px 10px;
  text-align: center;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.book.tall {
  height: 100px;
}
.book.short {
  height: 70px;
}

.book.blue {
  background: #87ceeb;
}
.book.red {
  background: #ff6961;
}
.book.pink {
  background: #ffb6c1;
}
.book.purple {
  background: #b19cd9;
}
.book.green {
  background: #90ee90;
}

/* Center Area */
.center-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.painting {
  width: 200px;
  height: 100px;
  border: 4px solid #5a4220;
  background: #9acd32;
  display: flex;
  align-items: center;
  justify-content: center;
}
.open-book {
  width: 200px;
  height: 120px;
  background: #fceabb;
  border: 2px solid #bca15a;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: "Times New Roman", serif;
  transform: rotateX(10deg);
}
.open-book .page {
  width: 45%;
  text-align: center;
}

/* Footer */
footer {
  background: #5a4220;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 14px;
}
footer a {
  color: #ddd;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}
