*{
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    border: border-box;
}

.navbar{
    height: 60px;
    color: white;
    background-color: #0f1111;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
   
}

.nav-logo{
    height: 50px;
    width: 113px;

}

.logo{
    background-image: url("Amazon.PNG");
    height: 50px;
    background-size: cover;
    width: 113%;
}
 
.border{
    border: 2px solid transparent;
}

.border:hover{
    border: 2px solid white;
    
}

/* Box 2 */ 

.first-add{
    color: #cccccc;
    font-size: 0.85rem;
    margin-left: 30px;
}


.second-add{
    color: white;
    font-size: 1rem;
    margin-left: 4px;
}

.add-icon{
    display: flex;
    align-items: center;
    margin-left: 15px;
}

/* Box 3 */

.nav-search{
    display: flex ;
    justify-content: space-evenly;
    height: 35px;
    width: 620px;
    background-color: pink;
    border-radius: 4px;
}

.search-select{
    background-color: #f3f3f3;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 45px;
    border: none;

}

.nav-search:hover{
    border: 2PX solid orange;
}

.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, 174, 0);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
    
}

/* Box 4 */

span{
    font-size: 0.7rem;

}

.nav-second{
    font-size: 0.85rem;
    font-weight: 700;
}

.nav-cart i{

   font-size: 1.5rem;

}

.nav-cart {

    font-size: 0.8rem;
    font-weight: 700;
}

/* Panel */

.panel{
     height: 38px;
     background-color: #222f3d;
     display: flex;
     align-items: center;
    justify-content: space-evenly;
    color: white;
}

.panel-ops p  {

    display: inline;
    padding-right: 1.2rem;
}

.panel-ops {

    width: 70%;
    font-size: 0.8rem;
}

.panel-Deals{
    font-size: 0.9rem;
    font-weight: 700;

}

/* hero-Section */

.hero-section {
    height: 400px;
    background-image: url("hero_.jpg");
    background-size: cover;
    display: flex;
     justify-content: center;
     align-items: flex-end;
    
}

/* Hero msg */
.hero-msg{
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-size: 0.85rem;
    width: 90%;
    margin-bottom: 17px;

}

.hero-msg a{
    color: #007185;
}

/* Shop Section */

.shop-section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: rgb(227, 145, 236);
}

.box{
    
    height: 400px;
    width:  23%;
    background-color: white;
    padding: 20px 0px 15px;
    margin: 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;
}


/* Footer panel */

footer{
    margin-top: 15px;
}
.foot-panel1{
    background-color: #37475a;
    color: white;
    height: 50px;
    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: 15px;
    color: #dddddd;
}

.foot-panel3{
    background-color:#222f3d ;
    color: white;
    border-top: 0.5px solid white;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    background-image: url("Amazon.PNG");
    height: 55px;
    background-size: cover;
    width: 155px;
}

.foot-panel4{
    height: 80px;
    background-color: #1f2833;
    
     color: white;
     /* display: flex;
    justify-content: center;
    align-items: center; */
}

.pages {
    padding-top: 1.5rem;
    font-size: 12px;
    text-align: center;
    
}
.copyright{
    font-size: 12px;
     padding-top: 0.5rem;
      text-align: center;
    
}

/*responsive*/


/* Responsive Design */
@media (max-width: 1024px) {
    .nav-search {
        width: 500px;
    }

    .panel-ops {
        width: 80%;
    }

    .box {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
    }

    .nav-logo,
    .nav-address,
    .nav-singin,
    .nav-return,
    .nav-cart {
        margin-bottom: 10px;
    }

    .nav-search {
        width: 90%;
        margin-top: 10px;
    }

    .panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .panel-ops {
        width: 100%;
        font-size: 0.9rem;
    }

    .panel-ops p {
        display: block;
        margin: 5px 0;
    }

    .shop-section {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .nav-search {
        flex-direction: column;
        height: auto;
    }

    .search-select,
    .search-input,
    .search-icon {
        width: 100%;
        border-radius: 0;
    }

    .search-icon {
        border-radius: 0 0 4px 4px;
        margin-top: 5px;
    }

    .hero-section {
        height: 200px;
        background-position: center;
    }

    .hero-msg {
        width: 95%;
        font-size: 0.7rem;
        padding: 5px;
        text-align: center;
    }

    .panel-ops p {
        font-size: 0.8rem;
    }

    .foot-panel2 {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .foot-panel2 ul {
        margin: 10px 0;
    }

    .foot-panel4 .pages,
    .foot-panel4 .copyright {
        font-size: 10px;
    }
}
