* {
    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: 2650px;
    background-color: rgb(224, 223, 211);

}
.main-shelf {
    width: 1200px;
    height: 600px;
 /* background-color: red; */
    margin: auto;
}
.shelf {
    width: 600px;
    height: 400px;
    float: left;
    margin-top: 50px;
    background-image: url(../img2/bookshelf-1.webp);
    background-repeat: no-repeat;
    object-fit: cover;
    box-shadow: 0px 0px 10px 3px rgb(166, 164, 164);
}
.shelfA a img{
    width:120px;
    height: 180px;
    object-fit: cover;
    margin-top: 120px;
    margin-left: 410px;  
}
.shelfB a img{
    width:120px;
    height: 180px;
    object-fit: cover;
    margin-left: 260px;  
}
.shelfC a img{
    width:120px;
    height: 180px;
    object-fit: cover;
    margin-left: 110px;  
}
.mainA-left {
    width: 40%;
    height: 500px;
    /* background-color: orange; */
    float: right;
    margin-top: 80px;
}
h2 {
    font-size: 70px;
    font-family: Broadway;
    color: rgb(58, 45, 45);
}

h3 {
    font-size: 30px;
    font-family: Broadway;
    margin-left: 120px;
    margin-top: 30px;
    color: rgb(58, 45, 45);
}

h4 {
    font-size: 70px;
    font-family: Broadway;
    /* margin-left: 80px; */
    margin-top: 30px;
    color: rgb(58, 45, 45);
}

marquee {
    font-size: 20px;
    font-family: Khmer OS Battambang;
}
.motivation {
    width: 1200px;
    height: 900px;
    /* background-color: rgb(176, 105, 116); */
    margin-top: 50px;
    margin: auto;
}

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

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

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

.box1a {
    width: 196px;
    height: 380px;
    /* background-color: antiquewhite; */
    float: left;
    overflow: hidden;
   
}
.box1a:hover img{
    transform: scale(1.02);
}
.box1a:hover{box-shadow:0px 0px 1px 1px #00000019}
.box1b:hover img{
    transform: scale(1.02);
}
.box1b:hover{box-shadow:0px 0px 1px 1px #00000019}
.boxb {
    width: 1200px;
    height: 380px;
    /* background-color: aqua; */
    margin-top: 2px;
}

.box1b {
    width: 196px;
    height: 380px;
    /* background-color: antiquewhite; */
    float: left;
    overflow: hidden;
}

.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;
}
.title {
    width: 140px;
    height: 95px;
    background-color: rgb(224, 223, 211);
    margin: auto;
    z-index: 5;
    font-family: Calibri;
}
.title h4{
    color: #09004ccc;
    margin-bottom: 5px;
    font-size: 18px;
    font-family: Calibri;
}
.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;
}
.box1b: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;
}