@charset "utf-8";
/* CSS Document */
* {
  box-sizing: border-box;
}
 .shopping-cart {
  width: 800px;
  height: 900px;
  margin: 80px auto;
  background: #FFFFFF;
  box-shadow: 1px 2px 3px 0px rgba(0,0,0,0.10);
  border-radius: 6px;
  padding: 10px 10px 10px 10px;
 
  display: flex;
  flex-direction: column;
}

.item {
  padding: 20px 30px;
  height: auto;
  display: flex;
}
 
.item:nth-child(3) {
  border-top:  1px solid #491000;
  border-bottom:  1px solid #491000;
}

.is-active {
  animation-name: animate;
  animation-duration: .8s;
  animation-iteration-count: 1;
  animation-timing-function: steps(28);
  animation-fill-mode: forwards;
}
 
@keyframes animate {
  0%   { background-position: left;  }
  50%  { background-position: right; }
  100% { background-position: right; }
}
.image {
  margin-right: 50px;
}
 
/*Let’s add some basic style to  product name and description.*/
.description {
  padding-top: 10px;
  margin-right: 60px;
  width: 115px;
}
 
.description span {
  display: block;
  font-size: 14px;
  color: #883E24;
  font-weight: 400;
}
 
.description span:first-child {
  margin-bottom: 5px;
}
.description span:last-child {
  font-weight: 300;
  margin-top: 8px;
  color: #883E24;
}
.quantity {
  padding-top: 20px;
  margin-right: 60px;
}
.quantity input {
  -webkit-appearance: none;
  border: none;
  width: 32px;
  font-size: 16px;
  color: #491000;
  font-weight: 300;
}
button:focus,
input:focus {
  outline:0;
}
.total_price {
  width: 83px;
  padding-top: 27px;
float: right;
  text-align: center;
  color: #491000;
  font-weight: 300;
}
@media (max-width: 768px) {
  .shopping-cart {
    width: 600px;
    height: auto;
    overflow: hidden;
	  align-content: center;
  }
	.quantity {
		padding: none;
		margin-right: 10px;
		align-content: center; 
	}
  .item {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
	
  .image img {
  }
  .image,
  .quantity,
  .description {
    width: 100%;
    text-align: center;
    margin: 6px 0;
  }
  .buttons {
    margin-right: 20px;
  }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
}
/* Columns */
.left-column {
  width: 65%;
  position: relative;
}
 
.right-column {
  width: 35%;
  margin-top: 60px;
}
/* Left Column */
.left-column img {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
 
.left-column img.active {
  opacity: 1;
}
/* Product Description */
.product-description {
  border-bottom: 1px solid #883E24;
  margin-bottom: 20px;
}
.product-description span {
  font-size: 12px;
  color: #883E24;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}
.product-description h1 {
  font-weight: 300;
  font-size: 52px;
  color: #883E24;
  letter-spacing: -2px;
}
.product-description p {
  font-size: 16px;
  font-weight: 300;
  color:#883E24;
  line-height: 24px;
}
/* Product Description */
.product-description {
  border-bottom: 1px solid #883E24;
  margin-bottom: 20px;
}
.product-description span {
  font-size: 12px;
  color: #883E24;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}
.product-description h1 {
  font-weight: 300;
  font-size: 52px;
  color: #43484D;
  letter-spacing: -2px;
}
.product-description p {
  font-size: 16px;
  font-weight: 300;
  color: #883E24;
  line-height: 24px;
}
/* Product Price */
.product-price {
  display: flex;
  align-items: center;
}
 
.product-price span {
  font-size: 26px;
  font-weight: 300;
  color: #883E24;
  margin-right: 20px;
}
 

form {
  margin: 50px 0 0 0;
}
label {
  font: bold 20px Helvetica, sans-serif;
  display: block;
  float: left;
  text-align: right;
  padding: 5px 10px 0 0;
  width: 140px;
}
input[type=text] {
  float: left;
  width: 40px;
  font: bold 20px Helvetica, sans-serif;
  padding: 3px 0 0 0;
  text-align: center;
}
form div {
  overflow: hidden;
  margin: 0 0 5px 0;
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    flex-direction: column;
    margin-top: 60px;
  }
	.shopping-cart{
  width: 400px;
  height: auto;
  margin: 80px auto;
  background: #FFFFFF;
  box-shadow: 1px 2px 3px 0px rgba(0,0,0,0.10);
  border-radius: 6px;
 
  display: flex;
  flex-direction: column;
	}
  .left-column,
  .right-column {
    width: 100%;
  }
 
  .left-column img {
    width: 300px;
    right: 0;
    top: -65px;
    left: initial;
  }
}
 
@media (max-width: 320px) {
  .left-column img {
    width: 220px;
    top: -85px;
  }
.shopping-cart{
  width: 250px;
  height: auto;
  margin: 80px auto;
	}
}