/* ======== ALL PAGE ======== */

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oxygen', Calibri, Arial;
    font-size: 20px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

.body-div {
    display: flex;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

/* ========================== */

/* ======== MAIN BODY ======== */

header {
    background-color: #535353;
}

#logo {
    display: inline-block;
    float: left;
    height: 60px;
    margin-top: 20px;
    margin-left: 10%;
}

#header-title-div {
    display: inline-block;
    margin-top: 25px;
    float: left;
    margin-left: 10%;
}

#header-title-div p {
    font-size: 150%;
    font-weight: 700;
    color: #d98243;
    text-align: center;
}

#back {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10%;
    border: 3px solid #d98243;
    padding: 10px;
    border-radius: 50px;
    font-weight: 700;
    color: #d98243;
    transition: border 0.5s, color 0.5s;
}

#back:hover,
#back:active {
    border-color: #a26233;
    color: #a26233;
}

#back a {
    text-decoration: none;
}

/* ========================== */

/* ======== MAIN BODY ======== */

.book {
    background-color: azure;
    margin: 25px;
    padding: 5px;
    text-align: center;
    float: left;
    border-radius: 15px;
    width: 230px;
    height: 300px;
    position:n relative;
    transition: transform 0.3s,background 0.3s;
    vertical-align: middle;
    padding: 10px;
}

.off {
    position: absolute;
    background-color: #f00;
    color: #fff;
    font-size: 80%;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    padding: 4px;
    text-align: center;
    vertical-align: middle;
}

.book:hover {
    transform: scale(1.10);
    background-color: #c9dbdb;
}

.book img {
    height: 200px;
    width: auto;
    margin-top: 7px;
}

.BKTXT {
    color: #3434c3;
    font-size: 90%;
    margin-top: 5px;
    line-height: 20px;
}

.price {
    font-size: 70%;
    font-weight: 700;
    color: #969696;
    margin-top: 5px;
}

/* ========================== */

.clearfix:after {
    display: table;
    content: "";
    clear: both;
}

footer {
    background-color: #363636;
    color: #909090;
    text-align: center;
    padding: 30px;
}

.footer-line {
    display: inline-block;
    margin-top: 10px;
    float: center;
    font-size: 80%;
}

.social {
    display: inline-block;
    width: 260px;
    margin: 0 auto;
}

.social ul {
    list-style: none;
}

.social-icon-link {
    display: inline-block;
    color: #909090;
    width: 20px;
    height: 20px;
    float: left;
}

#fb {
    margin-right: 100px;
    transition: color 0.5s;
}

#fb:hover,
#fb:active {
    color: #3b5998;
}

#tt {
    transition: color 0.5s;
}

#tt:hover,
#tt:active {
    color: #00acee;
}

#ig {
    margin-left: 100px;
    transition: color 0.5s;
}

#ig:hover,
#ig:active {
    color: #3f729b;
}
