@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');

* {
  padding: 0;
  margin: 0;
  border: none;
  text-decoration: none;
  list-style: none;
  outline: none;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #7f5539;

}

h1,
h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;

}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0px 0px;
}

header {
  padding: 20px;
  width: 100%;
  /* position: fixed; */
}

.head {

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #deca9f;
  border-radius: 10px;
  border: solid 1px;



}

header ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

header ul li a {
  color: black;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

header ul a:hover {
  color: #7f5539;
  ;
  transform: scale(1.2);
  background-color: #ddb892;
  border-radius: 5px;
  border: solid 1px;
  padding: 6px;
}

#home {
  padding: 3rem 0;


}

.home-content {
  background-image: url(./images/Image\ 2026-02-13\ at\ 3.16.09\ PM.jpeg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  height: 500px;
  border-radius: 100px;
}

.btn {
  background-color: #deca9f;
  border: solid 1px;
  border-radius: 10px;
  padding: 10px;
  margin: 50px 30px 0px;

}

h1 {
  color: #fff;
  padding: 10px;
  margin: 20px 30px 0px;
  font-size: 30px;
}

.home-text p {
  color: #fff;
  font-size: 16px;
  padding: 10px;
  margin: 5px 30px 0px;
  line-height: 30px;
}

.next {
  color: #7f5539;
}

.all {
  background-color: #deca9f;
  border: solid 1px;
  border-radius: 10px;
  padding: 10px;
  margin: 30px 30px 0px;

}

.all a {
  text-decoration: none;
  color: #000;
}


#about {
  padding: 4rem 0;
  background-color: #8c5e2f;
}

#about h2 {
  text-align: center;
  font-size: 25px;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 30px;
  align-items: center;
}

.about-content img {
  width: 100%;
  height: 450px;
  border-radius: 150px;
}

.about-content .about-text p {
  font-size: 20px;
  margin-top: 20px;
}

#books h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin-top: 30px;
}

#categoryFilter {
  background-color: #deca9f;
  border: solid 1px #deca9f;
  border-radius: 10px;
  padding: 10px;
  margin: 30px 30px 0px;
  width: 20%;

}

.controls input {
  background-color: #deca9f;
  border: solid 1px #deca9f;
  border-radius: 10px;
  padding: 10px;
  margin: 30px 30px 10px;
  width: 40%;
}

.container {
  width: 90%;
  margin: 30px auto;
}

.controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

select,
input {
  padding: 8px;
  font-size: 16px;
}

.books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;



}

.card {
  background-color: #8c5e2f;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;

}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.price {
  color: #fff;
  font-weight: bold;
}

.rating {
  color: orange;
}

button {
  background: #7f5539;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
}

button.favorite {
  background: #deca9f;
  color: black;
}

#contact {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(rgba(62, 39, 35, 0.9), rgba(62, 39, 35, 0.9)),
    url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 12px 15px;

}

.login-box {
  background-color: #553932;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  color: #EFEBE9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  border: none;
  outline: none;
}

.login-box h2 {
  color: #D7A86E;
  margin-bottom: 10px;
}

.login-box p {
  font-size: 14px;
  margin-bottom: 25px;
}

.input-group {
  width: 100%;
  padding: 5px;
  border: none;
  border-radius: 5px;
  outline: none;
  margin-bottom: 30px;
}

.password {
  width: 100%;
  padding: 5px;
  border: none;
  border-radius: 5px;
  outline: none;
  margin-bottom: 10px;
}

.form input {
  padding: 7px;
  border-radius: 5px;
}

.submit {
  width: 100%;
  padding: 10px;
  background-color: #5D4037;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

button:hover {
  background-color: #D7A86E;
  color: #3E2723;
}

.extra-links {
  margin-top: 15px;
  font-size: 13px;
}

.extra-links a {
  color: #D7A86E;
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}

.footer-section {
  /* background: linear-gradient(to right, #5a5048, #4a4038); */
  background-color: #8c5e2f;
  ;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-section a:hover {
  color: #fff;
  padding-left: 5px;
  transition: 0.3s;
}

.social-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 8px;
  color: white;
  transition: 0.3s;
}

.social-icons a:hover {
  background: white;
  color: #4a4038;
}

@media(max-width:430px) {
  header {
    padding: 10px;
    width: 100%;
    height: 50px;
    /* position: fixed; */
  }

  .head {

    display: flex;
    flex-direction: column;


  }

  .head {
    display: flex;
    flex-direction: column;
  }

  .icon {
    display: none;
  }

  header ul li a {
    color: black;
    font-size: 15px;
    font-weight: 200;

  }

  .home-content {
    margin-top: 50px;
  }

  .btn {

    padding: 3px;
    margin: 2px 10px 0px;

  }

  .home-content {
    background-image: url(./images/Image\ 2026-02-13\ at\ 3.16.09\ PM.jpeg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 500px;
    border-radius: 80px;
  }

  h1 {

    padding: 5px;
    margin: 5px 10px 0px;
    font-size: 10px;
  }

  .home-text {
    margin-top: 50px;
   
  }

  .next {
    color:#3E2723;
  }

  .btn {
   
    padding: 5px;
    margin: 20px 10px 0px;

  }

  .home-text p {
    color: #fff;
    font-size: 10px;
    padding: 5px;
    margin: 5px 10px 0px;
   
  }
  .all {

  padding: 5px;
  margin: 5px 10px 0px;

}
  .about-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;

}
.text{
  display: grid;
  grid-template-columns: repeat(2 ,1fr);
}
}