* {
    margin: 0;
    font-family: Arial;
    border: border-box;
}
.navbar {
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.nav-logo {
    background-image: url("images/amazon_logo.png");
    background-size: cover;
    height: 50px;
    width: 114px;
}
.border {
    border: 1.9px solid transparent;
    border-radius: 3%;
}
.border:hover {
    border: 1.9px solid white;
    border-radius: 3%;
}
/** box2 **/
.nav-location {
    height: 50px;
    width: 86px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}
.loc-first {
    font-size: 0.8rem;
    margin-left: 21px;
    color: #cccccc;
}
.loc-second {
    display: flex;
    font-size: 1rem;
    margin-left: 1px;
}
/** box3 **/
.nav-search:hover {
    border: 3px solid orange;
}
.nav-search {
    border: 3px solid transparent;
   display: flex;
   justify-content: space-evenly;
   height: 40px;
   width: 620px;
   border-radius: 4px;
}
.search-select {
    text-align: center;
    background-color: #e6e6e6;
    border: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    width: 60px;
}
.search-bar {
    font-size: 1rem;
    border: none;
    width: 100%;
}
.nav-search input:focus {
    outline: none;
}
.search-button {
    border: none;
    background-color: #febd38;
    width: 45px;
    font-size: 1.3rem;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
}
/** box4 **/
.nav-signin {
    height: 50px;
    width: 140px;
}
#signin-first {
    display: inline-block;
    padding-top: 10px;
    padding-left: 8px;
    font-size: 0.82rem;
}
#signin-second {
    padding-left: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}
#signin-button {
    padding: 0;
    display: inline;
    background-color: transparent;
    color: #e6e6e6;
    border: none;
    font-size: 0.65rem;
}
/* box5 */
.returns_orders {
    height: 50px;
    width: 75px;
}
#ro-first {
    display: inline-block;
    padding-top: 10px;
    padding-left: 8px;
    font-size: 0.82rem;
}
#ro-second {
    padding-left: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}
/* box6 */
.nav-cart {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    align-content: center;
    height: 50px;
    width: 84px;
} 
#nav-cart {
    font-size: 26px;
}
#cart {
    font-size: 0.9rem;
    font-weight: 550;
}

/* nav-panel */
.nav-panel {
    display: flex;
    justify-content: space-evenly;
    height: 39px;
    background-color: #232f3e;
    color: #ffffff;
}
.nav-panel-all {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 58px;
    padding-left: 10px;
    font-size: 1.2rem;
}
#panel-all {
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-panel-options {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}
.nav-panel-options div {
    font-size: 0.9rem;
    height: 36px;
    border: 1.9px solid transparent;
    border-radius: 3%;
    width: auto;
    display: flex;
    align-items: center;
    margin: 0px 5px 0px 5px;
    padding: 0px 5px 0px 5px;
}
.nav-panel-options div:hover {
    border: 1.9px solid white;
    border-radius: 3%;
}
.nav-panel-options div i {
    padding: 2.5px 0px 0px 2px;
    color: #e6e6e6;
    font-size: 0.5rem;
}

/* hero-section */
.hero-section {
    background-image: url("images/hero_image.jpg");
    height: 300px;
    background-size: cover;
    background-position: top;
}
.hero-msg {
    text-align: center;
    background-color: #f6f6f6;
    border: none;
    padding: 10px;
    position: relative;
    top: 230px;
    width: 94%;
    left: 2.2%;
    font-size: .9rem;
}
.hero-msg a {
    color: #007185;
}

/* shop section  */
.shop {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #e2e7e6;
}
.box {
    display: flex;
    flex-direction: column;
    height: 315px;
    width: 280px;
    background-color: white;
    padding: 20px 0px 15px 0px;
    margin: 20px 0px 20px 0px ;
}
.shop_heading {
    margin-bottom: 10px;
    padding: 0px 20px;
}
.image {
    flex: 1;
    padding: 0px 20px;
    margin: 0px 20px 15px;
}
.see_more {
    color: #007185;
    padding: 0px 20px;
}
.box1 {
    background-image: url(images/box1_image.jpg);
    background-size: cover;
}
.box2 {
    background-image: url(images/box2_image.jpg);
    background-size: cover;
}
.box3 {
    background-image: url(images/box3_image.jpg);
    background-size: cover;
}
.box4 {
    background-image: url(images/box4_image.jpg);
    background-size: cover;
}
.box5 {
    background-image: url(images/box5_image.jpg);
    background-size: cover;
}
.box6 {
    background-image: url(images/box6_image.jpg);
    background-size: cover;
}
.box7 {
    background-image: url(images/box7_image.jpg);
    background-size: cover;
}
.box8 {
    background-image: url(images/box8_image.jpg);
    background-size: cover;
}

/* footer */
.foot_panel1 {
    background-color: #37475a;
    color: #ffffff;
    font-size: .85rem;
    text-align: center;
    padding: 15px 0px;
}
.foot_panel2 {
    display: flex;
    justify-content: space-around;
    background-color: #232f3e;
    color: white;
    padding: 40px;
}
.p {
    display: flex;
    flex-direction: column;
}
.colhead {
    font-weight: 600;
    margin: 5px;
}
.p a {
    color: #dddddd;
    font-size: 0.88rem;
    margin: 5px;
}
/* foot-panel3 */
.foot-panel3 {
    height: 68px;
    background-color: #232f3e;
    color: #dddddd;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img {
    height: 54px;
    width: 95px;
    background-image: url(images/amazon_logo.png);
    background-size: cover;
    margin: 0px 60px;
    position: relative;
    top: 4px;
}
.foot-select {
    display: flex;
    justify-content: space-evenly;
    border: 1px solid #dddddd;
    border-color: #e6e6e6;
    border-radius: 2px;
    height: 30px;
    width: 120px;
    align-items: center;
}
.foot-panel3 select {
    background-color: transparent;
    border: none;
    color: #dddddd;
}

/* .foot-panel4 */
.foot-panel4 {
    background-color: #131a22;
    color: #dddddd;
    height: 70px;
    font-size: 0.8rem;
}
.foot-panel4 ul {
    display: flex;
    justify-content: center;
}
.foot-panel4 li {
    list-style-type: none;
    margin: 25px 5px 0px;
}
.copyright {
    text-align: center;
    margin: 2px;
}
/* Tablet */
@media (max-width: 768px) and (min-width:480px) {
    .navbar {
        height: auto;
        flex-wrap: wrap;
    }
    .nav-location {
        height: 40px;
        width: 75x;
        order: 6;
    }
    .loc-first {
        font-size: 0.75rem;
        margin-left: 18px;
    }
    .loc-second {
        font-size: 0.9rem;
    }
    .nav-signin {
        height: 40px;
        width: 140px;
        margin-bottom: 10px;
    }
    #signin-first {
        font-size: 0.78rem;
    }
    #signin-second {
        font-size: 0.82rem;
    }
    .returns_orders {
        height: 40px;
        width: 68px;
        margin-bottom: 10px;
    }
    #ro-first {
        font-size: 0.78rem;
    }
    #ro-second {
        font-size: 0.82rem;
    }
    .nav-cart {
        height: 40px;
    }
    #nav-cart {
        font-size: 20px;
    }
    #cart {
        font-size: 0.75rem;
    }
    .nav-panel-all {
        font-size: 0.9rem;
    }
    #panel-all {
        font-size: 0.8rem;
    }
    .nav-panel-options {
        flex-wrap: wrap;
        overflow-x: auto;
    }
    .nav-panel-options div {
        font-size: 0.8rem;
    }
    .hero-msg {
        font-size: 0.8rem;
    }
    .shop {
        padding: 10px 0px;
    }
    .box {
        height: 180px;
        width: 160px;
        margin: 10px;
    }
    .shop_heading {
        font-size: 1rem;
    }
    .see_more {
        font-size: 0.8rem;
    }
    .foot_panel1 {
        font-size: 0.8rem;
        padding: 10px 0px;
    }
    .foot_panel2 {
        padding: 16px;
    }
    .colhead {
        font-size: 0.9rem;
        font-weight: 550;
    }
    .p a {
        font-size: 0.8rem;
    }
    .img {
        margin: 0px 20px;
    }
    .foot-panel4 {
        height: 80px;
        font-size: 0.7rem;
    }
    .foot-panel4 li {
        margin: 15px 5px 0px;
    }
    .copyright {
        margin: 3px 0px 10px;
    }
}
/* Mobile */
@media (max-width: 480px) {
    .navbar {
        height: auto;
        flex-wrap: wrap;
        /* align-items: baseline; */
        padding: 5px;
    }
    .navbar div {
        padding: 2px;
    }
    .nav-logo {
        height: 80px;
        width: 140px;
    }
    .loc-first {
        font-size: 0.7rem;
    }
    .loc-second {
        font-size: 0.9rem;
        margin-left: 5px;
    }
    #signin-first, #ro-first {
        font-size: 0.72rem;
    }
    #signin-second, #ro-second {
        font-size: 0.8rem;
    }
    .returns_orders {
        height: 40px;
        width: 64px;
    }
    .nav-signin {
        height: 40px;
        width: 130px;
    }
    .nav-cart {
        height: 40px;
        width: 75px;
        font-size: 0.7rem;
        font-weight: 450;
    }
    #nav-cart {
        font-size: 20px;
    }
    .nav-panel-options {
        flex-wrap: wrap;
        overflow-x: auto;
    }
    .nav-panel-all {
        font-size: 0.9rem;
    }
    #panel-all {
        font-size: 0.78rem;
    }
    .nav-panel-options div {
        font-size: 0.8rem;
        padding: 0px 4px;
        margin: 0px 4px;
    }
    .hero-section {
        background-size: 550px;
        height: 200px;
    }
    .hero-msg {
        top: 120px;
        font-size: 0.8rem;
        left: 1px;
    }
    .shop {
        padding: 10px 0px;
    }
    .box {
        height: 180px;
        width: 160px;
        margin: 10px;
    }
    .shop_heading {
        font-size: 1rem;
    }
    .see_more {
        font-size: 0.8rem;
    }
    .foot_panel1 {
        font-size: 0.8rem;
        padding: 10px 0px;
    }
    .foot_panel2 {
        padding: 16px;
    }
    .colhead {
        font-size: 0.9rem;
        font-weight: 550;
    }
    .p a {
        font-size: 0.8rem;
    }
    .img {
        margin: 0px 20px;
    }
    .foot-panel4 {
        height: 80px;
        font-size: 0.7rem;
    }
    .foot-panel4 li {
        margin: 15px 5px 0px;
    }
    .copyright {
        margin: 3px 0px 10px;
    }
    
}


