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

body{
    background-color: #f0efef;
    margin: 0;
}

.nav-bar{
    display: none;
}

.navbar{
    height: 50px;
    background-color: #fff;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nav-logo{
    background-image: url("Images/logo1.png");
    height: 44px;
    width: 170px;
    background-size: cover;
}

.search-bar{
    background-color: rgb(230, 241, 245);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 40%;
    border-radius: 10px;
}

.search-bar i{
    margin-left: 10px;
    font-size: 15px;
}

.search{
    height: 25px;
    width: 95%;
    border-radius: 10px;
    border: none;
    background-color: rgb(230, 241, 245);
    margin-left: 7px;
    font-size: 15px;
}

.nav-login{
    font-size: 18px;
    line-height: 20px;
}

.nav-login i{
    font-size: 18px;
}

.nav-cart{
    font-size: 18px;
    line-height: 20px;
    display: flex;
    gap: 5px;
}

.nav-cart p{
    margin: -2px;
}

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

.nav-shop{
    font-size: 18px;
    line-height: 20px;
}

.nav-shop i{
    font-size: 18px;
}

.menu{
    font-size: 30px;
}

.panel{
    height: 155px;
    background-color: #fff;
    margin: 8px 10px 0px 10px;
    display: flex;
    justify-content: space-evenly;
}

.pic-content{
    height: 94px;
    width: 94px;
}

.pic-content p{
    text-align: center;
    font-weight: bold;
}

.pic1{
    background-size: cover;
    height: 94px;
    width: 94px;
}
.hero-section{
    height: 190px;
    background-color: #fff;
    margin: 18px 10px 0px 10px;
}

.main-pic{
    background-image: url("Images/hero.jpg");
    background-size: cover;
    height: 165px;
}

.content{
    margin: 10px 10px 0px 10px;
    background-color: #fff;
    padding-top: 15px;
    padding-left: 15px;
    width: 64.07rem;
}

.hero{
    width: 100%;
    display: flex;
}

.shop-section{
    background-color: #fff;
    margin: 0px 10px 0px 10px;
    display: flex;
    justify-content: space-evenly;
    height: 220px;
    width:65rem;
}

.content2{
    margin: 10px 10px 0px 10px;
    background-color: #fff;
    padding-top: 15px;
    padding-left: 15px;
    width: 76rem;
}

.shop-section2{
    background-color: #fff;
    margin: 0px 10px 0px 10px;
    display: flex;
    justify-content: space-evenly;
    height: 220px;
    width:77rem;;
}

.box-img{
    background-size: cover;
    height: 135px;
    width: 135px;
    margin-top: 10px;
}

.box-img1{
    background-size: cover;
    height: 155px;
    width: 170px;
    margin-top: 10px;
}

.box p{
    text-align: center;
}

.text{
    font-weight: bold;
}

.side-box{
    background-color: #fff;
    padding-left: 10px;
    height: 220px;
    width: 11rem;
}

.side-box-img{
    background-size: cover;
    height: 185px;
    width: 11rem;
    margin-top: 10px;
    padding-bottom: 10px;
}

.story{
    margin-top: 15px;
    color: black;
    font-size: 0.75rem;
    margin-left: 20px;
    margin-right: 20px;
}

.foot-panel2 p{
    color: rgb(126, 127, 127);
    margin-bottom: 15px;
}

.foot-panel2{
    background-color: black;
    color: white;
    height: 300px;
    display: flex;
    justify-content: space-evenly;
    margin-top: 15px;
}

ul{
    margin-top: 20px;
}

ul a{
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #DDD;
}

a{
    text-decoration: none;
}

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

.line{
    border-left: 0.5px solid rgb(126, 127, 127) ;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
}

.space{
    margin-top: 20px;
}

.end-text{
    display: block;
    font-size: 0.85rem;
    width: 220px;
    word-wrap: break-word;
    color: white;
}

.foot-panel3{
    background-color: black;
    color: white;
    border-top: 0.5px solid rgb(126, 127, 127) ;
    height: 70px;
    display: flex;
    align-items: stretch;
}

.pages{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-grow: 1;
}
.shop{
    margin-left: 15px;
}

@media (max-width: 768px) {
  
  .search-bar, .menu, .nav-shop, .side-box, .foot-panel2, .shop {
    display: none;
  }

  .navbar {
    display: flex;
    align-items: center;
    padding: 0 10px;
    width: 100%;
  }

  .nav-login {
    margin-left: auto;
  }

  .nav-logo {
    width: 120px;
    height: 44px;
    background-size: cover;
    margin-top: 6px;
  }

  .nav-login, .nav-cart {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 6px;
  }

  .nav-login i,
  .nav-cart i {
    font-size: 16px;
  }

  .nav-cart p {
    display: none;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    font-size: 18px;
  }

  .nav-cart {
    margin-left: 12px; 
  }

  .panel{
    margin: 0px;
    width: 100%;
    display: flex;
    overflow-x: auto;    
    gap: 10px;          
    padding: 10px;
    scroll-behavior: smooth;
  }

  .hero-section{
    width: 100%;
    height: 95px;
  }

  .main-pic{
    width: 100%;
    background-size: cover;
    height: 80px;
  }

  .content{
    width: 98.6%;
    box-sizing: border-box;
    padding: 0 10px;
    margin: 10px 0px 0px 10px;
  }

  .content2{
    margin: 10px 0px 0px 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .shop-section, .shop-section2{
    width: 100%;
    margin: 0px 0px 0px 10px;
    overflow-x: auto;
    gap: 10px;   
    scroll-behavior: smooth;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .foot-panel3{
    height: 30px;
    width: 105%;
    margin-top: 5px;
  }

}

@media (max-width: 1024px) {
  .navbar {
    width: 100%;
    padding: 0 10px;
  }

  .nav-logo {
    width: 130px;
    height: 44px;
    background-size: contain;
  }

  .search-bar {
    width: 50%;
  }

  .panel {
    width: 100%;
    margin: 0;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scroll-behavior: smooth;
  }

  .content {
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0 0 0;
    padding: 10px;
  }

  .content2 {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin: 0%;
  }

  .shop-section,
  .shop-section2 {
    width: 100%;
    overflow-x: auto;
    gap: 10px;
    scroll-behavior: smooth;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 0px 0px 10px 0px;
  }

  .side-box {
    display: none;
  }

  .foot-panel2 {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    height: auto;
  }

  .line {
    display: none;
  }

  .foot-panel3 {
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px 0;
  }

  .pages {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
  }

  .end-text {
    text-align: left;
    margin-top: 10px;
  }
}
