body {
  background: url('/assets/opend-book2.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  font-family: 'Lora', serif;
  padding-bottom: 30px;
}

.container {
  background-color: rgba(0, 0, 0, 0.522);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.78);
}


.card {
  background-color: #0404044a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.card:hover , img:hover {
  transform:scale(1.05);
}


h1, h2, h5 {
  font-weight: 700;
  color: #ffffff;
}

.welcome {
  text-align: center;
  padding: 80px 20px;
}

.methods button,
.methods a {
  margin-right: 10px;
}


.form {
  width: 500px;
  margin: auto;
  padding: 20px;
  background-color: #1f190251;
  border-radius: 8px;
  box-shadow: -5px 8px 20px rgba(5, 39, 87, 0.666);
  text-align: center;
}


a {
  text-decoration: none;
}
p{
  padding-top: 5px;
  color: white;
}

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

.welcome a {
  height: 50px;
  width: 400px;
}

.methods {
  margin-bottom: 20px;
}

.img-fluid,img {
  display: flex;
  width: 300px;
  box-shadow: 
    13px 13px 8px 0px rgba(34, 10, 1, 0.303),
    inset -5px 0 8px -5px rgba(0,0,0,0.2);
  transform: 
    perspective(1000px) 
    rotateY(-12deg)
    rotateZ(1deg);
  transition: 
    transform 0.4s ease,
    box-shadow 0.4s ease;
  object-fit: cover;
}

.book-img:hover {
  transform: 
    perspective(2000px) 
    rotateY(0deg) 
    translateZ(20px);
  box-shadow: 
    15px 15px 12px 0px rgba(60, 62, 2, 0.35),
    inset -8px 0 12px -5px rgba(0,0,0,0.3);
}
img {
  max-width: 240px;
  margin: auto;
  padding-top: 10px;
  margin-top: 10px;
}

.container h1 {

  text-align: center;
}

.add-book
{
text-align: center;
  padding: 20px;
}

.custom-navbar {
  background: rgba(15, 15, 15, 0.773);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.nav-link,
.navbar-brand
 {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 1.1rem;
}

.nav-link:hover,
.navbar-brand:hover
{
  color: #dbdbdb !important;
  font-weight: bolder;
}

.show-book
{
 background: rgba(15, 15, 15, 0.67);
margin-top: 0;

}

img {
  transform: perspective(1000px) rotateY(-17deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow:
  -7px 5px 13px rgba(35, 8, 2, 0.711)
}
img:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.02);
}



form input.form-control,
form textarea.form-control {
  background-color: rgba(254, 254, 254, 0.085);
  color: #f6f6f6; 
  border: 1px solid #ffffff; 
}

#view-all {
  max-width: 300px;
  display: flex;
  align-items: center; 
  justify-content: center;
  margin-top: 10px;
}
#sign-up-button , #sign-in-button{
    max-width: 300px;
  display: flex;
  align-items: center; 
  justify-content: center;
  margin-top: 10px;
}

.btn-success {
  background-color: #030321c1 !important; 
  border-color: #ebebeb !important;   
  color: white !important;    
  border-color: rgb(255, 255, 255) !important;
  margin-bottom: 10px;
  align-items: center; 
  justify-content: center;
    max-width: 400px;

}

.btn-success:hover
{
  background-color: #010113f9 !important; 
  transform: scale(1.05);
}

