You are on page 1of 3

*{

padding: 0;
margin: 0;
box-sizing: border-box;
}
html{
font-size: 16px;
font-family: Arial, Helvetica, sans-serif;
color: #fff;
}
ul{
list-style: none;
}
body{
width: 1160px;
height: 200px;
text-align: center;
display: inline-block;
}
#header{
/* width: 100%; */
height: 200px;
/* margin: 30px 60px; */
background-color:rgb(237, 28, 36);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1;
}
.header-list1{
width: 100%;

/* margin: 0px 60px; */


margin-top: 20px;
margin-right: 60px;
display: inline-block;
}
.header-list1 ul{
float: right;
}
.header-list1 li{
float: left;
margin-right: 15px;
border-right: #ccc solid 1px;
padding-right: 15px;
}

.header-list1 li:last-child{
border: none;
}
.header-list1 a{
color: #fff;
font-size: 14px;
font-weight: 600px;
text-decoration: none;
}
.header-list1 a:hover{
color: #37da39;
}

.header-list2{
display: flex;
height: 50px;
align-items: center;

margin: 0px 180px;


margin-top: 20px;
/* display: inline-block; */
}
.header-list2 .header-list2-icon{
font-size: 35px;
flex-grow: 1;
cursor: pointer;
margin-right: 20px;
}
.header-list2-search{
display: flex;
flex-grow: 6;
width: 60%;
align-items: center;
}
.header-list2-search .search{
font-size: 16px;
width: 100%;
height: 40px;
border-radius: 18px;
margin-right: 10px;
}
.header-list2-search .btn-search{
background-color: red;
color: #fff;
border: none;
}
.header-list2-search .fa-search{
font-size: 24px;
cursor: pointer;
}
.header-list2-cart{
display: flex;
flex-grow: 3;
margin-left: 50px;
align-items: center;
}
.header-list2-cart .fa-shopping-cart{
font-size: 23px;
margin-right: 10px;
cursor: pointer;

}
.header-list2-cart .info-cart {
width: 20px;
height: 20px;
line-height: 20px !important;
background-color: #42b76d;
font-size: 13px;
/* color: #fff; */
border: #fff solid 1px;
border-radius: 50%;
margin-right: 20px;
text-align: center;
color: #fff;

.header-list3{
display: block;
margin: 0px 100px;
border-bottom: #ccc 0.4px solid;
margin-top: 20px;

}
.header-list3 .nav{
display: block;
margin-bottom: 5px;
}
.header-list3 .nav li{
display: inline-block;
position: relative;
/* margin-right: 20px; */
/* border-right: #ccc solid 1px; */
padding: 0 10px;

}
.nav li a{
color: #fff;
font-weight: 500;
text-transform: uppercase;
font-size: 14px;
padding-bottom: 5px;
margin-right: 2px;
font-weight: 500;
text-decoration: none;
}
.nav > li:hover > a {
border-bottom: 2px solid green;
}

You might also like