@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
}

h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 400;
  color: #1d1d1d;
}

h6 {
  color: #d8d8d8;
}


button{             /*button as global style*/
font-size: 0.8rem;
font-weight: 700;
outline: none;
border: none;
background-color: #1d1d1d;
color: aliceblue;
padding: 13px 30px;
text-transform: uppercase;
cursor: pointer;
}

button:hover{
  background-color: #3a3833;
  transition: ease 0.3s;
}

hr {
  width: 30px;  
  height: 2px;
  background-color: #fb774b;
 
}

.star{
  padding: 10px 0;
}

.star i{
  font-size: 0.8rem;
  color: goldenrod;
}

.navbar{
  font-size: 16px;
  top: 0;  /*positions the navbar at the top of the page*/
  left:0;  /*positions the navbar at the left of the page*/
  box-shadow: 0 5px 10px rgb(0, 0,0, 0.1);
}

.navbar-light .navbar-nav .nav-link {
  padding: 0 20px;
  color: black;
  transition: 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #fb774b;
}
.navbar i{
font-size: 1.2rem;
padding: 0 7px;
cursor: pointer;
font-weight: 500;
transition: 0.3s ease;

}
.navbar i:hover{
  color: #fb774b;
}

.checkout{
  color: black;
}

.checkout:hover{
  color: #fb774b;
}

.color-cart{
  color: #fb774b
}


#bar{
  font-size: 1.5rem;
  padding: 7px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
  color: black;
}

#bar:hover, #bar.active{
  color: white;
}

@media only screen and (max-width: 991px){   /*once clicked it changes color and stays changed*/
  body > nav > div > button:hover,
  body > nav > div > button:focus {
    background-color: #fb774b;
  }
  body > nav > div > button:hover #bar,
  body > nav > div > button:focus #bar {
    color:white;
  }

  #navbarSupportedContent>ul {
    margin:1rem;
    justify-content: flex-end ;
    align-items: flex-end;
    text-align: right;
  }
  #navbarSupportedContent > ul > li:nth-child(n) > a{ /* n so it applies to all li, removing right spacing*/
    padding:10px 0;
  }



}

/*Mobile Navbar*/

.navbar-light .navbar-toggler{
  border: none;
  outline: none;
  
}


#home{
  background-image: url(img/banner/2.jpg);   /*background image inside folder*/
  width: 100%;
  height: 100vh;
  background-size: cover;    /*ensures that the background image covers the entire background of the selected element, even if it needs to be scaled or cropped.*/
  background-position: top 60px center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

}

#home span{
  color: #fb774b;

}

#new .one img{
width: 100%;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}

#new .one .details{      /*details of the image inside image*/
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0  ;
  left: 0;
  transition: 0.3s ease;
}

#new .one:hover .details{
  background-color: rgba(245,178,178,0.7);
  cursor: pointer;
}

#new .one .details button{
  display: inline-block;
  font-size:14px;
  font-weight: 500;
  color:#2a2a2a;
  background: none;
  text-transform: uppercase;
  border-bottom: 1px solid #2a2a2a;
  padding: 2.5px;
  transform: translateY(70px);
  transition: 0.3s ease;
}

#new .one .details button:hover{
  
  color: white;
  border-bottom: 1px solid white;
  
}

#new .one:nth-child(1) .details {   /*used to position left text*/
  display: flex ;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start
  
}

#new .one:nth-child(2) .details {   /*used to position left text*/
  display: flex ;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

#new .one:nth-child(3) .details {   /*used to position left text*/
  display: flex ;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  
}

.product{
  cursor: pointer;
  margin-bottom: 2rem;

}

.product img{
  transition: 0.3s all;
}

.product:hover img{
  opacity: 0.7;
}

.product .buy-btn{
  background-color: #fb774b;
  transform: translateY(20px);  /*moves the button down 20px*/
  opacity:0;              /*opacity 0 so it is not visible until hovered over*/
  transition: 0.3s all;   /*transition of 0.3s so it is smooth*/
}

.product:hover .buy-btn{      /*when hovered over the button moves up and becomes visible*/
  
  transform: translateY(0);
  opacity:1;
 
}

#banner{
  background-image: url(img/banner/2.jpg);   /*background image inside folder*/
  width: 100%;
  height: 60vh;
  background-size: cover;    /*ensures that the background image covers the entire background of the selected element, even if it needs to be scaled or cropped.*/
  background-position: top 70px center;
  background-repeat: no-repeat;    /*ensures that the background image does not repeat from 70px above*/
  background-attachment: fixed;    /*ensures that the background image does not move when scrolling*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#banner h4{
  color: #d8d8d8;
}

#banner h1{
  color: #fff;
}
#banner button{
  background-color: #fb774b;
}

footer{
  background-color:#222222;
}

.footer-logo{
  
  background-color: white;
  border-radius: 15px;

}

footer h5{
  color:#d8d8d8;
  font-weight: 700;
  font-size: 1.2rem;

}

footer li{
  padding-bottom: 4px;
}

footer li a{
  font-size: 0.8rem;
  color:#999
}

footer li a:hover{
  color: #d8d8d8;;
}

footer p{
  color: #999;
  font-size: 0.8rem;
}

footer .copyright a{
  color:black;
  width:38px;
  height:38px;
  background-color: white;
  display: inline-block;
  text-align: center;
  line-height: 38px;
  border-radius: 50%;
  transition: 0.3s ease;
  margin:0 5px;
}

footer .copyright a:hover{
  color:white;
  background-color: #fb774b;
}

#blog-container .post .post-img{
  overflow: hidden;
  cursor: pointer;
}

#blog-container .post img{
  transition: 0.3s ease;
}

#blog-container .post:hover img{
  transform: scale(1.3) rotate(-10deg);
  opacity: 0.8;
}

#blog-container .post h3{
  transition: 0.3s ease;
  cursor: pointer;
}

#blog-container .post:hover h3{
  color: #fd8c66;
}


/* Cart */

#cart-container{
  overflow-x: auto;
}

#cart-container table{
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  white-space: nowrap;
}
#cart-container table thead{
  font-weight: 700;
}

#cart-container table thead td{
  background-color: #fd8c66;
  color: #fff;
  border: none;
  padding: 6px 0;
}

#cart-container table td{
  border: 1px solid #b6b3b3;
  text-align: center;
}

#cart-container table td:nth-child(1){
  width:100px;
}

#cart-container table td:nth-child(2),
#cart-container table td:nth-child(3){
  width:200px;
}

#cart-container table td:nth-child(4),
#cart-container table td:nth-child(5),
#cart-container table td:nth-child(6){
  width:170px;
}

#cart-container table tbody img{
  width: 100px;
  height: 80px;
  object-fit: cover;
}

#cart-container table tbody i{
  color: #8d8c89;
}

#cart-bottom .coupon>div,
#cart-bottom .total>div{
  border: 1px solid #b6b3b3;
}

#cart-bottom .coupon h5,
#cart-bottom .total h5{
  background-color: #fd8c66;
  color: #fff;
  padding: 6px 12px;
  border: none;
  font-weight: 700;
}

#cart-bottom .coupon p,
#cart-bottom .coupon input{
  padding: 0 12px;
}

#cart-bottom .coupon input,
#cart-bottom .coupon button{
  height: 44px;
  margin: 0 0 20px 12px;
}

#cart-bottom .total div>div{
  padding: 0px 12px;
}

#cart-bottom .total h6{
  color: #2a2a2a;
}

.second-hr{
  background: #b8b7b3;
  width: 100%;
  height: 1px;
}

#cart-bottom .total div>button{
  margin: 0 12px 20px 0;
  display: flex;
  justify-content: display-end;
}


/* About us */

.about-us-h3{
  color: white;
  font-size: 58px;
}

#about{
  background-image: url(img/about/banner.png);   /*background image inside folder*/
  width: 100%;
  height: 60vh;
  background-size: cover;    /*ensures that the background image covers the entire background of the selected element, even if it needs to be scaled or cropped.*/
  background-position: top 70px center;
  background-repeat: no-repeat;    /*ensures that the background image does not repeat from 70px above*/
  background-attachment: fixed;    /*ensures that the background image does not move when scrolling*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#about-head{
  display: flex;
  
  align-items: center;
  
}

#about-head img{
width:50%;
height:auto
}

#about-head div{
  padding-left: 40px;;
}

@media (max-width: 477px) {
  #about-head {
    display: flex;
    flex-direction: column;
  }

  #about-head img {
    width: 100%;
    margin-bottom: 20px;
  }

  #about-head div {
    padding-left: 0;
  }
}

/* Contact page */

.contact-p{
  color:white;
}

#contact-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details {
  flex: 1;
}

.map {
  flex: 1;
}

#contact-details .details{
  width: 40%;
}

#contact-details .details span,
#form-details form span{
  font-size: 12px;
}

#contact-details .details h2,
#form-details form h2{
  font-size: 26px;
  line-height: 35px;
  padding: 20px 0;
}

#contact-details .details h3{
  font-size: 16px;
  padding-bottom: 15px;
}

#contact-details .details li{
  list-style: none;
  display: flex;
  padding: 10px 0;
}

#contact-details .details li i{
  font-size: 14px;
  padding-right: 22px;
  margin-top: 3px;
}

#contact-details .details li p{
  margin: 0;
  font-size: 14px;;
}

#contact-details .map{
  width:55%;
  height: 400px;
}

#contact-details .map iframe{
  width: 100%;
  height: 100%;
  border: none;
}

#form-details{
  display: flex;
  justify-content: space-between;
  margin:30px;
  padding: 80px;
  border:  1px solid #e1e1e1;
}

#form-details form{
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items:flex-start ;
}

#form-details form input,
#form-details form textarea{
  width: 100%;
  border: 1px solid #e1e1e1;
  margin-bottom: 20px;
  padding: 12px 15px;
  outline: none;
}

#form-details .people div{
  padding-bottom: 25px;
  display: flex;
  align-items: flex-start;
  
}

#form-details .people div img{
width: 65px;
height: 65px;
object-fit: cover;
margin-right: 15px;
}

#form-details .people div p{
  margin: 0;
  font-size: 13px;
  line-height: 25px;
}

#form-details .people div p span{
  display: block;
  font-size: 16px;
  font-weight: 600;
  color:black;
}

.people-container{
  display: flex;
  flex-direction: column;
  padding: 0 auto;
  align-items:center ;
  width:35%;
}

@media (max-width: 799px) {
  #form-details {
    padding: 40px;
  }

  #form-details form {
    width: 100%;
  }

  #form-details .people {
    display: none;
  }


  .map{
    display: none;
  }

  .people-container{
    display: none;
  }
}

/* Added below for firefox */

#about-head {
  display: flex;
  align-items: center;
}

#about-head img {
  width: 50%;
  height: auto;
  max-width: 100%;
}

#about-head div {
  flex: 1;
  padding-left: 40px;
}
