@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Baloo 2", sans-serif;
}
/* header section */
.navbar {
  height: 60px;
  background-color: #0f1111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.navbar-logo {
  height: 50px;
  width: 100px;
}
.logo {
  background-image: url(/image/amazon_logo.png);
  width: 100%;
  height: 50px;
  background-size: cover;
}
.border {
  border: 0.9px solid transparent;
  transition: 0.3s;
}
.border:hover {
  border-color: white;
}

/* box-2 */
.nav-address {
  padding: 5px;
  transition: 0.5s;
}
.first {
  font-size: 0.8rem;
  color: #cccc;
  margin-left: 15px;
}
.second {
  font-size: 1rem;
  margin-left: 3px;
}
.add-icons {
  display: flex;
  align-items: center;
}

/* box-3 */
.nav-search {
  display: flex;
  background: pink;
  width: 620px;
  height: 40px;
  border-radius: 5px;
  justify-content: space-evenly;
  margin-left: 140px;
  transition: 0.3s;
}
.nav-search {
  border: 2px solid orange;
}
.nav-select {
  background-color: #fff;
  width: 150px;
  text-align: center;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: none;
}
.nav-input {
  width: 100%;
  border: none;
  font-size: 1rem;
  padding: 3px;
}
.search-icon {
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #febd68;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;

  color: #0f1111;
}
/* box4 */
.language {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  background: #1e293b;
  padding: 8px 14px;
  border-radius: 30px;
  transition: 0.3s;
}

.language:hover {
  background: #334155;
}

.language select {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

.language select option {
  background: #1e293b;
  color: white;
}

/* box5 */
/* sign in  */
.nav-signin {
  transition: 0.3s;
  padding: 5px;
}
span {
  font-size: 1rem;
}
nav-acc {
  font-size: 1.4rem;
  font-weight: bold;
}

/* box-6 */
.nav-returns {
  transition: 0.3s;
  padding: 5px;
}

span {
  font-size: 1rem;
}
.order {
  font-size: 1rem;
  font-weight: 700;
}

/* box-7 */
.nav-cart i {
  font-size: 30px;
}
.nav-cart {
  padding: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.3s;
}

/* another navbar */
.nav-panel {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: #222f33;
  height: 40px;
  color: white;
  /* cursor: pointer; */
}

.panel-option p {
  display: inline;
  margin-left: 15px;
}
.panel-option {
  width: 70%;
  font-size: 1rem;
}
.panel-deals {
  font-size: 0.9rem;
  font-weight: 700;
}
.all {
  margin-right: 30px;
}

/* hero-section */
.hero-section {
  background-image: url(/image/hero_image.jpg);
  height: 600px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  
}

.hero-msg {
  background-color: white;
  height: 40px;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;

  font-size: 1rem;
  margin-bottom: 30px;
}

.hero-msg a {
  color: green;
  cursor: pointer;
  text-decoration: none;
}

/* shopping -section */



body{
 /* background: linear-gradient( to bottom,#354367,#b5c7ca); */
background-image: linear-gradient(to top , #354367,#b5c7ca);  
}



/* Main-gird */

.shopping-section{
  max-width: 1700px;
  padding: 30px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
  
  
}
/* box-card */
.shop-box{
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  transition: .35s;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.shop-box:hover{
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.shop-box h2{
   font-size: 22px;
   margin-bottom: 15px;
   color: #111;
}
.shop-box img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  transition: .4s;
}
.shop-box:hover{
  transform: scale(1.05);
}
.shop-box a{
   display: inline-block;
   margin-top: 18px;
   text-decoration: none;
   color: #007185;
   font-weight: 600;
   transition: .3s;
}
.shop-box a:hover{
  color: #ff9900;

}
@media(max-width:760px) {
  .shop-box img{
    height: 220px;
  }
  .shop-box h2{
  font-size: 20px;
}
}


/* footer -section */


footer{
   margin-top: 5px;
}
.footer-panel
{
   background-color:#1e293b;
   color: white;
   display: flex;
   justify-content: center;
   align-items: center;
   height: 40px;
   
 
   font-size: 1rem;
   /* font-; */
}

.footer-panel2{

  background-color: #0f1111;
  color: white;
  height: 350px;
  display: flex;
  justify-content: space-evenly;

}
ul
{
   margin-top: 10px;
}
   
ul a {
  display: block;
  font-size: 0.9rem;
  margin-top: 10px;
  color: #dddd;
  
}
.footer-panel3{


  color: #ffff;
  background-color: #222f33;
  border-top:2px solid white;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-logo{
   background-image: url(/image/amazon_logo.png);
  width: 100px;
  height: 50px;
  background-size: cover;
 
}
.footer-panel4{
  color: white;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  background-color: #0f1111;
  height: 80px;
   font-size: 1rem;
  text-align: center;
}
.pages{
   padding-top: 25px;
}
.copyright{
  padding: 5px;
  
}



/* responsive code */
/* ===========================
   Responsive Design
=========================== */

/* Large Tablets */
@media (max-width: 1200px) {

  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
    gap: 10px;
  }

  .nav-search {
    width: 100%;
    margin-left: 0;
    order: 10;
  }

  .panel-option {
    width: auto;
  }
}

/* Tablets */
@media (max-width: 992px) {

  .navbar {
    justify-content: center;
    gap: 15px;
  }

  .navbar-logo,
  .nav-address,
  .language,
  .nav-signin,
  .nav-returns,
  .nav-cart {
    margin: 5px;
  }

  .nav-search {
    width: 95%;
  }

  .nav-panel {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
  }

  .panel-option {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 10px 0;
  }

  .panel-option p {
    margin: 0;
  }

  .hero-section {
    height: 400px;
    background-position: center;
  }

  .hero-msg {
    width: 90%;
    height: auto;
    padding: 10px;
    text-align: center;
  }

  .footer-panel2 {
    flex-wrap: wrap;
    height: auto;
    padding: 30px 20px;
    gap: 30px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .navbar-logo {
    margin: auto;
  }

  .nav-address,
  .language,
  .nav-signin,
  .nav-returns,
  .nav-cart {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-search {
    width: 100%;
    height: 42px;
  }

  .nav-select {
    width: 80px;
    font-size: 14px;
  }

  .nav-input {
    font-size: 14px;
  }

  .nav-panel {
    display: none;
  }

  .hero-section {
    height: 250px;
  }

  .hero-msg {
    width: 95%;
    font-size: 14px;
    margin-bottom: 15px;
  }

  .shopping-section {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 15px;
    gap: 20px;
  }

  .shop-box {
    padding: 15px;
  }

  .shop-box h2 {
    font-size: 18px;
  }

  .shop-box img {
    height: 200px;
  }

  .footer-panel2 {
    flex-direction: column;
    text-align: center;
  }

  .footer-panel4 {
    height: auto;
    padding: 20px;
  }
}

/* Small Phones */
@media (max-width: 480px) {

  .nav-search {
    flex-direction: column;
    height: auto;
  }

  .nav-select,
  .nav-input,
  .search-icon {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 5px;
  }

  .search-icon {
    height: 40px;
  }

  .shopping-section {
    grid-template-columns: 1fr;
  }

  .shop-box img {
    height: 180px;
  }

  .hero-msg {
    font-size: 13px;
  }

  .footer-panel2 ul {
    margin-bottom: 20px;
  }
}