* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    
}
ul{
  list-style:none;
}

a{
  text-decoration:none;
}

.main{
  width:100%;
  height:800px;
  background-image:url("book6.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size:cover;

}

nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform:uppercase;
  font-weight: 600;
  letter-spacing:1px;
  position:static;
  top:0;
  left:0;
  width:100%;
  box-sizing: border-box;
  padding:10px 50px;
  box-shadow:2px 2px 12px rgba(0, 0, 0, .05);
  z-index:1000;
}
.menu{
  display:flex;
}

.menu li a{
  display:inline;
  padding:10px 25px;
  color:#fff;
  font-size:20px;
}
.sitename{
  font-size:25px;
  font-weight:bold;
  color:#fff;

}
.logo img{
  width:60px;
}
.menu li a:hover, .active{
  background-color:#7cc6e0;
  font-weight:700;
  transition: all ease 0.4s;

}
.hero{
  width:600px;
  position:absolute;
  left:10%;
  top:35%;
  transition:translate(-10%, -35%);
  line-height:50px;
}
.hero .details{
  color:#fff;
  font-size:21px;
  line-height:25px;
}

.hero h1{
  font-size:60px;
  margin-bottom:20px;
  letter-spacing:1px;
  color:#fff;
}
.download{
  width:200px;
  height:45px;
  display:flex;
  justify-content: center;
  align-items: center;
  background-color:#fff;
  color:black;
  border-radius:15px;
  margin-top:20px;

}
.download:hover{
  background-color:#eee;
  transition:all ease 0.4s;

}
.heading{
  text-align:center;
  padding:2rem 0;
  padding-bottom:3rem;
  font-size:3rem;
  color:#000;
}

.heading span{
  background-color:rgba(37, 179, 228, 0.5);
  color:#fff;
  display:inline-block;
  padding: .5rem 3 rem;
  border-radius:4px;

}

.btn{
  margin-top:1rem;
  display:inline-block;
  padding: 5px 10px;
  font-size:20px;
  border-radius:.5rem;
  cursor:pointer;
  background:rgba(37, 179, 228, 0.5);
  color:#fff;
}

.btn:hover{
  background-color:rgba(37, 179, 228, 0.5);
  color:#fff;
  border: .2rem solid #000;

}


.product .product-slider{
  padding:1rem;
}
.product .product-slider:first-child{
  margin-bottom:2rem;
}


.product .product-slider .box{
  background-color: #fff;
    border-radius:20px;
    text-align:center;
    padding: 1.5rem 1.5rem;
    outline: .1rem solid rgba(150,150,150);
    outline-offset:-1rem;
    text-align:center;
    box-shadow:0 .5rem 1rem rgba(0, 0, 0, .1);
    transition: .2s linear;
  

}
.product .product-slider .box:hover{
  outline-offset:0rem;
  outline: .1rem solid rgba(37, 179, 228, 0.5);


}

.product .product-slider .box img{
  height:12rem;
  width:9rem;
}
.product .product-slider .box h3{
  font-size:20px;
    color:rgb(50, 50, 50);

}

.product .product-slider .box .price{
  font-size:20px;

}
.product .product-slider .box .stars i{
  font-size:1.1rem;
    color:rgba(240,170,80);
    padding: .1rem 0;
}
.wrapper{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr 1fr;
  gap:1.5rem;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}


footer{
  width:100%;
  background:white;

}
footer .footer_main{
  width:100%;
  display:flex;
  justify-content:space-around;
  
}

footer .footer_main .tag{
  margin:10px 0;
}

footer .footer_main .tag h1{
  font-size:25px;
  margin:25px 0;
  color:black;

}

footer .footer_main .tag a{
  display:block;
  color:black;
  text-decoration:none;
  font-size:19px;
  margin:10px 0;

}

footer .footer_main .tag i{
  margin-right:10px;
}

footer .footer_main .tag .social_link i{
  margin:0 5px;
}
@media (max-width: 1024px) {
  .hero {
    width: 80%;
    font-size: 50px;
  }
  
  .product .wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
  
  .product .product-slider .box {
    width: 90%;
  }
  
  .menu-toggle {
    display: block;
    margin: 10px 0;
  }
  
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  
  .menu.active {
    display: flex;
  }
  
  nav {
    flex-direction: column;
    text-align: center;
  }
  
  .sitename {
    margin-bottom: 10px;
  }
  
  .menu li a {
    font-size: 18px;
    padding: 15px;
  }
  
  .product .product-slider .box img {
    height: 10rem;
    width: 7rem;
  }
  }
  
  @media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }
  
  .hero .details {
    font-size: 16px;
  }
  
  .download {
    width: 180px;  /* Slightly smaller width for medium screens */
    height: 40px;
    font-size: 14px;  /* Slightly smaller font for medium screens */
  }
  
  .heading {
    font-size: 2rem;
  }
  
  .product .wrapper {
    grid-template-columns: 1fr 1fr;
  }
  
  footer .footer_main {
    flex-direction: column;
    align-items: center;
  }
  
  footer .footer_main .tag {
    width: 100%;
    text-align: center;
  }
  
  .product .product-slider .box {
    width: 100%;
  }
  .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
}
  .menu-toggle {
    display: block;
    font-size: 28px;
    margin: 10px 0;
  }
  .menu.active {
    display: flex;
}
  }
  
  @media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }
  
  .hero .details {
    font-size: 14px;
  }
  
  .product .wrapper {
    grid-template-columns: 1fr;
  }
  
  .product .product-slider .box {
    width: 100%;
  }
  
  .product .product-slider .box img {
    height: 8rem;
    width: 6rem;
  }
  
  .download {
      width: 150px;  /* Even smaller width for mobile screens */
      height: 35px;
      font-size: 12px;  /* Smaller font size on mobile */
    }
  
  .heading {
    font-size: 1.5rem;
  }
  
  .menu-toggle {
    display: block;
    font-size: 28px;
    margin: 10px 0;
  }
  .btn {
    font-size: 16px;  /* Even smaller font on mobile screens */
  }
  }
  



