* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
a{
    color: white;
    text-decoration: none;
}

.navbar {
    height: 60px;
    background-color: #0f1111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* navbox1 */
.nav-logo {
    height: 50px;
    width: 100px;
}

.logo {
    background-image: url("./amazon_logo.png");
    background-size: cover;
    height: 50px;
    width: 100%;

}

.border {
    border: 2px solid transparent;
}

.border:hover {
    border: 1.3px solid white;
}

/* navbox2 */
.addr-icon {
    display: flex;
}

.addr-first {
    color: #cccccc;
    font-size: 0.85rem;
    margin-left: 15px;
}

.addr-second {
    font-size: 1rem;
    margin-left: 5px;
}

/* box3 */
.nav-search {
    background-color: orange;
    display: flex;
    justify-content: space-evenly;
    width: 620px;
    height: 40px;
    border-radius: 5px;
}

.nav-search:hover {
    border: 2px solid orange;
}

.search-select {
    background-color: #f3f3f3;
    text-align: center;
    width: 50px;
    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;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: black;
}

/* box4 */
span {
    font-size: 0.7rem;

}

.Account {
    font-size: 0.85rem;
    font-weight: 700;
}

/* box6 */
.nav-cart i {
    font-size: 30px;
}

.nav-cart {
    font-size: 1.85rem;
    font-weight: 700;
}

/* panel  */
.panel {
    height: 40px;
    background-color: #222f3d;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.panel-opts p {
    display: inline;
    margin-left: 15px;
}

.panel-opts {
    width: 70%;
}

.deals {
    font-size: 0.9rem;
    font-weight: 700;
}

/* main  */
.main {
    background-image: url(hero_image.jpg);
    background-size: cover;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.main-msg {
    background-color: white;
    color: black;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    width: 80%;
    margin-bottom: 30px;
}

.main-msg a {
    color: #007185;
}

/* shop */
.shop {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #e2e7e6;
}

.box {
    height: 400px;
    width: 23%;
    background-color: white;
    padding: 20px 0px 15px;
    margin-top: 15px;
}

.boximg {
    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 {
    margin-top: 15px;
}

.foot-box1 {
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}
.foot-box1 button {
    background-color: #37475a;
    color: white;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 10px 20px;
}

.foot-box1 button:hover {
    background-color: #485769;
}
.foot-box2 {
    background-color: #222f3d;
    color: white;
    height: 350px;
    display: flex;
    justify-content: space-evenly;
}

ul {
    margin-top: 25px;

}

.foot-box2 p {
    font-weight: 700;
}

ul a {
    display: block;
    color: #dddddd;
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 15px;

}

.foot-box2 ul a:hover {
    text-decoration: underline;
}

.foot-box3 {
    background-color: #222f3d;
    color: white;
    border-top: 0.5px 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;

}

.foot-box4 {
    background-color: #0f1111;
    color: white;
    height: 100px;
    font-size: 0.7rem;
    text-align: center;
    /* display: flex;
    justify-content: ; */
}

.privacy {
    padding-top: 25px;
}

.copyright {
    padding-top: 5px;
}
.foot-box4 a:hover {
    text-decoration: underline;
}
/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    .nav-search {
        width: 100%;
        margin-top: 10px;
    }
    .nav-logo, .nav-addr, .nav-sign, .nav-icon {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Responsive Panel */
@media (max-width: 768px) {
    .panel {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    .panel-opts {
        display: none;
    }
}

/* Responsive Shop Boxes */
@media (max-width: 768px) {
    .shop {
        flex-direction: column;
        align-items: center;
    }
    .box {
        width: 90%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .box {
        width: 100%;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .foot-box2 {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 20px 0;
    }
    .foot-box2 ul {
        width: 100%;
        margin-bottom: 20px;
    }
    .foot-box3 {
        height: auto;
        padding: 10px;
    }
    .foot-box4 {
        height: auto;
        padding: 10px;
    }
}
