/*Global reset*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*font style of the body*/
body {
  font-style: sans-serif;
  line-height: 1.4;
}

.content-div {
  border: 4px solid black; /*width,style,color*/
  width: 1200px;
  margin: 50px auto;
}

.main-header {
  text-align: center;
  font-size: 22px;
  text-transform: uppercase;
  background-color: rgb(246, 244, 244);
  padding: 15px;
}

.navG {
  padding: 20px 0;
}

.container {
  width: 820px;
  /* margin-left: auto;
  margin-right: auto; */
  margin: 50px auto;
}

/* price*/
.price {
  font-size: 24px;
  display: inline-block;
  top: -20px;
}

/*shipping*/
.shipping {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  color: #777;
  margin-bottom: 20px;
  margin-top: 10px;
  float: right;
  display: inline-block;
  top: -18px;
}

/* More information link*/
.more-info:link,
.more-info:visited {
  color: black;
}

.more-info:hover,
.more-info:active {
  text-decoration: none;
}

/*Product details*/
.product {
  margin-top: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.detail-list {
  list-style: square;
  padding: 20px;
}

/*Add to cart button*/
.add {
  background-color: black;
  font-size: 20px;
  text-transform: uppercase;
  color: white;
  /* border: none; */
  text-align: center;
  width: 100%;
  height: 60px;
  /* height: 40px; */
  padding: 0;
  border: 4px solid black;
}

.add:hover {
  background-color: white;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border: 4px solid black;
  cursor: pointer;
}

/* SALE element*/
h2 {
  position: relative;
}

h2::before {
  content: "SALE";
  background-color: rgb(225, 8, 8);
  color: white;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 16px;
  padding: 7px 15px;
  position: absolute;
  text-transform: uppercase;
  display: inline-block;
  top: -20px;
  left: -38px;
}

/* The smaller boxes*/

.box {
  margin-top: 10px;
}

.first {
  background-color: black;
  padding-left: 0;
  width: 22px;
  height: 22px;
  color: black;
  margin: 0px 2px;
  margin-top: 14px;
  margin-left: 0px;
  display: inline-block;
}

.sec {
  background-color: blue;
  padding: 0;
  width: 22px;
  height: 22px;
  color: blue;
  margin: 0px 2px;
  margin-top: 14px;
  display: inline-block;
}

.third {
  background-color: red;
  padding: 0;
  width: 22px;
  height: 22px;
  color: red;
  margin: 0px 2px;
  margin-top: 14px;
  display: inline-block;
}

.fourth {
  background-color: yellow;
  padding: 0;
  width: 22px;
  height: 22px;
  color: yellow;
  margin: 0px 2px;
  margin-top: 14px;
  display: inline-block;
}

.fifth {
  background-color: green;
  padding: 0;
  width: 22px;
  height: 22px;
  color: green;
  margin: 0px 2px;
  margin-top: 14px;
  display: inline-block;
}

.sixth {
  background-color: brown;
  padding: 0;
  width: 22px;
  height: 22px;
  color: brown;
  margin: 0px 2px;
  margin-top: 14px;
  display: inline-block;
}

/* Float challenges */
.container-img {
  float: left;
  width: 330px;
}
.containerPriceColor {
  margin-top: 16px;
  width: 370px;
  float: left;
  padding-left: 100px;
  padding-right: 20px;
}

.containerProdDetails {
  float: right;
  width: 370px;
  padding: 0 50px;
}

.clear-fix::after {
  clear: both;
  content: "";
  display: block;
  margin: 0px;
}
