* {
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;
}
.whatsapp-link {
color: #ffffff;
font-size: 0.85rem;
}
.nav-logo {
height: 50px;
width: 100px;
}
.logo {
background-image: url("amazon_logo.png");
height: 50px;
width: 100%;
background-size: cover;
}
.border {
border: 1.5px solid transparent;
}
.border:hover {
border: 1.5px solid aliceblue;
}
/** box 2 **/
.add-first {
color: #cccccc;
font-size: 0.85rem;
margin-left: 15px;
}
.add-second {
font-size: 1rem;
margin-left: 3px;
}
.add-icon {
display: flex;
align-items: center;
}
/* box 3 */
.nav-search {
display: flex;
justify-content: space-evenly;
background-color: pink;
width: 620px;
height: 40px;
border-radius: 4.5px;
}
.search-select {
background-color: #f3f3f3;
width: 50px;
text-align: center;
border-top-left-radius: 4.5px;
border-bottom-left-radius: 4.5px;
border: none;
}
.signup-link {
color: white
}
.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: 4.5px;
border-bottom-right-radius: 4.5px;
color: #0f1111;
}
.nav-search:hover {
border: 2px solid #febd68;
}
/* box four */
span {
font-size: 0.7rem;
}
.nav-second {
font-size: 0.85rem;
font-weight: 700;
}
/* box 5 */
.nav-cart i {
font-size: 30px;
}
.nav-cart {
font-size: 0.85rem;
font-weight: 700;
}
/* panel */
.panel {
height: 40px;
background-color: #222f3d;
color: #cccccc;
display: flex;
align-items: center;
justify-content: space-evenly;
}
.panel-ops p {
display: inline;
margin-left: 15px;
}
.panel-ops {
width: 70%;
font-size: 0.85rem;
}
.panel-deals {
font-size: 0.95rem;
font-weight: 700;
}
/* hero section */
.hero-section {
background-image: url("hero_image.jpg");
height: 350px;
background-size: cover;
display: flex;
justify-content: center;
align-items: flex-end;
}
.hero-msg {
background-color: #ffffff;
color: #000;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
width: 98%;
margin-bottom: 25px;
}
.hero-msg a {
color: #007185;
}
/** shopsection**/
.shop-section {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
background-color: #e2e7e6;
}
/**foter**/
.footer {
margin-top: 15px;
}
.foot-panel1 {
background-color: #37475a;
color: white;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.75rem;
}
.foot-panel2 {
background-color: #222f3d;
color: white;
height: 500px;
display: flex;
justify-content: space-evenly;
}
ul {
margin-top: 20px;
}
ul a {
display: block;
font-size: 0.85rem;
margin-top: 10px;
color: #DDDDDD;
}
a:hover {
text-decoration: underline;
}
a {
text-decoration: none;
}
.foot-panel3 {
background-color: #222f3d;
color: white;
border-top: 0.05px solid white;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
}
.logo {
background-image: url("amazon_logo.png");
height: 50px;
width: 100px;
background-size: cover;
}
.aboutus-link {
color: #fff;
}
.cart-amount {
font-size: 16px;
/* background-color: #febd68; */
position: absolute;
top: -15px;
right: -10px;
color: #fff;
}
.nav-cart {
position: relative;
}
.shop{
display: grid;
grid-template-columns: repeat(4, 223px);
justify-content: center;
align-items: center;
gap: 80px;
margin-bottom: 30px;
}
@media(max-width:1000px){
.shop{
grid-template-columns: repeat(2, 223px);
}
}
@media(max-width:500px){
.shop{
grid-template-columns: repeat(1, 223px);
}
}
.item{
/* border:2px solid #133d35 ; */
background-color: #ffffff;
border-radius:5px ;
margin-top: 30px;
}
.details{
display: flex;
flex-direction: column;
padding: 10px;
gap: 10px;
}
.price-quantity{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.buttons{
display: flex;
flex-direction: row;
gap: 8px;
font-size: 18px;
}
.fa-minus{
color: #febd68;
}
.fa-plus{
color: #37475a;
}
.shop img{
width: 220px;
height: 230px;
}
i{
cursor: pointer;
}
.cart-anchor{
text-decoration: none;
color: #fff;
}
/**
* ! style rules for label and button
**/
.text-center{
text-align: center;
margin-bottom: 20px;
margin-top: 20px;
}
.home-btn{
background-color: #222f3d;
color: white;
border: none;
padding: 6px;
border-radius: 3px;
cursor: pointer;
margin-top: 10px;
}
Comments