* {
  margin: 0;
  font-family: Arial;
  border: border-box;
}

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

.nav-logo {
  height: 50px;
  width: 100px;
}

.logo {
  background-image: url(/img/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-second {
  font-size: 1rem;
  margin-left: 3px;
}

.add-icon {
  display: flex;
  align-items: center;
}
/* box 3 */
.nav-search {
  display: flex;
  justify-content: space-evenly;
  background-color: pink;
  width: 620px;
  height: 40px;
  border-radius: 4px;
}

.nav-search:hover {
  border: 2px solid orange;
}

.search-select {
  background-color: #f3f3f3;
  width: 50px;
  text-align: center;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: none;
}

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

.search-icon {
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  background-color: #febd68;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  color: black;
}

/* box 4 */
span {
  font-size: 0.7rem;
}

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

/* box 6 */
.nav-cart i {
  font-size: 30px;
}

.nav-cart {
  font-size: 0.85rem;
  font-weight: 700;
}

/* panel */
.panel {
  background-color: #222f3d;
  height: 40px;
  display: flex;
  color: white;
  align-items: center;
  justify-content: space-evenly;
}

.panel span{
  font-size: 0.88rem;
}

.panel-ops p {
  display: inline;
  margin-left: 15px;
}

.panel-ops {
  width: 70%;
  font-size: 0.85rem;
}

.panel-deals {
  font-size: 0.9rem;
  font-weight: 700;
}

/* hero -section */
.hero-section {
  background-image: url(img/hero_image.jpg);
  background-size: cover;
  height: 380px;
  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: 100%;
  margin-bottom: 25px;
}

.hero-msg a {
  color: #007185;
}

/* shop section */
.shop-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: #e2e7e6;
}

.box {
  /* border: 2px solid black; */
  height: 400px;
  width: 22.6%;
  background-color: white;
  padding: 20px 0 15px;
  margin: 15px;
}

.box-img {
  height: 300px;
  background-size: cover;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.box-content {
  margin-left: 1rem;
  margin-right: 1rem;
}

.box-content p {
  color: #007185;
}

.box-content h2 {
  font-size: 21px;
}

/* footer */

footer {
  margin-top: 15px;
}

.foot-panel1 {
  background-color: #37475a;
  color: white;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.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;
}

/* footpabel 3 */

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

.logo {
  width: 100px;
}

.foot-panel4 {
  background-color: #0f1111;
  color: white;
  height: 80px;
  font-size: 0.7rem;
  text-align: center;
  /* display: flex;
    justify-content: center; */
}

.pages {
  padding-top: 25px;
}

.copyright {
  padding-top: 5px;
}



/* RESPONSIVENESS */
/* 1024 */
@media screen and (max-width: 1024px) {
  .nav-logo {
    height: 40px;
    width: 80px;
  }
  .logo {
    height: 40px;
    width: 80px; /* Adjust the height as needed */
  }

  .add-first {
    font-size: 0.72rem;
    margin-left: 0px;
  }

  .add-second {
    font-size: 0.88rem;
  }

  .nav-search {
    width: 516px;
    height: 36px;
  }

  .search-input {
    font-size: 0.88rem;
  }

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

  .nav-cart {
    font-size: 0.72rem;
  }

  .nav-cart i {
    font-size: 24px;
  }

  .box{
    width: 26%;
    object-fit: contain;
    background-repeat: no-repeat;
  }

  .box-content h2 {
    font-size: 15px;
  }

  .content1, .content2{
    display: none;
  }

  .hero-section{
    /* REMEMBER THISSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSs */
    object-fit: contain;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .hero-msg{
    height: 30px;
    font-size: 0.75rem;
  }

  
}

/* 1024 */

@media screen and (max-width: 768px) {
  .nav-logo {
    height: 30px;
    width: 60px;
  }

  .logo {
    height: 30px;
    width: 60px;
  }

  .nav-address {
    margin-right: 4px;
  }

  .add-first {
    font-size: 0.6rem;
    margin-left: none;
  }

  .add-second {
    font-size: 0.7rem;
  }

  .nav-search {
    width: 256px;
    height: 32px;
  }

  .search-input {
    font-size: 0.7rem;
  }

  .nav-signin p span {
    font-size: 0.5rem;
  }

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

  .nav-return p span {
    font-size: 0.65rem;
  }

  .nav-cart i {
    font-size: 20px;
  }

  .box {
    width: 42%;
  }

  .box-content h2 {
    font-size: 13px;
  }

 
  .nav-cart span {
    display: none;
  }

  /* panel */
  .panel{
    display: flex;
    justify-content: space-evenly;
    padding: 0 8px;
  }
  .panel-all i{
    font-size: 13px;
  }

  .panel-all span{
    display: none;
  }

  .panel-ops{
    width: 90%;
    font-size: 0.69rem
  }

  .panel-deals{
    display: none;
  }

  .content1, .content2{
    display: block;
  }

  .hero-section{
    background-size: contain;
    background-repeat: no-repeat;
  }
}
