/* Library */ 

@media (max-width: 480px) {
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  outline: 1px solid red;
  
}

body {
  overflow-x: hidden;
  padding-top: 50px;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

/*Nav bar*/
header {
    position: fixed;
    display: flex;
    height: 50px;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(171, 185, 150);
    z-index: 999;
    overflow: hidden;
}

.navbar{ 
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0px 0px;
  padding-right: 10px;
  background-color: rgb(171, 185, 150);
}

.navMenu{
  display:flex;
  gap: 8px;
  list-style: none;
  margin-left: auto;
  padding: 0;
  background-color: rgb(171, 185, 150);
  justify-content: end;
  flex-wrap: wrap;
  margin: 0;
  font-size: 14px;
}

.navItem{
  background-color: rgb(171, 185, 150);
}

.logo img {
  height: 40px; 
  width: auto;
  padding-top: 5px;
  background-color: rgb(171, 185, 150);
}

/*affects the nav bar contents*/
nav a{
    font-size:15px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
}

.navbar li{
  list-style: none;
}

/*Text*/
h1{
  font-size: 35px;
  color: black;
}
h2{
  font-size: 20px;
  color: black;
}
p{
  font-size: 15px;
  color: black;
}


  /*hide side scroller*/
body::-webkit-scrollbar {
  display: none;
}

/*Library container*/

.books{
  padding-top: 70px;
}

.libraryContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }


.card{
  position: relative;
  text-align: left;
  padding:1rem;
  width: 100%;
  gap: 0px;
  border-radius: 10px;
  overflow: hidden;
  background-color: none;
}

.card {
  transition: 0.2s;
}
.card:hover{
  transform:scale(1.02);
}

.img{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width:250px;
    width: auto;
    height:auto;
    display: block;
    margin: auto;
}

.card button{
  background-color: #28A745;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0px;
  border-radius: 8px;
  border: none;
}


}

@media (min-width: 481px) and (max-width: 768px) {
 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

  .libraryContainer {
    display: block;
    align-items: center;
  }

}


@media (min-width: 769px) and (max-width: 1024px) {
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;

  
}

}
@media (max-width: 1025px) {

}

