body { 
    /* padding-top: 30px; */
    font-family: Arial;
    /* padding: 20px; */
    background-color: #e8e3dc;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.heading {
    font-size: 80px;
}

/* mobile  */
.top-img { 
    width: 100%;
    height: auto;
    display: block;
}

/* tablet */
@media (min-width: 768px) {
.top-img { 
    width: 100%;
    margin-bottom: 0px;
}
}

/* tablet */
@media (min-width: 1200) {
    .top-img { 
        width: 100%;
        margin-bottom: 40px;
    }
    }
    


input[type="number"] {
    width: 60px;
}

button {
    touch-action: manipulation;
}

.left-space {
    margin-left: 40px !important;
}

.button-nav {
    margin-top: 20px;
    padding: 10px 20px;
    /* width: 90%; */
}

.hidden {
    display: none !important;
}

.btn-nav { 
    width: 23%; 
    min-width: 130px;
    margin: 5px;
    background-color: #cfc9c0;
    border: none;
    border-radius: 10px;
    cursor: pointer; 
}

/* tablet */
@media (min-width: 768px) {
    .btn-nav { 
        width: 23%; 
        min-width: 130px;
        margin: 5px;
        background-color: #cfc9c0;
        border: none;
        border-radius: 10px;
        cursor: pointer; 
    }
  }
  
  /* desktop */
  @media (min-width: 1200px) {
    .btn-nav { 
        width: 23%; 
        min-width: 130px;
        height: 50px;
        margin: 5px;
        background-color: #cfc9c0;
        border: none;
        border-radius: 10px;
        cursor: pointer; 
    }
  }

.nav-container{
    width: 90%;
}

.nav-bar {
    overflow-x: auto;
}

.nav-inner {
    display: flex;
    gap: 5px;
    min-width: 500px;
}

/* Tablet */
@media (min-width: 768px) {
    .nav-inner { 
        display: flex;
        gap: 5px;
        min-width: 500px;
    }
  }

/* desktop */
@media (min-width: 1200px) {
    .nav-inner { 
        display: flex;
        gap: 5px;
        justify-content: center;
        min-width: 500px;
    }
  }

.dark-btn {
    background-color: #a79f95 !important;
}


.form { 
    background-color: rgba(255, 255, 255, 0.566);
    width: 50%;
    padding: 20px;
    border-radius: 10px;
    align-items: center;
}


.book {
    border: 10px solid #ccc;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.book-card {
    width: 150px;
    padding: 0px !important;
    margin: 2px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 8px;
}

@media (min-width: 400px) {
    .book-card {
        width: 170px;
        padding: 0px !important;
        margin: 2px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        border-radius: 8px;
    }
  }

/* Tablet */
@media (min-width: 760px) {
    .book-card {
        width: 190px !important;
        padding: 0px !important;
        margin: 10px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        border-radius: 8px;
    }
  }

/* desktop */
@media (min-width: 1200px) {
    .book-card {
        width: 220px !important;
        padding: 0px !important;
        margin: 10px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        border-radius: 8px;
    }
  }


.top-container{
    margin-bottom: 20px !important;
}

.block {
    background-color: rgba(255, 255, 255, 0.472);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

.books-block{
    background-color: rgba(255, 255, 255, 0);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

.add-btn{
    background-color: #97c0ae;
}

.book-container {
    display: flex;
    /* flex-wrap: wrap;
    gap: 20px; */
    justify-content: center;
}

#books {
    justify-content: center;
    gap: 10px;
  }

.book-title {
    font-family: 'Cormorant Garamond', serif;
}

.book-cover-title {
    font-size: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    border: 2px solid #222;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #f4efe6;
    color: black;
    -webkit-text-stroke: 0.5px black;
}

.book-cover-title-plain {
    font-size: 13px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: black;
}

/* Tablet */
@media (min-width: 760px) {
    .book-cover-title {
        font-size: 15px;
        padding: 15px;
    }
  }

.card {
    border: none;
    background: #fdfaf5;
    box-shadow: 
    0 4px 6px rgba(0,0,0,0.1),
    inset 0 0 8px rgba(0,0,0,0.05);
}

.btn-add {
    background-color: rgba(255, 192, 203, 0.441);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.cart {
    position: fixed;
    top: 20px;
    background-color: #cbc7c2;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1000;
    min-width: 350px;
    width: 40%;
    max-height: 80%;
    overflow-y: auto;
}

.card-cart-item {
    background-color: rgba(255, 255, 255, 0.639);
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px;
}

.cart-button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}


.top-cart-btn {
    font-size: 60px;
    /* background-color: rgba(250, 118, 140, 0.915); */
}

.bottom-cart-btn {
    font-size: 20px;
}

.cart-card{
    background-color: #b3aca3;
    border: none;}

.sticky-top-right {
    padding: none;
    position: fixed;
    top: 20px;
    right: 0px;
    z-index: 1050;
}

#search-input {
    width: 80%;
    max-width: 550px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Tablet */
@media (min-width: 760px) {
    #search-input {
        width: 50%;
        max-width: 550px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

/* desktop */
@media (min-width: 1200px) {
    #search-input {
        width: 50%;
        max-width: 550px;
        margin-bottom: 20px;
    }
}

.checkout-btn {
    align-content: center;
    background-color: #a0978b;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    /* cursor: pointer;  */
    /* touch-action: manipulation; */
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-success {
    background-color: #7f7870 !important;
    /* transform: scale(1.2); */
    transition: all 0;
}
