
.flex {
    display: flex;
}

.column {
    flex-direction: column
}

.space-around {
    justify-content: space-around;
}

.align-center {
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.book-filter input {
    padding: 5px;
    margin: 3px 5px 3px 5px;
}

img {
    width: 100%;
}

button {
    cursor: pointer;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr)
}

.green {
    color: green;
}

.red {
    color: red;
}

.book-app {
    position: relative;
}

.books-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 150px;
}

.books-header>img {
    position: absolute;
    height: 150px;
    width: 400px;
    align-self: center;
    left: calc(50vw - 200px);
}

.books-header h1 {
    position: absolute;
    text-transform: uppercase;
    text-align: center;
    font-size: 5em;
    margin: 0;
    color: #2d19e4;
    -webkit-text-stroke: 2px rgb(0, 0, 0);
    z-index: 1;
}

.book-list ul {
    flex-wrap: wrap;
    justify-content: center;
}

.book-list li {
    cursor: pointer;
    margin: 10px;
    width: 250px;
    height: 334px;
    text-align: center;
    color: rgb(255, 0, 0);
    font-size: 1.5em;
    font-weight: bold;
    transition: all 0.3s;
}

.review-list h1 {
    font-size: 1.5em;
    text-align: center;
    padding: 10px;
    text-decoration: underline;
}

.review-list ul {
    flex-wrap: wrap;
    justify-content: center;
}

.review-list button {
    width: 20%;
    padding: 5px;
}

.review-list li {
    margin: 10px;
    width: 125px;
    height: 175px;
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 0.8em;
    font-weight: bold;
    transition: all 0.3s;
}

.book-preview {
    text-transform: capitalize;
}

.book-preview img {
    width: 250px;
    height: 334px;
}

.book-preview h3 {
    word-wrap: break-word;
    max-width: 90%;
    margin: 10px auto;
}

.book-txt {
    position: absolute;
    width: 250px;
    height: 334px;
    -webkit-text-stroke: 0.1px rgba(255, 255, 255, 0.747);
}

.book-filter {
    justify-content: center;
    padding: 10px;
    background: #34d641;
}

.btn {
    border: none;
    background-color: #34d641;
    color: #fddb95;
    padding: 10px;
    transition: all 0.3s;
}

.btn:disabled {
    opacity: 0.5;
    cursor: auto;
}

.btn:hover:enabled {
    color: #06b6ad;
    background-color: #fddb95;
}

.book-list li:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 8px 0px #5d5555
}

.book-desc {
    text-overflow: ellipsis;
    word-wrap: break-word;
    max-width: 80%;
}

.sale-icon {
    width: 40px;
}

.new-icon {
    width: 30px;
}

.book-img {
    max-width: 250px;
}

.book-reviews {
    flex-direction: row
}

.book-details {
    padding: 10px 0;
    justify-content: center;
    align-items: center;
}

.book-details-container {
    width: 90%;
    align-items: center;
    justify-content: center;
    background-color: #06b6ad;
    box-shadow: 0 0 11px black;
}

.book-details-img {
    padding: 10px;
    margin: 0 10px 0 0;
}

.book-details h1, h4, h5, h3, p {
    margin: 0 0 10px;
}

.book-details h1 {
    font-size: 28px;
    text-decoration: underline;
}

.book-details-header {
    width: 50%;
    text-align: center;
    padding: 10px;
    margin: 0 10px 0 0;
    color: #fddb95;
}

.book-details-main p span, .book-details-header p span {
    font-weight: bold;
    font-size: 18px;
    text-transform: capitalize;
}

.more-btn {
    font-size: 15px;
    min-width: 20px;
}

.amount {
    align-items: center;
}

.amount p {
    margin: 0 5px 0 0;
}

.amountColor {
    margin: 0 0 0 5px;
}

.about-main {
    margin: 50px auto;
    min-width: 552px;
    width: 50%;
    font-size: 1.3em;
    align-self: center;
}

@media (max-width: 550px) {
    .about-main {
        margin: 50px auto;
        min-width: 100px;
        width: 70vw;
    }
    .about-details {
        flex-direction: column-reverse;
    }
}

.about-left-box img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 20px;
    background-size: contain;
    align-self: center;
    /* margin-right: auto;
    margin-left: auto; */
    box-shadow: 0 0 12px black;
    animation: swirl-in-fwd 0.6s ease-out both;
}

@keyframes swirl-in-fwd {
    0% {
        transform: rotate(-540deg) scale(0);
        opacity: 0;
    }
    100% {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.about-details ul li {
    margin: 0 15px;
}

.about-details ul li a {
    font-size: 30px;
}

.facebook-logo {
    color: #2b4170;
    animation: slide-in-elliptic-top-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
}

.facebook-logo:hover {
    color: #3b5998;
    box-shadow: 1px 1px 2px 0 black;
}

.linkedin-logo {
    color: #0077b5;
    animation: slide-in-elliptic-top-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
}

.linkedin-logo:hover {
    color: #009cda;
    box-shadow: 1px 1px 2px 0 black;
}

.github-logo {
    color: #333;
    animation: slide-in-elliptic-top-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s both;
}

.github-logo:hover {
    color: #4078c0;
    box-shadow: 1px 1px 2px 0 black;
}

@keyframes slide-in-elliptic-top-fwd {
    0% {
        transform: translateY(-600px) rotateX(-30deg) scale(0);
        transform-origin: 50% 100%;
        opacity: 0;
    }
    100% {
        transform: translateY(0) rotateX(0) scale(1);
        transform-origin: 50% 1400px;
        opacity: 1;
    }
}

.about-left-box {
    text-align: center;
    left: 25%;
}

.about-right-box {
    /* width: 100%; */
    /* padding: 10px; */
}

@media (max-width:650px) {
    .books-header {
        min-height: 100px;
    }
    .book-filter {
        flex-direction: column;
        align-items: center;
    }
    .book-details-container {
        align-items: normal;
    }
}

@media (max-width:470px) {
    .book-details-container {
        flex-direction: column;
        align-items: center;
    }
    .book-details-img img {
        height: 200px;
        width: auto;
    }
    .book-details-header {
        width: 100%;
    }
    .books-header {
        height: 100px;
    }
    .books-header h1 {
        font-size: 3em;
    }
    .books-header>img {
        height: 100px;
        width: 200px;
        left: calc(50vw - 100px);
    }
}

@media (max-width:242px) {
    .books-header h1 {
        font-size: 3em;
    }
}

.bounce-enter-active {
    animation: bounce-in .5s;
  }
  .bounce-leave-active {
    animation: bounce-in .5s reverse;
  }
  @keyframes bounce-in {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }

  /* ------------------review------------- */
.review-book {
    text-align: center;
    padding: 10px;
}
 .back-btn {
    float: left;
}
.review-book form{
    width: 60%;
    padding: 10px;
    margin: 0 10px;
    box-shadow: 0 0 7px black;
    background-color: #7b5d37;
    color: wheat;
}
.review-book .form-header {
    margin: 0 0 10px;
}
.review-book form input,select,button,textarea {
    margin:0 0 10px;
}

.reviews-item {
    padding: 10px;
    background-color: #7b5d37;
    color: #fddb95; 
    box-shadow: 0 0 13px black;
}

.review-book select{
    color: gold;
    background: whitesmoke;
    font-size: 16px;
    text-align: center;
    padding: 5px;
}

.review-list h1 {
    margin: 0 0 10px;
    color: #7b5d37;
}
.review-list ul {
    margin: 10px  0 0 0;;
    padding: 0;
}

/* gooogle */
.book-add input {
    align-self: center;
}
.google-res p{
    margin: 0;
    font-size: 14px;
}
.google-res  {
    padding: 0;
    background: white;
    color: #36260c;
}

.google-res li {
    border-bottom: 1px solid #36260c;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    margin: 0 0 2px;
    transition: all 0.3s;
}
.google-res li:hover {
    box-shadow: 0 0 13px black;
}

/* user msg */
.user-msg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #80808052;
}

.user-msg>div{
    background-color: white;
    border-radius: 20px;
    width: 50%;
    display: flex;
    padding: 10px;
    justify-content: space-between;
}

.user-msg button {
    align-self: flex-start;
    background: transparent;
}

.success {
    border:1px solid green;
}
.success i, .success h2{
    color:green;
    margin:0 10px 0 0;
}
.err {
    border:1px solid red;
}
.err i ,.err h2  {
    color:red;
    margin:0 10px 0 0;
}