*{
    margin:0;
    font-family: Arial;
    border-sizing: border-box;
}

.navbar{
    height: 60px;
    background-color: #0f0f11;
    color: white;
    display: flex;   /* Keep in the navbar horizontally*/
    align-items: center;
    justify-content: space-evenly;
}

.nav-logo{
    height: 50px;
    width: 100px;
}

.logo{
    background-image: url("Assets/amazon_logo.png");
    background-size: cover;       /*Cover inside the div*/
    height: 50px;
    width: 100%;
}

.border{
    border: 0.5px solid border;
}

.border:hover{
    border: 0.5px solid rgb(231, 231, 231);
}





/**box2**/
.address-first{
    color: #cccccc;
    font-size: 0.55rem;
    margin-left: 25px;
}
.address-second{
    font-size: 1rem;
    margin-left: 3px;
}
.add-icon{
    display: flex;
    align-items: center;
}





/**box3**/
.nav-search{
    display:flex;
    justify-content: space-evenly;
    background-color:purple;
    flex:0.8;
    width: 620px;
    height: 40px;
    border-radius: 4px;
}

.nav-search:hover{
    border:2px solid orange;
    border-radius: 4px;
}

.search-select{
    background-color: #f3f3f3;
    width:50px;
    text-align: center;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border:none;
}
.search-input{
    width:100%;
    font-size:1rem;
    border:none;
}

.search-icon{
    width:45px;
    display: flex;       /**Important*/
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    background-color: #FF9900;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f0f11;
}




/**Box4**/
span{
    font-size:0.7rem;
}
.nav-second{
    font-size: 0.85rem;
    font-weight: 700;
}



/**Box6**/
.nav-cart i{
    font-size:20px;
}

.nav-cart{
    font-size: 0.85rem;
    font-weight: 600;
}




/** Panel **/
.panel{
    height: 40px;
    background-color: #222f3d;
    display: flex; /* Horizontal*/
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.panel-options p{
    display: inline;
    margin-left: 12px;
}

.panel-options{
    width: 70%;
    font-size: 0.85rem;
}

.panel-deals{
    font-size:0.88rem;
    font-weight: 700;
}


/**Hero section*/
.hero-section{
    background-image:url("Assets/Hero_image.jpg");
    background-size: cover;
    height: 40vh;   /*vh for mobile scale*/
    display: flex;
    justify-content: center;
    align-items: flex-end;
}




/**box section**/
.shop{
    display:flex;
    justify-content: space-evenly;
    background-color:#efefeb;
    padding-bottom: 28px;   /*Margin bottom wouldn't color the margin*/
}

.box{
    height: 400px;
    width: 29%;
    padding: 20px 0px 15px;
    margin: 15px;
    background-color: azure;

    transition: 0.3s;   /* Smooth animation */
}

.box:hover{
    background-color: 0.5px solid rgb(231, 231, 231);
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.box-image{
    height:300px;
    background-size: cover;
    background-position: center bottom 20%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.box-content{
    margin-left:1rem;
    margin-right: 1rem;
}

.box-content p{
    color: #007185;
}



/** footer **/

.foot-panel01{
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}

.foot-panel02{
    background-color: #222f3d;
    color: white;
    height:300px;
    display: flex;    /*Column seperate*/
    justify-content: space-evenly;
}

ul{
    margin:20px;
}


ul a{
    display: block;   /*Single row*/
    font-size: 0.85rem;
    margin-top: 10px;
    color: #dddddd;
}

@media (max-width:768px){

    .foot-panel02{
        flex-direction:column;
        height:auto;
    }
}

.foot-panel03{
    background-color: #222f3d;
    color: white;
    border-top: 0.3px solid rgb(138, 138, 140);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    background-image: url("Assets/amazon_logo.png");
    background-size: cover;       /*Cover inside the div*/
    height: 50px;
    width: 100px;
}

.foot-panel04{
    padding-top: 20px;
    background-color: #0f1111;
    color: white;
    height: 80px;
    font-size:0.7rem;
    text-align:center;
    /*display: flex;
    justify-content: center;
    align-items: center;*/
}

.pages{
    font-size:0.7rem;
}

.copyright{
    padding-top:5px;  
}


/**Transition**/
.border{
    transition: 0.2s;
}




/* Mobile Layout */
@media (max-width:768px){

    .navbar{
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }

    .nav-search{
        width: 95%;
        margin: 10px;
        order: 1;
    }

    .nav-signin,
    .nav-return{
        display: none;
    }

    .panel{
        justify-content: flex-start;
        padding-left: 15px;
    }

    .panel-options,
    .panel-deals{
        display: none;
    }

    .shop{
        flex-direction: column;
        align-items: center;
    }

    .box{
        width: 90%;
    }

    .hero-section{
        background-position: center;
        background-size: cover;
        height: 30vh;
    }

    .foot-panel02{
        flex-direction: column;
        height: auto;
    }
}
