* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.navbar {
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;

}


.nav-logo {
    height: 50px;
    width: 100px;
}

.logo {
    display: block;
    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 black;
}

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

}

.add-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: palevioletred;
    height: 40px;
    width: 620px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border: none;

}

.search-select {
    background-color: #f3f3f3;
    width: 50px;
    text-align: center;
    border-radius: 4px;
}

.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: #febd68;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #0f1111;
}

.nav-search:hover {
    border: 2px solid orange;
}

/* box4 */

span {
    font-size: 0.7rem;
}

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

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

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


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

.panel-option p {
    display: inline;
    margin-left: 15px;

}

.panel-option {
    /* width: 80%; */
    font-size: 0.85rem;

}

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




.hero-section {
    background-image: url(hero_image.jpg);
    background-size: cover;
    height: 300px;
    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: 25px;
}

.hero-msg a {
    color: #007185;


}

.shop-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #e2e7e6;

}

.box {
    /* border: 2px solid black; */
    height: 320px;
    width: 22%;
    background-color: white;
    padding: 12px 0px 15px;
    margin: 15px;
    display: flex;
}

.box-image {
    height: 300px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.box-image1{
    width: 100%;
}

.box-image1 img {
    width: 100%;
    height: 240px;
    margin-left: -5px;
}

.box-image2{
    width: 100%;
}

.box-image2 img {
    width: 100%;
    height: 250px;
}

.box-image3{
    width: 100%;
}

.box-image3 img {
    width: 100%;
    height: 250px;
}

.box-image4{
    width: 100%;
}

.box-image4 img {
    width: 100%;
    height: 246px;
}

.box-image5{
    width: 100%;
}

.box-image5 img {
    width: 100%;
    height: 246px;
}

.box-image6{
    width: 100%;
}

.box-image6 img {
    width: 100%;
    height: 250px;
}
.box-image7{
    width: 100%;
}

.box-image7 img {
    width: 100%;
    height: 250px;
}

.box-image8{
    width: 100%;
}

.box-image8 img {
    width: 100%;
    height: 250px;
}



.box-content {
    font-size: 0.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
    width: 100%;
}

.box-content p {
    color: #007185;
}

/* footer */

.foot-penal1 {
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-penal2 {
    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: #DDDDDD;
}

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

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

.foot-penal4 {
    background-color: #0f1111;
    color: white;
    height: 60px;
    text-align: center;
    font-size: 0.7rem;


}

.page {
    padding-top: 15px;
}

.copyright {
    padding-top: 5px
}

button {
    height: 25px;
    width: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #222f3d;
    margin-left: 25px;
    color: white;
    padding: 2px;

}

button:hover {
    background-color: lightslategray;
    color: white;
}

h2 {
    width: 100px;
    height: 40px;
    /* margin-left: 50px; */
    justify-content: center;
    align-items: center;
    display: flex;
}

/* ///////////////////////////////// */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-search {
        width: 250px;
    }

    .panel-option {
        width: 65%;
    }

    .hero-msg {
        width: 150%;
        font-size: x-small;
    }

    .box-image1 img {
        width: 100%;
        height: 240px;
        margin-left: -6px;
    }

    .box-image2 img {
        width: 100%;
        height: 240px;
        margin-left: -6px
    }

    .box-image3 img {
        width: 100%;
        height: 240px;
        margin-left: -6px
    }

    .box-image4 img {
        width: 100%;
        height: 240px;
        margin-left: -6px
    }

    .box-image5 img {
        width: 100%;
        height: 240px;
        margin-left: -6p
    }

    .box-image6 img {
        width: 100%;
        height: 240px;
        margin-left: -6p
    }

    .box-image7 img {
        width: 100%;
        height: 240px;
        margin-left: -6p
    }

    .box-image8 img {
        width: 100%;
        height: 240px;
        margin-left: -6p
    }

    .box {
        width: 26%;
        display: flex;
    }

    ul a {
        font-size: 0.65rem;
        margin-top: 11px;

    }

    #panel-one {
        display: none;
    }
}

@media (min-width: 425px) and (max-width: 767px) {
    .box-image1 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image2 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image3 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image4 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image5 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image6 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image7 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

    .box-image8 img {
        width: 135px;
        height: 240px;
        margin-left: -9px;
    }

}

@media (min-width: 425px) and (max-width: 767px) {
    .nav-search {
        width: 250px;
    }

    .panel-option {
        width: 65%;
    }

    .nav-logo {
        height: 50px;
        width: 17%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        height: 70%;
        width: 80%;

    }

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

    .hero-msg {
        width: 180%;
        font-size: xx-small;
    }

    .box-image1 img {
        width: 100%;
        height: 245px;
    }

    .box-image2 img {
        width: 100%;
        height: 245px;
    }

    .box-image3 img {
        width: 100%;
        height: 245px;
    }

    .box-image4 img {
        width: 100%;
        height: 245px;
    }

    .box-image5 img {
        width: 100%;
        height: 245px;
    }

    .box-image6 img {
        width: 100%;
        height: 245px;
    }

    .box-image7 img {
        width: 100%;
        height: 245px;
    }

    .box-image8 img {
        width: 100%;
        height: 245px;
    }

    .box {
        width: 80%;
        min-width: 250px;
    }

    ul a {
        font-size: 0.65rem;
        margin-top: 11px;

    }

    .nav-search {
        height: 40px;
        width: 50%;
    }

    .search-input {
        width: 100%;
    }

    .panel-deals {
        font-size: 0.9rem;
        font-weight: 700;
        display: none;
    }

    .panel-option {
        display: none;
    }

    .nav-address {
        display: none;
    }

    .nav-singin {
        display: none;
    }

    .nav-return {
        display: none;
    }

    #panel-all {
        display: none;
    }

    .hero-section {
        height: 170px;
    }

    .foot-penal2 {
        background-color: #222f3d;
        color: white;
        height: 1000px;
        display: grid;
        justify-content: space-evenly;
    }

    h2 {
        display: ruby-text;
    }
}

@media (min-width: 375px) and (max-width: 424px) {
    .nav-search {
        width: 250px;
    }

    .panel-option {
        width: 65%;
    }

    .nav-logo {
        height: 50px;
        width: 17%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        height: 60%;
        width: 100%;

    }

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

    .hero-msg {
        width: 180%;
        font-size: xx-small;
    }

    .box-image1 img {
        width: 100%;
        height: 245px;
    }

    .box-image2 img {
        width: 100%;
        height: 245px;
    }

    .box-image3 img {
        width: 100%;
        height: 245px;
    }

    .box-image4 img {
        width: 100%;
        height: 245px;
    }

    .box-image5 img {
        width: 100%;
        height: 245px;
    }

    .box-image6 img {
        width: 100%;
        height: 245px;
    }

    .box-image7 img {
        width: 100%;
        height: 245px;
    }

    .box-image8 img {
        width: 100%;
        height: 245px;
    }

    .box {
        width: 80%;
        min-width: 250px;
    }

    ul a {
        font-size: 0.65rem;
        margin-top: 11px;

    }

    .nav-search {
        height: 40px;
        width: 50%;
    }

    .search-input {
        width: 100%;
    }

    .panel-deals {
        font-size: 0.9rem;
        font-weight: 700;
        display: none;
    }

    .panel-option {
        display: none;
    }

    .nav-address {
        display: none;
    }

    .nav-singin {
        display: none;
    }

    .nav-return {
        display: none;
    }

    #panel-all {
        display: none;
    }

    .hero-section {
        height: 170px;
    }

    .foot-penal2 {
        background-color: #222f3d;
        color: white;
        height: 1000px;
        display: grid;
        justify-content: space-evenly;
    }

    h2 {
        display: ruby-text;
    }
}

@media (min-width: 320px) and (max-width: 374px){
        .nav-search {
        width: 250px;
    }

    .panel-option {
        width: 65%;
    }

    .nav-logo {
        height: 50px;
        width: 17%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        height: 60%;
        width: 100%;

    }

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

    .hero-msg {
        width: 180%;
        font-size: xx-small;
    }

    .box-image1 img {
        width: 100%;
        height: 245px;
    }

    .box-image2 img {
        width: 100%;
        height: 245px;
    }

    .box-image3 img {
        width: 100%;
        height: 245px;
    }

    .box-image4 img {
        width: 100%;
        height: 245px;
    }

    .box-image5 img {
        width: 100%;
        height: 245px;
    }

    .box-image6 img {
        width: 100%;
        height: 245px;
    }

    .box-image7 img {
        width: 100%;
        height: 245px;
    }

    .box-image8 img {
        width: 100%;
        height: 245px;
    }

    .box {
        width: 80%;
        min-width: 250px;
    }

    ul a {
        font-size: 0.65rem;
        margin-top: 11px;

    }

    .nav-search {
        height: 40px;
        width: 50%;
    }

    .search-input {
        width: 100%;
    }

    .panel-deals {
        font-size: 0.9rem;
        font-weight: 700;
        display: none;
    }

    .panel-option {
        display: none;
    }

    .nav-address {
        display: none;
    }

    .nav-singin {
        display: none;
    }

    .nav-return {
        display: none;
    }

    #panel-all {
        display: none;
    }

    .hero-section {
        height: 170px;
    }

    .foot-penal2 {
        background-color: #222f3d;
        color: white;
        height: 1000px;
        display: grid;
        justify-content: space-evenly;
    }

    h2 {
        display: ruby-text;
    }
}