* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: space-between;
}

.logo img {
    position: relative;
    width: 3rem;
    margin: 0 0 0 3rem;
}

/* span {
    color: #ff6347;
} */

.menu ul{
    display: flex;
}

.menu li {
    list-style: none;
    padding: 1rem 2rem;

}

.menu li a {
    text-decoration: none;
    color: #545454;
    font: 1.0em sans-serif;
    font-weight: bold;
}

.search {
    margin: .4rem 0 0 0;
}

.search input {
    width: 20%;
    position: absolute;
    padding: .5rem;
    outline: none;
    border: 1px solid #545454;
    border-radius: 1.0rem;
}

.search i {
    position: relative;
    margin: 0 0 0 15rem;
    padding: .6rem 0 0 0;
}

.icon {
    margin: .4rem 0 0 0;
    width: 15%;
    position: relative;
}

.icon i {
    padding: .5rem 0 0 3rem;
}

/* ------------------------Content-Details---------------------- */

.content {
    width: 100%;
    position: relative;
    display: flex;
    background-color: #20b2aa;
    padding: 2rem 0 0 12rem;
}

.sub-content h1 {
    width: 70%;
    margin: 3rem 0 1rem 3rem;
    text-shadow: 0 0 10px #454545, 0 0 20px #454545, 0 0 40px #454545, 0 0 0px #454545;
    color: #f0f8ff;
}

.sub-content button {
    padding: .7rem;
    outline: none;
    border: none;
    border-radius: .5rem;
    color: #20b2aa;
    margin: 0 0 0 3rem;
    cursor: pointer;
    font-size: 1.0rem;
    /* box-shadow: 0 0 20px #f0f8ff; */
}

.sub-content button:hover {
    transition: all 1s;
    color: #f0f8ff;
    background-color: #20b2aa;
    border: 1px solid #999;
}

.content p {
    width: 80%;
    margin: 0rem 1rem 1rem 3rem;
    color: #add8e6;
    font: 1.2rem Georgia, 'Times New Roman', Times, serif;
}

.content-image {
    float: left;
    position: relative;
    padding: 20px;
}

.sale-image {
    width: 100%;
    height: 100%;
}

.sale-content {
    position: absolute;
    background: #ff0000;
    color: white;
    padding: 10px 20px;
    border-radius: 0 0 0 50px;
    font-weight: bold;
    margin: 0 0 0 14.9rem;
}

.content-image img {
    width: 20rem;
    border-radius: .5rem 0 .5rem .5rem;
    margin: 0 0 2rem 0;
}

/* -------------------PRODUCT-CARD--------------- */

.head {
    position: relative;
    display: flex;
    justify-content: space-around;
    color: black;
}

.head h3 {
    margin: 1.2rem 0 0 0;
}

.link {
    margin: 1.2rem 0 0 0;
}

.link a {
    color: black;
    align-items: center;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 20px;
}

.product-card {
    background-color: #f0f8ff3f;
    border: 1px solid #dddddd79;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.offer {
    position: absolute;
    background: #ff0000;
    padding: 5px;
    margin: -.6rem 0 0 -.7rem;
    border-radius: 10px;
    color: #f0f8ff;
}

.product-card img {
    width: 18rem;
    height: 13rem;
    border-radius: .5rem;
}

.price {
    margin: 10px;
}

.old-price {
    color: #888;
    font-size: 0.9em;
    margin-left: 5px;
}

.price span {
    color: #888;
    text-decoration: line-through;
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.buttons button {
    flex: 1;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #9999;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px #9999;
}

.buttons button:hover {
    background-color: #99999938;
}

/* ------------------------Shoping Category------------------------- */

section {
    width: 100%;
    height: 100%;
    background-color: #f0f8ff;
    margin: 2rem 0 0 0;
}

section h1 {
    text-align: center;
    font: 1.5rem Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    padding: 2.5rem 1rem 1rem 1rem;
}

.category {
    position: relative;
    display: grid;
    overflow: auto;
    scroll-behavior: smooth;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 20px;
}

.sub-category {
    margin: 10px 10px 50px 12px;
    background-color: #fff;
    border-radius: .6rem;
    box-shadow: 0 0 10px #9999;
    padding: 15px;
}

img {
    border-radius: .5rem;
    width: 20rem;
    height: 16rem;
    padding: 15px;
}

.sub-category h3 {
    font: 1.2rem Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    text-align: center;
    
}

.sub-category button {
    outline: none;
    border: none;
    background: none;
    margin: 0 3.0rem 0 3.0rem;
    cursor: pointer;
    color: #999;
    text-align: center;
}

/* .link1 {
    width: 200px;
    font: 2.2rem Georgia, 'Times New Roman', Times, serif;
    margin: 5rem 0 0 0;
} */

/* --------------------News-Letter-------------------- */

.newsletter {
    width: 50%;
    background-color: #20b2ab27;
    border-radius: .5rem;
    margin: 3rem 0 3rem 22em;
}

.newsletter h2 {
    color: #008080;
    padding: 1.5rem 0 1rem 0;
    text-align: center;
}

.newsletter p {
    color: #20b2abfd;
    text-align: center;
    align-items: center;
    padding: 0 0 1rem 8rem;
}

.subscribe input {
    width: 50%;
    padding: .5rem;
    outline: none;
    border: 1px solid #9999;
    border-radius: .3rem;
    margin: 0 0 2rem 8rem;
}

.subscribe button {
    padding: .5rem;
    outline: none;
    border: none;
    border-radius: .3rem;
    color: #f0f8ff;
    background-color: #20b2ab;
    margin: 0 0 1rem 0;
    box-shadow: 0 0 10px #999;
    cursor: pointer;
}

/* -----------------------------support---------------------- */

.support {
    position: relative;
    display: flex;
}

.shipping {
    /* margin: 2rem 0 0 0; */
    width: 400px;
    margin: 5rem 0 0 2.2rem;
}

.shipping i {
    width: 50px;
    margin: 1rem 0 1rem 11rem;
    padding: 1rem;
    border-radius: 50%;
    background-color: #20b2abfd;
    color: aliceblue;
}

.shipping h3 {
    font: 1.5rem Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    text-align: center;
    margin: 1rem;
}

.shipping p {
    font: 1.0rem Georgia, 'Times New Roman', Times, serif;
    margin: 1rem 0 1.5rem 6rem;
    position: relative;
    text-align: center;
}

/* ----------------------------footer--------------------------- */

footer {
    position: relative;
    display: flex;
    margin: 3rem 0 0rem 0;
}

.sub-footer {
    width: 25%;
    background: #f0f8ff;
    padding: 1rem 0 3rem 0;
}

.sub-footer h1 {
    color: #20b2abfd;
    margin: 1rem 0 0 2rem;
}

.sub-footer p {
    margin: 1rem 1rem 0 2rem;
}

.icon1 {
    display: flex;
}

.icon1 i {
    margin: .5rem .5rem 1rem .5rem;
    color: #545454;
}

.sub-footer ul li {
    list-style-type: none;
    padding: 1.0rem 0 0 2rem;
    font-weight: bold;
}

.sub-footer ul li a {
    text-decoration: none;
    color: #000;
}

.sub-footer i {
    margin: .5rem .5rem .5rem 2.2rem;
    color: #545454;
}

.sub-footer p {
    margin: .5rem .5rem .5rem 2.2rem;
}

/* -------------------footer End------------------ */

.footer-end{
    position: relative;
    display: flex;
    width: 100%;
    height: 4rem;
    background-color: #f0f8ff;
    padding: 0 0 0 30rem;
    border: 1px solid #8888;
    color: #545454;
}
.footer-end i,p{
    margin: 1.5rem .0rem 1.5rem .5rem ;
    display: flex;
}