 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  
}

section {
  min-height: 100vh; /* height of fit full view*/
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /*sets content in center*/
  background: rgb(236, 225, 212); 
  z-index: 1;
  position:relative;
}

/*Nav bar*/
header {
    position: fixed;
    display: flex;
    height: 50px;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(171, 185, 150);
    z-index: 999;
}

.navbar{ 
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0px 24px;
  background-color: rgb(171, 185, 150);
}

.navMenu{
  display:left;
  gap: 35px;
  list-style: none;
  margin-left: auto;
  padding: 0;
  background-color: rgb(171, 185, 150);
}

.navItem{
  background-color: rgb(171, 185, 150);
}

.logo img {
  height: 55px; 
  width: auto;
  padding-top: 5px;
  background-color: rgb(171, 185, 150);
}

/*affects the nav bar contents*/
nav a{
    font-size:20px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px; /*spacing between contents */
}

.navbar li{
  list-style: none;
}

.hamburger{
  display: none;
  cursor: pointer;
}
.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: rgb(255, 255, 255);
}
/*Text*/
h1{
  font-size: 70px;
  color: black;
}
h2{
  font-size: 25px;
  color: black;
}
p{
  font-size: 15px;
  color: black;
}


  /*hide side scroller*/
body::-webkit-scrollbar {
  display: none;
}

/*Library container*/

.books{
  padding-top: 50px;
}
.libraryContainer{
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  padding-top: 10px;
  padding-bottom: 10px;

}

.card{
  position: relative;
  text-align: left;
  padding: 1rem 2rem 1rem;
  gap: 100PX;
  border-radius: 10px;
  overflow: hidden;
  background-color: none;
}

.card {
  transition: 0.2s;
}
.card:hover{
  transform:scale(1.05);
}

.img{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width:350px;
    height: 450px;
    margin: auto;
}

.card button{
  background-color: #28A745;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 10px 10px;
  border-radius: 10px;
  border: none;
}





