* {
  padding: 0px;
  margin: 0px;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

.navbar {
  height: 60px;
  background-color: #0f1111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.nav-logo {
  height: 50px;
  width: 100px;
  color: #0f1111;
}
.logo {
  background-image: url("./media/Amazon-Logo-Font.webp");
  background-size: cover;
  height: 50px;
  width: 100%;
}
.border {
  border: 1.5px solid transparent;
}
.border:hover {
  border: 1.5px solid white;
}
/* Box 2*/

.add-first {
  color: #cccccc;
  margin-left: 15px;
}
.add-sec {
  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: 920px;
  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;
}

.search-input {
  width: 100%;
  font-size: 1rem;
  border: none;
}

.search-icon {
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  background-color: #febd68;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  color: #0f1111;
}

.nav-search:hover {
  border: 2px solid orange;
}

/* Box 4*/

.nav-link, .nav-signin, .nav-return, .nav-cart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50px;
    padding: 0 9px; /* fixed padding */
}


.link-flag {
    width: 21.6px;
    height: 16.2px;
    margin-right: 4px;
}


.link-lang {
  font-size: 14px;
  color: #ffffff;
  font-weight: 700;
}

.link-select {
  width: 8px;
  height: 4px;
  background-color: #d6d6d6;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: static;
}

#drop-logo {
  color: #cccccc;
  width: 8px;
  height: 4px;
  padding-left: 0px;
}

#drop-logo1 {
  color: #cccccc;
  width: 8px;
  height: 4px;
}

/* Box 5*/

span {
  font-size: 0.7rem;
}

.nav-second {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Box 6*/

.nav-cart i {
  font-size: 30px;
}


/*panel*/

.panel {
  height: 40px;
  background-color: #222f3d;
  display: flex;
  color: white;
  align-items: center;
  justify-content: space-evenly;
}

.panel-ops a {
  text-decoration: none;
  color: white;
  margin-left: 17px;
  border: 1.5px solid transparent;
}

.panel-ops {
  width: 70%;
  font-size: 0.85rem;
}

.panels-deals {
  font-size: 0.9rem;
  font-weight: 700;
}

.msg-color {
  color: #2162a1;
  text-decoration: none;
}

/*Hero section*/

.hero-section {
  background-image: url("./media/hero-img.jpg");
  background-size: cover;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-msg {
  background-color: white;
  color: black;
  height: 40px;
  width: 92.35%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 25px;
}

/*Shop section*/

.card-product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  background-color: #e2e7e6;
}

.card-product-box {
  width: calc(25% - 40px);
  height: 385px;
  background-color: white;
  margin: 0;
  padding: 20px 0 15px;
  box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.1), 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.card-product-box h2 {
  margin-left: 22.3px;
  /*line-height: 35px !important;*/
}

.card-product-box a.msg-color {
    display: inline-block;
    padding: 10px 24px 0;
    margin-top: auto;
}


.card-product-nested-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.card-nested img {
  padding-top: 10px;
  height: 102px;
  width: 128px;
  object-fit: cover;
}

.card-nested a {
  display: flex;
  margin: 0px 0px 30px;
  text-decoration: none;
  color: black;
  font-size: small;
}

.card-product-box {
  margin-left: 1rem;
  margin-right: 1rem;
  box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.1), 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.product_container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.products {
  box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.1), 5px 5px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  height: 259px;
  width: 100%;
  padding: 10px 20px 10px 20px;
  margin-top: 15px;
  margin-right: 10px;
}

/*Footer panel 1*/

footer {
  margin-top: 15px;
}

.foot_panel1 {
  background-color: #37475a;

  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.foot_panel1 a {
  color: white;
  text-decoration: none;
  padding: 15px 0px 15px;
  font-size: 0.85rem;
}

.foot_panel2 {
  background-color: #232f3e;
  color: white;
  height: 500px;
  display: flex;
  justify-content: space-evenly;
}
ul {
  margin-top: 20px;
}

.foot_panel2 p {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  margin: 6px 0px 14px 0;
  white-space: nowrap;
}

.foot_panel2 a {
  display: block;
  color: #dddddd;
  text-decoration: none;
  /*padding: 15px 0px 15px;*/
  font-size: 0.85rem;
  margin-top: 10px;
}

.foot_panel3 {
  background-color: #232f3e;
  color: white;
  border-top: 0.1px solid white;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  background-image: url("./media/Amazon-Logo-Font.webp");
  background-size: cover;
  height: 50px;
  width: 100px;
}

.foot_panel4 {
  background-color: #131a22;
  color: white;
  height: 80px;
  font-size: 0.7rem;
  text-align: center;
}

.foot_panel4 a {
  text-decoration: none;
  color: white;
}

.pages {
  padding-top: 25px;
}

.copyright {
  padding-top: 5px;
}

/* Responsive Layout */

/* For tablets */
@media (max-width: 1024px) {
  .nav-search {
    width: 600px;
  }

  .card-product-box {
    width: calc(50% - 40px);
  }

  .products {
    width: 100%;
    overflow-x: auto;
  }

  .products_img img {
    height: 180px;
  }
}

img {
    max-width: 100%;
    height: auto;
}


@media (max-width: 1024px) {
  .nav-search {
    width: 600px;
  }
  .card-product-box {
    width: calc(50% - 40px);
  }
  .products {
    width: 100%;
    overflow-x: auto;
  }
  .products_img img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
  }
  .nav-search {
    width: 90%;
    margin: 10px 0;
  }
  .panel {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
  }
  .panel-ops {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .card-product-box {
    width: 100%;
  }
  .hero-section {
    height: 200px;
  }
  .hero-msg {
    font-size: 0.75rem;
    padding: 0 10px;
  }
  .foot_panel2 {
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  .foot_panel2 ul {
    margin: 20px 0;
    text-align: center;
  }
  .products {
    height: auto;
    width: 100%;
    overflow-x: auto;
  }
  .products_img {
    display: flex;
    overflow-x: auto;
    gap: 10px;
  }
  .product_container {
    width: 100%;
  }
}
