*{
     margin:0;
     font-family:Arial;
     border: border-box;
}

.navbar{
    height:60px;
    background-color: #0f1111;
    color:white;
     display:flex;
    /* to situate all the divs in same line of navbar */
    align-items:center;
    justify-content: space-evenly
}

.navbar-logo{
    height:logo;
    width: 100px;
   
}

.logo{
    background-image: url("images/amazon logo.jpg");
    background-size: cover;
    height: 50px;
    width:100%;
}
.border{
    border: 1.5px solid transparent
}

.border:hover{
    border:1.5px solid white;

}
.nav address{
    align-items:center;
}
.add-first{
    color:aliceblue;
    font-size:0.85rem;
    margin-left:15px;
    
}
.add-second{
    font-size: 1rem;
    margin-left:3px;
}
.add-icon{
    display:-flex;
    align-items:center;
}
.nav-search{
    display: flex;
    justify-content:space-evenly;
    background-color:pink;
    width:620px;
    height: 40px;
    border-radius:4px;
}
.search-select{
    background-color:#f3f3f3;
    width: 50px;
    text-align: center;
    border-radius:4px;
    border-bottom-left-radius: 4px;
    border-top-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.2rem;
    background-color:rgb(255, 191, 0);
     border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    color:#0f1111;
}
.nav-search:hover{
    border: 2px solid orange;
}
span{
    font-size:0,7rem;
}
.nav-second{
    font-size: 0.85rem;
    font-weight:700;

}

.nav-cart i{
    font-size:30px;
}
.nav-cart{
    font-size:0.85rem;
    font-weight:700;
}

.panel{
    height:40px;
    background-color:#222f3d;
    display:flex;
    color:white;
    align-items: center;
    justify-content: space-evenly ;
}
.panel-ops p{
   display: inline;
   margin-left:15 px; 
    justify-content: space-evenly ;
}
.panel-ops{
    width: 70%;
    font-size: 0.85rem;
    
}
.panel-deals{
    font-size:0.9rem;
    font-weight: 700;
}
 
.hero-section{
    background-image: url("images/hero image.jpg");
    background-size:cover;
    height: 400px;
     display:flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-msg{
    background-color:white;
    color:#0f1111;
    height: 40px;
    display: flex;
    align-items:  center;
    justify-content:center;
    font-size:0.85rem;
    width: 80%;
    display:flex;
    
    margin-bottom: 25px;


 }
 .hero-msg a{
    color:#007185;
 }

 .shop-section{
    display:flex;
    flex-wrap:wrap;
    /* all are in 4up 4 down */
    justify-content:space-evenly;
    background-color: #e2e7e6;
 }
.box {
    /*border: 2px solid black;*/
    height: 400px;
    width:23%;
    background-color:white;
    padding:20px 0px 15px;
    margin-top:15px;
}

.box-img{
    height:300px;
    background-size:cover;
    margin-top:1rem;
    margin-bottom:1rem;
}

.box-content{
    margin-left: 1rem;
    margin-right:1rem;
}
.box-content p{
    color:#007185;
}
.foot-panel1{
    background-color:#37475a;
    color:white;
    display:flex;
    justify-content: center;
    align-items:center;
    font-size:0.85rem;

}
.foot-panel2{
    background-color:#222f3d;
    color:white;
    height:300px;
    display:flex;
    justify-content:space-evenly;
}
ul{
    margin-top:20px;
}
ul a{
    display:block;
    font-size:0.85rem;
    margin-top:10px;
    color:#dddddd;
    

}
.foot-panel3{
    background-color:#222f3d;
    color:white;
    border-top:0.5px solid white;
    height:70px;
    align-items: center;
}
.logo{
    background-image: url("images/amazon logo.jpg");
    background-size: cover;
    height: 50px;
    width:100px;
    
}
.foot-panel4{
    background-color:#0f1111;
    color:white;
    height:80px;
    text-align:center;
    font-size:0.7rem;
    /*display:flex;
    justify-content: center;
    align-items:center;*/
}
.pages{
    font-size:0.7rem;
    text-align:center;
    padding-top:25px;

}

.copy-right{
    padding-top:5px;
     font-size:0.7rem;
     text-align:center;
}


@media (max-width: 768px) {

    /* NAVBAR */
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 10px;
    }

    .navbar-logo {
        margin-bottom: 10px;
    }

     .add-icon{
          
    display:inline-flex;
    justify-content: space-between;
        
     }
    .nav-address {
        display: none; /* mobile me remove (Amazon style) */
    }

    .nav-search {
        width: 100%;
        margin: 10px 0;
    }

    .search-input {
        width: 100%;
    }

    /* PANEL */
    .panel {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .panel-ops {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    /* HERO SECTION */
    .hero-section {
        background-position: center;
        height: 200px;
    }

    .hero-msg {
        width: 90%;
        font-size: 10px;
    }

    /* SHOP SECTION */
    .shop-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 90%;
        margin: 10px 0;
    }

    .box-img {
        /* height: 180px !important; */
        background-size: cover;
        background-position: center;
    }

    /* FOOTER */

     .foot{
          text-align:center;
          flex-direction: column;
          height:450px;
     }
    .foot-panel2 {
        flex-direction: column;
        text-align: center;
        height:1000px;
    }

    .foot-panel2 ul {
        margin-bottom: 15px;
    }

    .foot-panel3 .logo {
        margin: auto;
    }

    .pages {
        flex-direction: column;
        gap: 5px;
    }

}






