* {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2 {
  background-color: #fafafa;
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  padding: 12px 0;
}

h3 {
  font-size: 24px;
}

p {
  margin-bottom: 10px;
}


button {
  border-style: none;
  cursor: pointer;

  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  background-color: black;
  border-top: 5px solid black;
  color: white;

  width: 100%;
  padding: 20px 0;
}

button:hover {
  background-color: white;
  color: black;
}

ul {
  list-style: square;
}

li {
  margin-bottom: 10px;
  margin-left: 20px;
}

li:last-child {
  margin-bottom: 0;
}

.container {
  width: 825px;
  margin: 50px auto;
  border: 5px solid black;
  position: relative;
  display: grid;
  grid-template-rows: repeat(3, auto);
}

.container::after {
  content: "sale";
  background-color: red;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  display: inline-block;
  position: absolute;
  top: -20px;
  left: -45px;
}

.more-info:link,
.more-info:visited {
  color: black;
  margin-bottom: 20px;
}

.more-info:hover,
.more-info:active {
  text-decoration: none;
}

.free-shipping {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  color: #444;
  justify-self: end;
  margin: 0;
}

.main-row {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  align-items: center;
  justify-content: space-between;
}

.price-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
}

.product-details-header {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-details-container {
  padding-right: 10px;
}

.container-colors {
  display: flex;
  margin: 20px 0;
}

.rectangle {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.color-black {
  background-color: black;
}

.color-blue {
  background-color: blue;
}

.color-red {
  background-color: red;
}

.color-yellow {
  background-color: yellow;
}

.color-green {
  background-color: green;
}

.color-brown {
  background-color: brown;
}

/* .clearfix::after {
  clear: both;
  content: '';
  display: block;
} */