/* It's about Amazon Project. */

* {
    margin: 0;
    font-family: Arial;
    border: border-box;
}

.navbar {
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.nav-logo {
    height: 50px;
    width: 100px;
}

.logo {
    background-image: url("Amazon_logo.png");
    background-size: cover;
    height: 50px;
    width: 100%;   
}

.border {
    border: 1.5px solid transparent;
}

.border:hover {
    border: 1.5px solid white;
}

/* Box2 Address one*/
.add-first {
    color: #e9e8e8;
    font-size: 0.85rem;
    margin-left: 14px;
}

.add-second {
    font-size: 1rem;
    margin-left: 2px;
}

.add-icon {
    display: flex;
    align-items: center;
}

/* Box3 Search box */
.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-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: none;
}

.search-input {
    width: 100%;
    font-size: 1rem;
    border: none;
    padding-left: 5px;
}

.search-icon {
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background-color: #febd68;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
}

.nav-search:hover {
    border: 2px solid orange;
}

/* Box4 Login box*/
span {
    font-size: 0.7rem;
}

.nav-second {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Box6 Cart one*/
.nav-cart i { /*Here we work on i in the nav-cart class.*/
    font-size: 30px;
}

.nav-cart {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Panel, The 2nd row below header*/
.panel {
    height: 40px;
    background-color: #222f3d;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.panel-all i {
    margin-left: -18px;
}

.panel-ops p {  /* The p is for paragrphas to deal with.*/
    display: inline;
    margin-left: 15px;
}

.panel-ops {
    width: 70%;
    font-size: 0.85rem;
}

.panel-deals {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Hero section.Before Main Section, Before body */
.hero-section {
    background-image: url("hero_image.webp");
    background-size: cover;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border: 1px solid rgb(201, 197, 204);
}

.hero-msg {
    background-color: white;
    color: black;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    width: 80%;
    margin-bottom: 25px;
}

.hero-msg a {
    color: #007185;
}

/* Shop Section, Main Section, Body */
.shop-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: rgb(205, 205, 209);
}

.box {
    height: 370px;
    width: 23%;
    background-color: white;
    padding: 20px 0px 15px;
    margin-top: 15px;
    margin-bottom: 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 */
footer {
    margin-top: 15px;
}

/* First row in footer. */
.foot-panel1 { 
    background-color: #37375a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}

/* 2nd row in footer. */
.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: #f9f8f8;
}

/* 3rd row in footer. */
.foot-panel3 {
    background-color: #222f3d;
    color: white;
    border-top: 0.5px solid #dddddd;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    background-image: url("Amazon_logo.png");
    background-size: cover;
    height: 50px;
    width: 100px;
}

/* 4th row in footer. */
.foot-panel4 {
    background-color: #0f1111;
    color: white;
    height: 70px;
    font-size: 0.7rem;
    text-align: center;
}

.pages {
    padding-top: 25px;
}

.pages a {
    margin-right: 10px;
}

.copy-right {
    padding-top: 5px;
}