*{
  margin: 0%;
  padding: 0%;
  font-family: Arial, Helvetica, sans-serif;
  border: border-box;
}

.navbar{
  height: 60px;
  background-color: #0f1111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.nav-logo{
  height: 20px;
  width: 100px;

}
.logo{
  background-image: url("amazon_logo.png");
  height: 30px;
  font-size: 1rem;
  width: 100px;
  background-size: contain;
  display: flex;
}
.border{
  border: 1.5px solid transparent;;
}
.border:hover{
  border: 1.5px solid white;
}

/** box2 **/ 
.add-first{
  color: #cccccc;
  font-size: 0.85rem;
}
.add-second{
  /* color: ; */
  font-size: 1rem;
}
.add-icon{
  display: flex;
  align-items: center;
}
/* box3 */
.nav-search{
  display: flex;
  justify-content: space-around;
  background-color: pink;
  width: 620px;
  height: 40px;
  border-radius: 4px;
}
.search-select{
  background-color: #f3f3f3;
  width: 50px;
  text-align: center;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.search-input{
  width: 100%;
  font-size: 1rem;
  border: none;
}

.search-icon{
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  background-color: rgba(169, 169, 22, 0.927);
   border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.nav-search:hover{
border: 2px solid orange;
}
/** box4 **/
span{
  font-size: 0.7rem;
} 

.nav-second{
  font-size: 0.85rem;
}

/* box 5 */
.nav-cart i{
 font-size: 30px;
}
.nav-cart{
   display: flex;
   font-size: 0.85rem;
   font-weight: 700;
}

/* panel */
.panel{
  height: 40px;
  background-color: #222f3d;
  display: flex;
  color: white;
  align-items: center;
  justify-content: space-evenly;
}
.panel-ops p{
  display: inline;
}
.panel-ops{
  width: 70%;
  font-size: 0.85rem; 
}
.panel-deals{
  font-size: 0.9rem;
  font-weight: 700;
}

/* hero - section */
.hero-section{
  background-image: url(image1.jpg);
  height: 600px;
  background-size:cover ;
  display: flex;
  justify-content: center;
 align-items: flex-end;

}

.hero-msg{
  background-color:white;
  height:40px ;
  color: black;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
 width: 80%;
 margin-bottom: 25px;
}
.hero-msg a{
  color: #007185;
}
.shop-section{
  display: flex;
  justify-content: space-evenly;
  background-color: #e2e7e6;
  flex-wrap: wrap;
}
/* shop-section */
.box{
  /* border: 2px solid black; */
  height: 400px;
  width: 23%;
  background-color: white;
  padding: 20px 0px 15px;
  margin-top: 15px;
}
.box-img{
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.box-content{
  margin-left: 1rem;
  margin-right: 1rem;
}
.box-content p{
  color: #007185;
 
}
.link{
 text-decoration: none;
}

/* footer */

footer{
  margin-top: 15px;

}
.foot-panel1{
  background-color: #37475a;
  color: white;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .85rem;
}

.foot-panel2{
  background-color: #222f3d;
  color: white;
  height: 300px;
  display: flex;
  justify-content: space-evenly;
}

ul{
  margin-top: 20px;
}
ul a{
  display: block;
  font-size: 0.85rem;
  margin-top: 10px;
  color: #dddddd;
}

.foot-panel3{
  background-color: #222f3d;
  color: white;
  border-top: 0.5px solid white;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo{
  background-image: url("amazon_logo.png");
  background-size: cover;
  height: 30px;
  width: 100px;
  display: flex;
align-items: center;
justify-content: center;
}
.foot-button {
  border: 0.5px solid white;
  background-color: transparent;
  color: white;
  padding: 8px 12px;
  margin-left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.foot-button:hover {
  background-color: white;
  color: black;
}

.foot-button i {
  font-size: 14px;
}

.foot-panel4{
  background-color: #0f1111;
  color: white;
  height: 100px;
  text-align: center;
  font-size: 0.7rem;
  
}

.pages{
  padding-top: 25px;
} 
.copyright{
padding-top: 5px;
}

/* ========== Responsive Design ========== */

@media (max-width: 1024px) {
  .nav-search {
    width: 500px;
  }

  .panel-ops {
    width: 85%;
  }

  .box {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  .nav-logo, .nav-search, .nav-cart {
    margin: 8px 0;
  }

  .nav-search {
    width: 90%;
  }

  .panel {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  .panel-ops {
    width: 100%;
    text-align: center;
  }

  .shop-section {
    flex-direction: column;
    align-items: center;
  }

  .box {
    width: 90%;
  }

  .foot-panel2 {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px 0;
  }

  .foot-panel3 {
    flex-direction: column;
    height: auto;
    padding: 10px;
    gap: 10px;
  }
}
