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

/* navigation bar */

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

/* box: 1 */

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

.logo {
  background-image: url("images/amazon_logo.jpg");
  background-size: cover;
  width: 100%;
  height: 50px;
}

.border {
  border: 1.5px solid transparent;
}

.border:hover {
  border: 1.5px solid white;
  cursor: pointer;
}

/* box: 2 */

.add-icon {
  display: flex;
  align-items: center;
}

.add-first {
  color: #cccccc;
  font-size: 0.85rem;
  margin-left: 15px;
}

.add-second {
  font-size: 1rem;
  margin: 3px;
}

/* box: 3 */

.nav-search {
  display: flex;
  width: 850px;
  height: 40px;
  border-radius: 4px;
  justify-content: space-evenly;
}

.nav-search:hover {
  border: 2px solid orange;
  height: 41px;
  width: 851px;
}

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

.search-input {
  width: 100%;
  border: none;
  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: #0f1111;
}

/* box: 4 */

.nav-lang {
  height: 50px;
  width: 70px;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
}

.lang-logo {
  background-image: url("images/en_flag.png");
  background-size: cover;
  height: 16px;
  width: 20px;
  margin-bottom: 10px;
}

.lang-select {
  background-color: #0f1111;
  color: white;
  font-size: 0.85em;
  font-weight: 700;
  border: none;
  margin-bottom: 10px;
}

/* box: 5 */

.nav-first {
  font-size: 0.7rem;
  margin-left: 5px;
}

.nav-second {
  font-size: 0.85em;
  color: white;
  background-color: black;
  border: none;
  font-weight: 700;
}

/* box: 6 */

.return-first {
  font-size: 0.7em;
}

.return-second {
  font-size: 0.85em;
  font-weight: 700;
}

/* box: 7 */

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

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

/* panel */

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

.panel-menu i {
  font-size: 1.2rem;
  margin-right: 5px;
}

.panel-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.panel-options {
  width: 80%;
  font-size: 0.9rem;
  font-weight: 500;
}

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

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

/* hero section */

.hero-section {
  background-image: url("images/hero_image.jpg");
  background-size: cover;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-message {
  background-color: #f5f6f6;
  color: #0f1111;
  height: 40px;
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 25px;
}

.hero-message a {
  color: #007185;
  text-decoration: none;
}

.hero-message a:hover {
  color: #c7511f;
  text-decoration: underline;
}

/* shop-section */

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

.box {
  border: none;
  height: 400px;
  width: 23%;
  background-color: white;
  padding: 20px 0px 15px;
  margin-bottom: 1.2rem;
}

.box-content {
  margin-left: 1.2rem;
  margin-right: 1.2rem;
  font-size: 0.85rem;
}

.box-content a {
  text-decoration: none;
  color: #007185;
}

.box-content a:hover {
  text-decoration: underline;
  color: #c7511f;
}

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

/* footer */

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

.foot-panel1 a:hover {
  text-decoration: underline;
  cursor: pointer;
}

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

ul {
  padding-top: 50px;
}

ul p {
  font-size: 1rem;
  font-weight: 700;
}

ul a {
  display: block;
  margin-top: 8px;
}

ul a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.foot-panel4 {
  height: 70px;
  background-color: #0f1111;
  color: white;
  font-size: 0.75rem;
  text-align: center;
  padding-top: 20px;
}

.line-1 a {
  margin-left: 10px;
}

.line-1 a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.line-2 {
  margin-top: 5px;
}

/* foot-panel-name */

.foot-panel-name {
  height: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  color: black;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.foot-panel-name:hover {
  background-color: rgba(0, 0, 0, 0);
}

.personal-link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.email {
  display: flex;
  justify-content: center;
  align-items: center;
}

.foot-panel-name i {
  font-size: 1.2rem;
}

.foot-panel-name a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 5px;
}

.foot-panel-name a:hover {
  text-decoration: underline;
  color: #c7511f;
  cursor: pointer;
}

/* Existing styles */
.email {
  display: flex;
  justify-content: center;
  align-items: center;
}

.foot-panel-name i {
  font-size: 1.2rem;
}

.foot-panel-name a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 5px;
}

.foot-panel-name a:hover {
  text-decoration: underline;
  color: #c7511f;
  cursor: pointer;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
  .nav-search {
    width: 50%;
  }

  .shop-section {
    justify-content: space-around;
  }

  .box {
    width: 30%;
  }
}

@media screen and (max-width: 992px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px 0;
  }

  .nav-logo,
  .add-icon,
  .nav-search,
  .nav-lang,
  .nav-signin,
  .nav-return,
  .nav-cart {
    margin: 5px 10px;
  }

  .nav-search {
    order: 1;
    width: 100%;
  }

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

  .panel-options {
    width: 100%;
    order: 1;
    margin-top: 10px;
  }

  .box {
    width: 45%;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    height: 250px;
  }

  .hero-message {
    width: 90%;
    font-size: 0.75rem;
  }

  .box {
    width: 90%;
  }

  .foot-panel2 {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 0;
  }

  ul {
    width: 50%;
    padding-top: 20px;
  }
}

@media screen and (max-width: 576px) {
  .navbar > div {
    margin: 5px 5px;
  }

  .nav-search .search-select,
  .nav-search .search-icon {
    width: 35px;
  }

  .panel-menu,
  .panel-deals {
    font-size: 0.8rem;
  }

  .hero-section {
    height: 200px;
  }

  .hero-message {
    font-size: 0.7rem;
  }

  ul {
    width: 100%;
  }

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

  .foot-panel-name > div {
    margin: 5px 0;
  }
}
