@import url("https://fonts.googleapis.com/css2?family=Cairo&display=swap");
:root {
  --main-color: #1f847d;
  --second-color: #76787d;
}
.container{
    width: 90%;
}
a.page-link{
    color: lightseagreen;
}
a:hover {
  text-decoration: none;
}
body {
  background: #f9f9f9;
  font-family: "Cairo", sans-serif;
}
.navbar {
  background: #fff !important;
  border-bottom: 1px solid #eee;
}
.navbar .dashboard-btn {
  color: var(--main-color);
  padding: 5px;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  width: 120px;
  text-align: center;
  transition: 0.3s;
}
.navbar .dashboard-btn:hover {
  background: var(--main-color);
  color: #fff;
}
/* banar */
.banar {
  background: url(../images/banar.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  position: relative;
  min-height: 50vh;
}
.banar .overlay {
  background-color: var(--main-color);
  opacity: 0.9;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.banar .lib-info {
  font-family: "Cairo", sans-serif;
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  width: 90%;
}
.banar .lib-info h4 {
  font-size: 30px;
  font-weight: bold;
  padding: 5px;
    border-top:5px solid;  
}
.banar .lib-info p {
  font-size: 17px;
  font-weight: bold;
  padding: 10px;
  line-height: 30px;
  
}
/* Start Books */
.books {
  margin: 50px 0;
}
.card {
  margin-bottom: 30px;
}
.img-cover {
  height: 250px;
  overflow: hidden;
}
.img-cover .card-img-top {
  width: 100%;
  height: auto;
  display: block;
}
.card-title a {
  color: var(--main-color);
  transition: 0.3s;
}
.card-title a:hover {
  text-decoration: none;
  color: var(--second-color);
}
.card-text {
  color: #777;
  line-height: 30px;
}
.custom-btn {
  padding: 10px;
  border: 1px solid var(--main-color);
  outline: none;
  transition: 0.3s;
  width: 100%;
  background: var(--main-color);
  color: #fff;
}
.custom-btn:hover {
  background: var(--main-color);
}
.custom-btn a {
  font-size: 18px;
  display: block;
  color: #fff;
}
.custom-btn a:hover {
  text-decoration: none;
  color: #fff;
}
/* End Books */

/* Start Show individual book */
.book-cover {
  overflow: hidden;
}
.book-cover img {
  width: 100%;
}
.book-content {
  margin-top: 20px;
}
.book-content h4 a {
  color: #555;
}
.book-content h4 a:hover {
  color: #777;
  text-decoration: none;
}
.book-content p {
  line-height: 30px;
}
/* Reated Books */
.related-books {
  margin-top: 70px;
}
.related-book {
  margin: 20px 0;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
}
.cover {
  overflow: hidden;
}
.cover img {
  width: 100%;
}
.title {
  margin: 10px 0;
}
.title a {
  color: #555;
}
.title a:hover {
  color: #777;
}
/* End Show individual book */

/* Start footer */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding-top: 10px;
 background-color: #555;
color: white;
}
/* End footer */

/* Show individual book */
.book-cover {
  overflow: hidden;
  display: block;
  width: 100%;
}
.book-cover img {
  width: 100%;
  display: block;
  overflow: hidden;
}

    /* Remove the navbar's default margin-bottom and rounded borders */ 
    .navbar {
      margin-bottom: 0;
      border-radius: 0;
    }
    
    /* Set height of the grid so .sidenav can be 100% (adjust as needed) */
    .row.content {height: 450px}
    
    /* Set gray background color and 100% height */
    .sidenav {
      padding-top: 20px;
      background-color: #f1f1f1;
      height: 100%;
    }
    
    /* Set black background color, white text and some padding */
    
    
    /* On small screens, set height to 'auto' for sidenav and grid */
    @media screen and (max-width: 767px) {
      .sidenav {
        height: auto;
        padding: 15px;
      }
      .row.content {height:auto;} 
    }
/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #151515;
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  transition: ease-in-out 0.3s;
  color: #484848;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .member .social a:hover {
  color: #151515;
  background: #ffc451;
}

.team .member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #151515;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
