*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgba(0, 0, 0, 0.6);
}
main{
    padding: 50px 75px;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: whitesmoke;
    z-index: 10;
}
header ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    list-style-type: none;
    gap: 25px;
    width: 100%;
    padding: 15px 50px;
}
.web-name{
    position: absolute;
    /* top: 15px; */
    top: 20px;
    left: 50px;
    font-weight: 700;
    font-size: 20px;
}
.search-container{
    position: relative;
    top: 0;
    left: 0;
}
.search-details{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.search-input{
    padding: 0 0 0 8px;
    width: 280px;
    height: 40px;
    border-radius: 30px;
    border: 1px solid gray;
}
.search-btn{
    position: relative;
    top: 8px;
    right: 40px;
    border: none;
    background-color: transparent;
}
.search-btn img{
    width: 25px;
    height: 25px;
}
/* ====== Hero Section ====== */
.hero-section{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80%;
    margin: 75px 0 0 0;
}
h1{
    font-weight: 900;
    font-size: 70px;
}
.hero-section img{
    width: 350px;
}
/* ====== Products Section ====== */
.products-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 100px 0 0 0;
}
.prod-title{
    font-weight: 900;
    font-size: 30px;
}
.products{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 25px 0 0 0;
}
.product{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    height: 335px;
    width: 200px;
    overflow-y: none;
    border: 1px solid gray;
    padding: 4px 8px;
    box-shadow: 0 0 2px gray;
    transition: 0.25s ease-in-out;
}
.product:hover{
    box-shadow: 0 0 5px gray;
}
.product img{
    width: 100%;
    border-bottom: 1px solid gray;
    
}
.name{
    font-weight: 500;
    font-size: 16px;
    /* height: 38px; */
    /* overflow-y: hidden; */
}
.price{
    font-weight: 900;
    font-size: 16px;
}
.buy-btn{
    width: 100%;
    padding: 4px 0;
}
/* ====== Footer Section ====== */
footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: whitesmoke;
    padding: 35px 25px;
}
footer a{
    text-decoration: none;
    font-weight: bolder;
}





@media(max-width: 750px) {
    main{
        padding: 15px;
    }
}
@media(max-width: 480px) {
    header ul{
        padding: 15px 5px;
    }
    .web-name{
        font-size: 16px;
        left: 8px;
    }
    .search-input{
        padding: 0 0 0 8px;
        width: 220px;
        height: 35px;
    }
    .hero-section{
        flex-direction: column;
        gap: 15px;
    }
    h1{
        font-size: 35px;
        margin: 25px 0 0 0;
    }
    .hero-section img{
        margin-top: 50px;
    }
    main{
        padding: 15px;
    }
    .products{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
    .product {
        width: 100%;
    }
}