* {
    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;
}

/**box 2**/

.add-first {
    color: #cccccc;
    font-size: 0.9rem;
    margin-left: 20px;
}

.add-second {
    font-size: 1rem;
    margin-left: 2px;
}

.address-icon {
    display: flex;
}

/** box 3 **/

.nav-search {
    display: flex;
    width: 650px;
    height: 35px;
    border: 2px solid transparent;
    border-radius: 5px;
    justify-content: space-evenly;
}

.search-select {
    background-color: #f3f3f3;
    width: 45px;
    text-align: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    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.4rem;
    background-color: #febd68;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: black;
}

.nav-search:hover {
    border-color: orange;
}

/** box 4 **/

span {
    font-size: 0.8rem;
}

.nav-second {
    font-size: 0.9rem;
    font-weight: 700;
}

/** box 5 **/

.nav-cart i {
    font-size: 30px;
}

.nav-cart {
    font-size: 0.9rem;
    font-weight: 700;
}

/** panel **/

.panel {
    height: 40px;
    background-color: #222f3d;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.panel-ops p {
    display: inline;
    margin-left: 20px;
}

.panel-ops {
    width: 70%;
    font-size: 1rem;
}

.panel-deals {
    font-size: 1rem;
    font-weight: 700;
}

/** hero section **/

.hero-section {
    background-image: url(hero_image.jpg);
    background-size: cover;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.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;
}

/** shop section **/

.shop-section {
    display: flex;
    flex-wrap: wrap;
    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;
}

/** footer **/

footer {
    margin-top: 10px;
}

.footer-panel1 {
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.footer-panel2 {
    background-color: #222f3d;
    color: white;
    height: 150px;
    display: flex;
    justify-content: space-evenly;
}

ul {
    margin-top: 25px;
}

ul a {
    display: block;
    font-size: 0.9rem;
    margin-top: 15px;
    color: #dddddd;
}

.footer-panel3 {
    background-color: #222f3d;
    color: white;
    border-top: 1px solid white;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    background-image: url(amazon_logo.png);
    background-size: cover;
    height: 50px;
    width: 100px;
}

.footer-panel4 {
    background-color: #0f1111;
    color: white;
    height: 110px;
    font-size: 0.77rem;
    text-align: center;
}

.pages {
    padding-top: 25px;
}

.copyright {
    padding-top: 5px;
}

.arc-emoji {
        width: 2em;
        height: 2em;
        object-fit: contain;
        vertical-align: -0.7em;
    }

.arc {
    font-size: 1.5rem;
}

/* Mobile */
@media (max-width: 600px) {

    .navbar {
        height: auto;
        min-height: 60px;
        flex-wrap: wrap;
        padding: 5px;
        gap: 5px;
    }

    .nav-logo {
        width: 85px;
        height: 40px;
    }

    .logo {
        height: 40px;
    }

    .nav-address,
    .nav-signin,
    .nav-returns {
        font-size: 0.60rem;
    }

    .add-first,
    .nav-second {
        font-size: 0.60rem;
    }

    .add-second,
    .nav-cart {
        font-size: 0.5rem;
    }

    .nav-cart i {
        font-size: 17px;
    }

    .nav-search {
        width: 100%;
        height: 35px;
        order: 5;
    }

    .search-input {
        font-size: 0.8rem;
    }

    .panel {
        height: 35px;
        font-size: 0.7rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .panel-ops {
        width: auto;
        font-size: 0.7rem;
    }

    .panel-ops p {
        margin-left: 8px;
    }

    .panel-deals {
        font-size: 0.7rem;
    }

    .hero-section {
        height: 165px;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #e2e7e6;
    }

    .hero-msg {
        width: 95%;
        height: auto;
        padding: 6px;
        font-size: 0.65rem;
        text-align: center;
        margin-bottom: 35px;
    }

    .shop-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
    }

    .box {
        width: auto;
        height: 260px;
        margin: 0;
        padding: 8px;
    }

    .box-img {
        height: 170px;
    }

    .box-content {
        margin: 0;
    }

    .box-content h2 {
        font-size: 0.9rem;
    }

    .box-content p {
        font-size: 0.75rem;
    }

    .footer-panel2 {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    ul {
        margin: 15px;
    }

    ul a {
        font-size: 0.7rem;
        margin-top: 8px;
    }
}