/* CSS for Navbar */
#logo{
    transition-duration: 0.5s;
}

#logo:hover{
    transform: scale(1.09);
}

.fa-solid{
    margin-right: 8px;
}

#nav_a{
	color: #ffffff;
  position: relative;
  text-decoration: none;
  margin-left: 15px;
  margin-right: 15px;
  font-weight: bold;
  padding-left: 0px;
  padding-right: 0px;
}

#nav_a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

#nav_a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

#login{
	color: #ffffff;
  position: relative;
  text-decoration: none;
  margin-left: 15px;
  margin-right: 15px;
  font-weight: bold;
  padding-left: 0px;
  padding-right: 0px;
}

#login::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #ffffff;
  bottom: 0;
  left: 0;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

#login:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

/* CSS for Form Input */
body{
  background-color: rgb(231, 231, 231);
}
#main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

#book_data {
    border-style: solid;
    border-width: 1px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    background-color: rgb(255, 255, 242);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.input {
    width: 350px;
    border-radius: 5px;
    height: 35px;
}

#submit {
    padding: 5px;
    width: 130px;
    border: none;
    border-radius: 5px;
    background-color: rgb(209, 209, 209);
    font-weight: bold;
    transition-duration: 0.5s;
}

#submit:hover {
    background-color: rgb(165, 253, 253);
    color: blue;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}