@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  font-family: "Poppins", system-ui;
}

.title h1 {
  font-family: "Poppins", system-ui;
  font-weight: 600;
  font-style: normal;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 0;
}

.title p {
  font-family: "Poppins", system-ui;
  font-weight: 300;
  font-style: normal;
  color: #645353;
  font-size: 10px;
  text-align: center;
  margin-top: 0;
}

.logo img {
  padding-top: 5px;
}

.logo-title {
  display: flex;
  align-items: center;
  padding: 0;
}

nav {
  background-color: white;
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  /* box-shadow: 0 2px 5px #645353; */
  height: 75px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

nav ul {
  display: flex;
  list-style: none;
  margin-left: 0;
}

nav ul li a {
  text-decoration: none;
  color: #191919;
  font-weight: 500;
  padding-right: 3rem;
}

.books li a{
  display: flex;
  align-items: center;
  gap: .5em;
}

.dropdown-content{
  display: none;
  background-color: white;
  padding: 1rem;
  border-radius: 10px;
}

.dropdown-content ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
}

.dropdown-content a{
  margin: 0;
  padding: 0;
}

.dropdown-content li{
  font-weight: 500;
}

.list-dropdown:hover{
  color: #e87b02;
  cursor: pointer;
}

.dropdown:hover .dropdown-content{
  display: block;
  position: absolute;
  top: 68%;
  right: 25.5%;
  box-shadow: 0 0 10px #d0c8c8 ;
}

.fa-magnifying-glass{
  position: absolute;
  right: 20px;
  top: 13px;
  opacity: 0.7;
}

.search-bar{
  margin-left: 2rem;
  border: 1px solid #888;
  padding: 8px;
  padding-right: 20px;
  padding-left: 15px;
  width: 30%;
  border-radius: 20px;
  position: relative;
}

input[type="text"]{
  width: 93%;
  font-size: 1rem;
  outline: none;
  border: none;
}

.link-nav{
  display: flex;
  margin-right: 2rem;
}

.nav-btn{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login{
  font-size: .9rem;
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: 600;
  border: 2px solid #e87b02;
  background: none;
  color: #e87b02;
  margin-top: .2rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-login:hover{
  background-color: #e87b02;
  color: white;
}

.btn-signup{
  font-size: .9rem;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  background-color: #e87b02;
  color: white;
  box-shadow: 0 5px #b56402;
  transition: 0.3s;
  cursor: pointer;
}

.btn-signup:hover{
  transform: translateY(2px);
  box-shadow: 0 3px #b56402;
}

nav a:hover {
  color: #e87b02;
}

.jumbotron {
  margin-bottom: 1rem;
  background-image: url("assets/purple-bg.jpg");
  background-size: cover;
  height: 400px;
  /* background-position: center; */
  cursor: pointer;
  margin-top: 75px;
}

.container {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-left: 2rem;
  overflow-x: scroll;
  scrollbar-color: transparent transparent;
  margin-right: 10px;
}

#arrival h3 {
  margin: 0;
  padding: 1.5rem 0 0 2rem;
}

.buku1 desc,
.buku-manga1 desc {
  margin-top: 2px;
}

.img-con {
  width: 180px;
  height: 270px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.img-con img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.img-con:hover img {
  transform: scale(1.2);
}

.desc p,
h4 {
  margin: 0;
  padding: 0;
}

.writer {
  font-size: 12px;
  color: #e87b02;
}

.desc p {
  font-weight: 600;
}

.rate {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.rate p {
  font-size: 15px;
}

.rating {
  display: flex;
  gap: 5px;
  align-items: center;
}

.star {
  color: #ee9524;
}

.buku1 img,
.buku-manga1 img {
  border-radius: 8px;
  /* margin-top: 15px; */
  cursor: pointer;
}

.btn1 {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn-1 {
  margin-top: 0.5rem;
  border: none;
  background-color: #e87b02;
  opacity: 0.9;
  box-shadow: 0px 6px #b56402;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  width: 100px;
  height: 40px;
  cursor: pointer;
  transition: 0.3s;
  width: 120px;
}

.btn-1:hover {
  opacity: 1;
  transform: translateY(4px);
  box-shadow: 0px 4px #b56402;
}

.quote {
  background-image: url("assets/bg-book.jpg");
  /* width: 1240px; */
  height: 300px;
  background-size: cover;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.desc-quote {
  color: white;
  font-size: 40px;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  margin: 0;
}

#container-manga {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-left: 2rem;
  overflow-x: scroll;
  scrollbar-color: transparent transparent;
  margin-right: 10px;
}

.tbestseller-manga h3 {
  margin: 0;
  padding: 3rem 0 0 2rem;
}

.ellips {
  width: 180px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.titlebooks {
  display: flex;
  justify-content: center;
}

.titlebooks h1 {
  text-align: center;
  background-color: #e87b02;
  display: inline;
  border-radius: 8px;
  padding: 0 5px;
}

.cattegory-arrival {
  text-align: center;
  margin: 0;
}

.table-arrival table,
th,
tr,
td {
  border: 2px solid #ee9524;
  border-collapse: collapse;
}

.nav-laut ul {
  list-style: none;
  display: flex;
  gap: 2px;
  font-size: 1rem;
  font-size: 12px;
  margin-top: 2rem;
}

.nav-laut ul,
li,
a {
  text-decoration: none;
}

.desc-laut {
  margin-top: 2rem;
  margin-left: 5rem;
  display: flex;
}

.img-laut {
  box-shadow: 0 0 10px #818181;
  padding: 15px;
  border-radius: 6px;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.img-laut img {
  border-radius: 6px;
}

.con-laut {
  margin: 0px 10px 0px 10px;
  font-size: 14px;
  width: 55%;
}

.img-laut:hover {
  transform: scale(1.1);
}

.con-laut h5,
h1,
p,
table {
  padding: 0;
  margin: 0;
  text-align: justify;
  margin-left: 0.5rem;
}

.con-laut h1 {
  font-size: 2rem;
}

.con-laut table,
th,
tr,
td {
  border: 1px solid #9f9e9e;
  border-collapse: collapse;
  margin-top: 1rem;
  text-align: center;
}

.con-laut th {
  border: 1px solid #e87b02;
}

.con-laut table {
  width: 100%;
}

.con-laut tr,
td {
  padding: 1rem;
}

#container img {
  max-width: 100%;
  max-height: 250px;
}

@media (max-width: 720px) {
  * {
    font-size: 3vw;
    margin: 4px;
  }

  .fa-star {
    font-size: 2vw;
  }
}

.container-manga img {
  max-width: 100%;
  max-height: 250px;
}

#con-fe {
  display: flex;
  justify-content: center;
}

.fe-books {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 100%;
  height: 900px;
  background-color: #e5e0d9;
}

.ftd-books {
  font-weight: 600;
  text-align: center;
}

.list-fe {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  position: relative;
}

.list-fe i {
  opacity: 80%;
  font-size: 22px;
  position: absolute;
  right: 20px;
}

.list-fe a {
  color: black;
}

.list-fe a:hover {
  color: #e87b02;
}

.col-book {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.fe-1 {
  display: flex;
  justify-content: center;
  gap: 4.5rem;
}

.fe-2 {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.logo-footer {
  display: flex;
  align-items: center;
  padding: 0;
}

.tagline {
  position: absolute;
  right: 10px;
  color: #5a5a5a;
}

.footer-list {
  background-color: white;
  padding: 50px 20px;
  display: flex;
}

.footer-list h3 {
  margin: 0;
  margin-bottom: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product a {
  margin: 0;
  font-size: 0.9rem;
  color: black;
}

.product a:hover {
  color: #e87b02;
}

.social-logo{
  width: 120px;
  margin-top: .5rem;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.social-logo:hover{
  transform: translateY(-10px);
}

.copyright p {
  background-color: white;
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

.chat {
  background-color: #e87b02;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2.5rem;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  z-index: 100;
  cursor: pointer;
  box-shadow: 0 4px #b56402;
}
