* {
    padding: 0;
    margin: 0;
}

body {
    background-color: rgb(224, 223, 211);
}

hr {
    height: 0.3px;
    background-color: rgb(113, 111, 111);
}

.main {
    width: 100%;
    height: 70px;
    background-color: rgb(224, 223, 211);
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: 0px 0px 10px 5px rgb(168, 166, 166);
}

.navbar {
    width: 1200px;
    height: 70px;
    /* background-color: pink; */
    margin: auto;

}

.navbar-left {
    width: 150px;
    height: 70px;
    /* background-color: orange; */
    float: left;
    margin-right: 50px;
}

.navbar-left img {
    width: 70px;
    height: 70px;

}

h1 {
    font-size: 25px;
    font-family: Lucida Handwriting;
    color: rgb(125, 60, 60);
}

.navbar-mid {
    width: 850px;
    height: 70px;
    /* background-color: violet; */
    float: left;

}

.navbar-mid ul {
    width: 100%;
    height: 100%;
}

.navbar-mid ul li {
    float: left;
    list-style-type: none;
}

.navbar-mid ul li a {
    text-decoration: none;
    font-size: 20px;
    font-family:Khmer OS Battambang;
    padding: 20px 15px;
    display: block;
    color: rgb(155, 32, 32);

}

.navbar-mid ul li a i {
    margin-right: 5px;
}

.navbar-mid ul li a:hover {
    color: rgb(60, 60, 161);
}

.navbar-right {
    width: 150px;
    height: 70px;
    /* background-color: turquoise; */
    float: right;
}

.navbar-right a:hover {
    color: rgb(60, 60, 161);
}

.navbar-right a {
    text-decoration: none;
    font-size: 25px;
    font-family: Calibri;
    padding: 18px 15px;
    display: block;
    color: rgb(125, 60, 60);
}

.navbar-right a i {
    margin-right: 10px;
}

.dropdown {
    position: relative;
}

.dropdown-item {
    width: 180px;
    height: 110px;
    background-color: rgb(188, 179, 188);
    position: absolute;
    display: none;
    transition: 0.2s;

}

.dropdown-item ul {
    width: 100%;
}

.dropdown-item ul li {
    width: 100%;
}

.dropdown-item ul li a {
    padding: 5px 4px;
    text-align: center;
    font-family: Calibri;
}

.dropdown:hover .dropdown-item {
    display: block;
}

.dropdown1 {
    position: relative;
}

.dropdown-item1 {
    width: 180px;
    height: 100px;
    background-color: rgb(188, 179, 188);
    position: absolute;
    display: none;
    transition: 0.2s;
}

.dropdown-item1 ul {
    width: 100%;
}

.dropdown-item1 ul li {
    width: 100%;
}

.dropdown-item1 ul li a {
    padding: 5px 4px;
    text-align: center;
}

.dropdown1:hover .dropdown-item1 {
    display: block;
}

.home a:hover {
    width: auto;
    height: 30px;
    background-color: rgb(234, 224, 165);
    box-shadow: 0px 0px 10px 3px rgb(151, 149, 149);
}

.dropdown a:hover {
   
    background-color: rgb(234, 224, 165);
    box-shadow: 0px 0px 10px 3px rgb(151, 149, 149);
}

.khmer a:hover {
    width: auto;
    height: 30px;
    background-color: rgb(234, 224, 165);
    box-shadow: 0px 0px 10px 3px rgb(151, 149, 149);

}

.about a:hover {
    width: auto;
    height: 30px;
    background-color: rgb(234, 224, 165);
    box-shadow: 0px 0px 15px 5px rgb(151, 149, 149);

}

.contact a:hover {
    width: auto;
    height: 30px;
    background-color: rgb(234, 224, 165);
    box-shadow: 0px 0px 15px 5px rgb(151, 149, 149);

}

.navbar-right {
    width: 150px;
    height: 70px;
    /* background-color: turquoise; */
    float: right;
}

.navbar-right a:hover {
    width: 130px;
    height: 33px;
    background-color: rgb(234, 224, 165);
    box-shadow: 0px 0px 15px 5px rgb(151, 149, 149);
    color: darkblue;
}

.container {
    width: 100%;
    height: 2900px;
    background-color: rgb(224, 223, 211);
}

.main-shelf {
    width: 1200px;
    height: 600px;
    /* background-color: red; */
    margin: auto;
}

.shelf {
    width: 800px;
    height: 500px;
    background-image: url(../img2/bookshelf-3.jpg);
    background-repeat: no-repeat;
    object-fit: cover;
    margin-left: 400px;
    box-shadow: 0px 0px 10px 3px rgb(166, 164, 164);
}

.shelf1 img {
    width: 150px;
    height: 200px;

}

.shelf2 img {
    width: 150px;
    height: 200px;
    margin-top: 75px;
    margin-left: 465px;
}

.review {
    width: 300px;
    height: 400px;
    float: left;
    margin-top: 50px;
    background-color: rgb(224, 223, 211);
    box-shadow: 0px 0px 15px 3px rgb(146, 145, 145);
}

.review a {
    text-decoration: none;
}

#ielt {
    width: 250px;
    height: 50px;
    background-color: rgb(224, 223, 211);
    margin: auto;
    text-align: center;
}

#ielt h1 {
    font-family: Calibri;
    padding-top: 10px;
}

#ielt hr {
    width: 130px;
    height: 2px;
    background-color: brown;
    border: 0px;
    margin-left: 10px;
}

#kind {
    width: 250px;
    height: 50px;
    /* background-color: aqua; */
    margin: auto;
    margin-top: 25px;
    border-radius: 30px;
    background-color: rgb(224, 223, 211);
    box-shadow: 0px 0px 15px 3px rgb(180, 179, 179);
}

#kind:hover {
    color: green;
}

#kind h1 {
    font-family: Calibri;
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
}

#kind1 {
    width: 250px;
    height: 50px;
    /* background-color: aqua; */
    margin: auto;
    margin-top: 20px;
    border-radius: 30px;
    background-color: rgb(224, 223, 211);
    box-shadow: 0px 0px 15px 3px rgb(180, 179, 179);
}

#kind1 h1 {
    font-family: Calibri;
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
}

#kind2 {
    width: 250px;
    height: 50px;
    /* background-color: aqua; */
    margin: auto;
    margin-top: 20px;
    border-radius: 30px;
    background-color: rgb(224, 223, 211);
    box-shadow: 0px 0px 15px 3px rgb(180, 179, 179);
}

#kind2 h1 {
    font-family: Calibri;
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
}

#kind3 {
    width: 250px;
    height: 50px;
    /* background-color: aqua; */
    margin: auto;
    margin-top: 20px;
    border-radius: 30px;
    background-color: rgb(224, 223, 211);
    box-shadow: 0px 0px 15px 3px rgb(180, 179, 179);
}

#kind3 h1 {
    font-family: Calibri;
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
}

.history {
    width: 1200px;
    height: 500px;
    /* background-color: rgb(176, 105, 116);  */
    margin-top: 50px;
    margin: auto;

}

.history h1 {
    font-family: Ang Tasom;
    font-size: 40px;
    text-align: center;
}

.history hr {
    width: 400px;
    /* background-color: rgb(91, 66, 66); */
    border: 0px;
    height: 2px;

}

.boxa {
    width: 1200px;
    height: 350px;
    /* background-color: aqua; */
    margin-top: 60px;
}

.box1a {
    width: 198px;
    height: 350px;
    /* background-color: antiquewhite; */
    float: left;
    /* border: 1px solid grey; */
    overflow: hidden;
    transition: 0.5s;
}
.box1a:hover img{
    transform: scale(1.02);
}
.box1a:hover{box-shadow:0px 0px 1px 1px #00000019}
.box-img {
    width: 140px;
    height: 200px;
    /* background-color: red; */
    margin: auto;
    margin-top: 20px;

}

.box-img img {
    width: 140px;
    height: 200px;
    object-fit: cover;
    z-index: -6;
    transition: 0.5s;
}

.title {
    width: 140px;
    height: 95px;
    background-color: rgb(224, 223, 211);
    margin: auto;
    margin-top: 10px;
    z-index: 5;
    font-family: Calibri;
}
.title h3{
    color: #09004ccc;
    margin-bottom: 5px;
}
.title p{
    font-size: 13px;
    color: #212121c5;
}
.title a {
    text-decoration: none;
    margin-top: 15px;
    display: block;
}
.title a h1{
    background-color: rgb(255, 255, 255);
    color: darkblue;
    font-size: 13px;
    font-family: Calibri;
    display: none;
    padding-right: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.title i{
   margin-left: 120px;
    margin-top: -15px;
   display: block;
}

.title h1 {
    font-size: 15px;
    font-family: Calibri;
}

.box1a:hover .title a h1 {
   display: block;
}
 

.title i:hover {
    color: red;
}

.last {
    width: 100%;
    height: 300px;
    /* background-color: red; */
    margin-top: 200px;
}

.info {
    width: 1200px;
    height: 300px;
    /* background-color: pink; */
    margin: auto;

}

.info-a {
    width: 370px;
    height: 300px;
    /* background-color: green; */
    margin-right: 40px;
    float: left;
}

.last {
    width: 100%;
    height: 300px;
    background-color: rgb(224, 223, 211);
    float: left;
    box-shadow: 0px 0px 10px 3px rgb(172, 170, 170);

}

.info-a p {
    margin-top: 30px;
    font-size: 30px;
    font-family: Caliibri;
    color: rgb(127, 76, 76);
    margin-left: 50px;
}

.info-a h3 {
    font-size: 15px;
    font-family: Khmer OS Battambang;
    margin-left: 45px;
    margin-top: 30px;
    color: darkblue;
}

.info-a h1 {
    font-size: 20px;
    margin-left: 45px;
    margin-top: 20px;
    color: darkblue;
}

.info-a pre {
    font-size: 20px;
    margin-left: 45px;
    margin-top: 20px;
    color: darkblue;
    font-family: Calibri;
}

.info-a h4 {
    font-size: 20px;
    font-family: Calibri;
    text-align: center;
    margin-top: 30px;
    color: darkblue;
}

.info-a h4:hover {
    color: white;
}

.info-a a i {
    margin-right: 10px;
}

.info-a a {
    font-size: 20px;
    font-family: Calibri;
    color: darkblue;
    margin-left: 50px;
    margin-top: 20px;
    text-decoration: none;
    display: block;
}

.info-a a:hover {
    color: white;
}

.copy-right {
    width: 100%;
    height: 50px;
    background-color: blue;
    float: left;
}

.copy-right h5 {
    font-size: 15px;
    font-family: Calibri;
    color: white;
    text-align: center;
    margin-top: 15px;
}

.copy-right i {
    margin-left: 5px;
}