*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}
/* header */
/* upper panel */
.nav-bar{
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly; 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5; 
    /* z-inded is used at top navbar to make lower panel not to overlap with top navbar . */
}
/* amazon logo */
.nav-logo{
    height: 50px;
    width: 110px;
    margin-left: 10px;
    
}
.logo{
    background-image: url(./images/logo.jpg);
    background-size: cover;
    height: 50px;
    width: 100%;
    
}
/* logo border */
.border{
    border: 1.5px solid transparent;
}
.border:hover{
    border: 1.5px solid white;
    scale: 1.01;
    cursor: pointer;
}
/* location box */
.deliver{
    color:#cccccc;
    font-size: 0.85rem;
    margin-left: 17px;
    

}
.update{
    margin-left: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}
.icon{
    display: flex;
    align-items: center;
    
}
.nav-address{
    margin-top: 10px;
    margin-left: 5px;
    
    
}
/* search box */
.nav-search{
    display: flex;
     justify-content: space-evenly; 
    background-color: palevioletred;
    width: 730px;
    height: 40px;
    border-radius: 4px;
    margin-left: 10px;
}
.all{
    background-color: #f3f3f3;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 50px;
    text-align: center;
    border: none;
    color: rgb(128, 128, 128);
}
.all:hover{
    color: #0f1111;
    background-color: rgb(177, 176, 176);
}
.all option{
    color: #0f1111;
}
.input-srch{
    width: 100%;
    /* width:100% makes search bar occupy all the space within the main flex */
    border: none;
    font-size: 0.9rem;
    padding-left: 10px;
}

.search-icon{
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: rgb(234, 179, 76);
    border-top-right-radius: 4px;
    border-bottom-right-radius:4px ;
    color: #0f1111;
    
}  
.search-icon:hover{
    background-color: orange;
}
.nav-search:hover{
    border: 2px solid orange
}
/* country box */
.nav-language{
    width: 70px;
    height: 40px;
    display: flex;
    background:transparent;
}
.nav-language img{
    margin: 5px;
    margin-top: 15px;

}
.nav-language select{
    width: 40px;
    background-color: transparent;
    color: #fff;
    border: none;

}
.nav-language select option{
    color: #0f1111;
}
/* sign in */

.hello{ 
    font-size: 0.8rem;
    margin-left: 5px;

}
.account{
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    width: 150px;
}
.account option{
    color: #0f1111;
}
/* returns */
.rturn{ 
    font-size: 0.8rem;
    

}
.ordr{
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    
}
/* cart */
.nav-cart{
    display: flex;
}
.nav-cart i{
    font-size: 30px;
}
.cart{
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 15px;
}
/* lower panel */
.lower-panel{
    height: 43px;
    background-color: #222f3d;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
    position: sticky;
    top: 0;
     position: relative;
    top: 60px;
}
.panel-all{
    display: flex;
    margin-left: 20px;
    
}
.panel-all i{
    font-size: 20px;
}
.panel-options ul{
    display: flex;
}
.panel-options ul li{
    margin-left: 20px;
}
.panel-options{
    width: 70%;
    margin-left: 20px;
}
.sale-img{
    display: flex;
    margin-bottom: 2px;
    margin-top: 2px;
    margin-left: 150px;
    
    
}
.great{font-size: 0.75rem;
       font-weight: 700;
}
.now{
    font-weight: bold;
    font-size: 20px;
}
/* section-banner */
.banner-img{
    background-image: url(./images/carousel1.jpg);
    height: 400px;
    background-size: cover;
    margin-top: 60px;
    
}
/* offer row 1 */

.box-heading{
    padding: 20px;
    
}
.shop-section-1{
    display: flex;
    justify-content: space-evenly;
    background-color: #e2e7e6;
    height: 280px;
  
   
    
}
.box{
    
    height: 400px;
    width:350px;
    background-color: white;
    
   
    
}
.nested-row1{
    display: flex;
    justify-content: space-evenly;
}
.sub1{
    color: #5d5b5b;
    font-size: 0.75rem;
}
.sub1:hover{
    
    cursor: pointer;
}
.sub1 img{
    height: 102px;
    width: 140px;
    
}
.nested-row2{
    display: flex;
    justify-content: space-evenly;
}
.sub2{
    color: #5d5b5b;
    font-size: 0.75rem;
    margin-top: 15px;
    
}
.sub2:hover{
   
    cursor: pointer;
}
.sub2 img{
    height: 102px;
    width: 128px;
    
}
.see-all-deals{
    color: #007185;
    font-size: 0.8rem;
    padding: 20px;
    cursor: pointer;
    
}

.square-img {
    height: 250px;
    width: 300px;
    margin-left: 20px;
    margin-right: 10px;
}
.square-img:hover{
   
    cursor: pointer;

}
/* offer row 2 */
.shop-section-2{
    display: flex;
    justify-content: space-evenly;
    background-color: #e2e7e6;
    height: 420px;
    
}
/* row 3 blockbuster deals */
.hero{
    background-color: #e2e7e6;
    height: 400px;
}
.junior{
    height: 380px;
    width: 97%;
    background-color: white;
    margin-left: 23px;
    
}
.small{
    height: 310px;
    width: 97%;
    background-color: white;
    margin-left: 20px;
    display: flex;
    justify-content: space-evenly;
}
.smallest{
    height: 300px;
    width: 220px;
    background-color:white;
    margin: 5px;
}
.smallest img{
    height: 200px;
    width: 100%;
    cursor: pointer;
    border: 2px solid whitesmoke;
}


/* row-5 SCROLL PRODUCT SECTION */
#row5{
    background-color: #e2e7e6;
    height: 290px;
}
.scroll-product{
    width: 97%;
    height: 273px;
    background-color:white;
    margin-left: 20px;
    padding: 10px;
}
.products img{
    
    margin: 20px;
    margin-bottom: 20px;
    width: 200px;
    
}

.products{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    overflow-x: auto;
    /* scroll and align horizontally */
}
.products img{
    height: 180px;
}
.products::-webkit-scrollbar{
    height: 8px;
    cursor: pointer;
    background-color: white;
}
.products::-webkit-scrollbar-track{
    border-radius: 10px;
    background-color:white;
}
.products::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background-color: white;
}
.products::-webkit-scrollbar-thumb:hover{
    border-radius: 10px;
    background-color: #b4b2b2;
}
/* row 6 */
#row6{
    background-color: #e2e7e6;
    height: 290px;

}
/* row 7 */
.one-only{
    height: 280px;
    width: 100%;
    background-color: #e2e7e6;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rectangle{
    height: 250px;
    width: 60%;
    background-color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.rectangle img{
    height: 180px;
    width: 120px;
    margin: 55px;
}
.details{
    font-size: large;
}
/* sign in row */
.white{
    background-color: white;
    height: 190px;
    width: 100%;
    display: flex;
}
.subwhite{
    height: 120px;
    width: 100%;
    background-color: white;
    padding: 20px;
    padding-top:30px;
    
    margin-top: 40px;
    border: 2px solid #e2e7e6;

    align-items: center;
    
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}
.subwhite button{
    height: 30px;
    width: 250px;
    border-radius: 5px;
    border-color: orange;
    background-color: rgb(240, 155, 8);
    padding: 5px;
    cursor: pointer;
}
/* footer */
/* back to top */
.back-to-top{
    height: 50px;
    width:100%;
    background-color: #37475a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
   
}
.back-to-top:hover{
    background-color: #50647c;
    font-size: 0.85rem;
    
}
/* footer-panel 1 */
.panel-1{
    background-color: #222f3d;
    height: 350px;
    color: white;
    display: flex;
    justify-content: center;
    padding-top: 40px;
    justify-content: space-evenly;
    
}
.panel-1-sub ul li a{
    color: #dddddd;
    text-decoration: none;
}
.panel-1-sub ul{
    margin-top: 20px;
}
.panel-1-sub ul li{
    margin-top: 5px;

}
.panel-1-sub ul li a:hover{
    text-decoration: underline;
    
}
/* panel 2 of footer */
.panel-2{
      background-color:#222f3d;
      color: white;
      height: 120px;
      border-top: 0.5px solid gray;
      display: flex;
      justify-content: center;
      align-items: center;
}
.logo-again{
    background-image: url(./images/bottom\ logo.png);
    background-size: cover;
    height: 40px;
    width: 145px;
    margin-top: 20px;
    
}
.native select{
    height: 35px;
    width: 100px;
    background-color: #222f3d;
    color: #dddddd
}
.place{
    display: flex;
    margin-left: 20px;
    border: 1px solid grey;
    padding: 5px;
    width: 70px;
    height: 35px;
}
.place img{
    height: 20px;
    width: 20px;
}
.place p{
    margin-left: 5px;
}
/* panel 3 of footer */
.services{
    display: flex;
    flex-direction: column;
}
.last{
    display: flex;
    justify-content: center;
    padding-top: 20px;
    background-color:#0e1721 ;
    justify-content: space-evenly;
    font-size: 0.85rem;
    height: 170px;
    
}
.services a{
    color: grey;
    text-decoration: none;
}
.services a:hover{
    
    text-decoration: underline;
}
.dark{
    font-weight: bold;
    
}
/* footer copyrights */
.copyrights{
    background-color: #0d1620;
    color: white;
    height: 80px;
    padding-top: 10px;
}
.copy{
   font-size: 0.8rem;
   text-align: center;
   
}
.copy a{
    color: white;
    text-decoration: none;
    margin-left: 20px;
}
.copy a:hover{
    text-decoration: underline;
    
}
.com{
    font-size: 0.8rem;
    text-align: center;
}