*{
  margin: 0;
  font-family: Arial;
  box-sizing: border-box;
}
.navbar{
  height: 60px;
  background-color: #0f1111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.navlogo{
  height: 50px;
  width: 100px;
}
.logo{
  background-image: url("amazon_logo.png");
  background-size: cover;
  height: 50px;
  width: 100px;
}
.border{
  border: 1.5px solid transparent;
}
.border:hover{
  border: 1.5px solid white;
}

/** box2 **/
.add-first{
  color: #cccccc;
  font-size: 0.85rem;
  margin-left: 15px;
}
.add-sec{
  font-size: 1rem;
  margin-left: 3px;

}

.addicon{
  display: flex;
  align-items: center;
}

/** box 3 **/
.navsearch{
  display: flex;
  justify-content: space-evenly;
  background-color: orange;
  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;
  border: none;
}

.searchinput{
  width: 100%;
  font-size: 1rem;
  border: none;

}
.search-icon{ 
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  color: #0f1111;
}

.navsearch:hover{
  border: 2px solid orange
}

/** box4**/
span{
  font-size: 0.7rem;
}
.nav-sec{
  font-size: 0.85rem;
  font-weight: 700;
}

/** box6 **/
.nav-cart i{
  font-size: 30px;
}

.nav-cart{
  font-size: 0.85rem;
  font-weight: 650;
}

/** panel **/
.panel{
  height: 40px;
  background-color: #222f3d;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  color: white;
  
}

.panel-all{
  display: flex;
  align-items: center;
  gap: 5px;
}

.panel-ops span{
  display: inline;
  margin: 0 10px;
  padding: 0;
  color: white;
  align-items: center;
}

.panel-ops{
  width: 75%;
  font-size: 0.85rem;
}

.panel-deals{
  font-weight: 700;
}

/** hero section **/
.hero-section{
  background-image: url("hero_image.jpg");
  background-size: cover;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-msg{
  background-color: white;
  color: black;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  width: 80%;
  margin-bottom: 25px;
}

.hero-msg a{
  color: #007185;

}

/** shop sectio0n**/
.shop-section{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: #e2e7e6;
}
.box{
  
  height: 400px;
  width: 23%;
  background-color: white;
  padding: 15px 10px 15px 10px;
  margin-top: 5px;

}

.box-img{
  height: 300px;
  background-size: cover;
  margin-top: 1rem;
  margin-bottom: 1rem;
  
}

.box-content{
  margin-left: 10px;
  margin-right: 10px;
}

.box-content p {
  color: #007185;
}

/** footer **/
footer{
  margin-top: 15px;
}
.foot-panel1{
  background-color: #37475a;
  color: white;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}

.foot-panel2{
  background-color: #222f3d;
  color: white;
  height: 500px;
  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: #222f3e;
  color: white;
  border-top: 2px solid white;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
 
}
.logo{
  background-image: url("amazon_logo.png");
  background-size: cover;
  height: 50px;
  width: 100px;
}
.foot-panel4{
  background-color: #0f1111;
  color: white;
  height: 80px;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}
.pages{
  font-size: 0.7rem;
  text-align: center;
  padding-top: 25px;
}
.copyright{
  margin-top: 5px;
  font-size: o.7rem;
  text-align: center;
}


.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hide-mobile, .hide-small {
  display: flex;
}

#mobile-panel {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}

/* Update your media queries */
@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 5px;
  }
  .navsearch {
    width: 70vw;
    min-width: 200px;
    max-width: 100%;
    order: 3;
    margin: 10px 0;
  }
  .hide-small {
    display: none;
  }
  .shop-section {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .box {
    width: 45%;
    min-width: 220px;
    margin-bottom: 20px;
  }
  .panel {
    flex-direction: column;
    gap: 10px;
    height: auto;
    align-items: flex-start;
  }
  .panel-ops {
    width: 100%;
    margin: 5px 0;
    display: flex;
    flex-wrap: wrap;
  }
  .panel-ops span {
    margin: 5px 10px;
  }
}

@media (max-width: 600px) {
  .mobile-menu {
    display: block;
    order: 1;
  }
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
    gap: 10px;
    padding: 10px 10px;
  }
  .nav-logo {
    order: 2;
    margin: 0 auto 0 15px;
  }
  .navsearch {
    order: 4;
    width: 100%;
    margin: 10px 0;
  }
  .nav-cart {
    order: 3;
  }
  .hide-mobile {
    display: none;
  }
  #mobile-panel {
    max-height: 0;
    padding: 0;
  }
  #mobile-panel.show-mobile-menu {
    max-height: 500px;
    padding: 10px 0;
  }
  .shop-section {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .box {
    width: 95%;
    min-width: unset;
    margin-bottom: 15px;
  }
  .hero-section {
    height: 120px;
    background-position: center;
  }
  .hero-msg {
    font-size: 0.75rem;
    width: 98%;
    margin-bottom: 10px;
    padding: 5px;
    height: auto;
  }
  .panel {
    flex-direction: column;
    gap: 10px;
    height: auto;
    align-items: flex-start;
    padding: 10px 10px;
  }
  .panel-ops {
    width: 100%;
    font-size: 0.9rem;
    margin: 5px 0;
  }
  .foot-panel2 {
    flex-direction: column;
    height: auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }
  .foot-panel1, .foot-panel3, .foot-panel4 {
    text-align: center;
  }
  .pages a {
    display: inline-block;
    margin: 0 5px;
  }
}