/* .flex {
  display: flex;
  flex-wrap: wrap;
} */
.mainContainer {
  width: 900px;
  margin: 0 auto;
}
#banner {
  width: 100%;
  height: 500px;
  position: relative;
}
#banner img {
  width: 100%;
  height: 500px;
}
#banner p:nth-child(1) {
  /* 622 */
  top: 196px;
  right: calc(50% - 331px);
  /* right: 441px; */
  position: absolute;
  font-size: 43px;
  color: #ffffff;
}
#banner p {
  position: absolute;
  font-size: 30px;
  right: calc(50% - 475px);
  /* right: 284px; */
  top: 284px;
  color: #ffffff;
}
#banner img:nth-child(2) {
  position: absolute;
  right: calc(50% - 396px);
  top: 196px;
  width: 45px;
  height: 45px;
}
#secondnav {
  /* box-sizing: border-box; */
  height: 60px;
  margin-top: 57px;
  /* padding-bottom: 35px; */
  /* margin-bottom: 35px; */
  /* background-color: skyblue; */
  border: 1px solid transparent;
  border-bottom-color: #c4c4c4;
}

#secondnav li {
  float: left;
}
#secondnav li a{
  display: block;
  width: 100px;
  height: 60px;
  border: 1px solid transparent;
  font-size: 18px;
  text-align: center;
  line-height: 60px;
  margin-right: 20px;
}
#secondnav li a.active {
  border-bottom-color: #d90000;
}
#goods .goodlist{
  box-sizing: border-box;
  padding-left: 20px;
  margin-top: 20px;
  height: 1200px;
  /* background-color: salmon; */
}
#goods .goodlist li {
  box-sizing: border-box;
  position: relative;
  width: 400px;
  height: 530px;
  float: left;
  margin-left: 20px;
  margin-bottom: 20px;
  /* margin: 0 auto; */
}
#goods .goodlist li p:nth-child(2) {
  position: absolute;
  font-size: 14px;
  left: 170px;
  bottom: 84px;
}
#goods .goodlist li p:nth-child(3) {
  position: absolute;
  font-size: 15px;
  color:#b1b1b1;
  bottom: 62px;
  left: 134px;
}