/*  fonts   */

@media (min-width: 830px) {
  #container {
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128, 0.31);
    background: rgba(255, 255, 255, 0.90);
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
    margin: 5em auto;
    height: 400px;
    width: 800px;
    /*padding: 50px;*/
  }
}

@media (max-width: 829px) {
  #container {
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128, 0.31);
    background: rgba(255, 255, 255, 0.90);
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
    margin: 5em auto;
    height: 650px;
    width: 300px;
    position: relative;
    /*padding: 50px;*/
  }
}

/*  	Product details   */

@media (min-width: 830px) {
  .product-details {
    position: relative;
    text-align: left;
    /*overflow: hidden;*/
    padding: 30px;
    height: 340px;
    float: left;
    width: 50%;
  }
}

@media (max-width: 829px) {
  .product-details {
    position: absolute;
    text-align: left;
    /*overflow: hidden;*/
    padding: 30px;
    height: 340px;
    float: left;
    width: 100%;
    left: 0;
    top: 300px;
  }
}

@media (min-width: 830px) {
  .product-image {
    transition: all 0.3s ease-out;
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 100%;
    float: right;
    width: 50%;
    display: inline-block;
  }
}

@media (max-width: 829px) {
  .product-image {
    transition: all 0.3s ease-out;
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 300px;
    float: right;
    width: 100%;
    display: inline-block;
  }
}

/*  	Product Name  */

#container .product-details h1 {
  font-family: 'Old Standard TT', serif;
  display: inline-block;
  position: relative;
  font-size: 34px;
  color: #344055;
  margin: 0;
}

/* Product Rating   */

/*  The most important information about the product  */

#container .product-details > p {
  font-family: 'Farsan', cursive;
  /*text-align: center;*/
  /*font-size: 20px;*/
  color: #7d7d7d;
  margin-top: 10px;
}

/*  control  */

.control {
  position: absolute;
  /*bottom: 20%;*/
  /*left: 22.8%;*/
  margin: 1%;
}

/*  the Button  */

.btn {
  transform: translateY(0px);
  transition: 0.3s linear;
  background: #0f0f66;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  border: none;
  color: #eee;
  padding: 0;
  margin: 0;
}

.btn:hover {
  transform: translateY(-4px);
  background: rgba(181, 31, 31, 1);
}

.btn span {
  font-family: 'Farsan', cursive;
  transition: transform 0.3s;
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.2em;
  margin: 0;
}

/*  shopping cart icon  */

.btn .price, .shopping-cart {
  background: #333;
  border: 0;
  margin: 0;
  color: white!important;
}

.btn .price {
  transform: translateX(-10%);
  padding-right: 15px;
  color: white;
}

/*  the Icon  */

.btn .shopping-cart {
  transform: translateX(-100%);
  position: absolute;
  background: #333;
  z-index: 1;
  left: 0;
  top: 0;
  color: white;
}

/*  buy  */

.btn .buy {
  z-index: 3;
  font-weight: bolder;
}

.btn:hover .price {
  transform: translateX(-110%);
}

.btn:hover .shopping-cart {
  transform: translateX(0%);
  color: white;
}

/*  product image   */

#container img {
  width: 100%;
  height: 100%;
}

.info {
  background: rgba(27, 26, 26, 0.9);
  font-family: 'Farsan', cursive;
  transition: all 0.3s ease-out;
  transform: translateX(-100%);
  position: absolute;
  line-height: 1.9;
  text-align: left;
  /*font-size: 120%;*/
  cursor: no-drop;
  color: #FFF;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  padding: 20px;
}

.info h2 {
  text-align: center;
}

.product-image:hover .info {
  transform: translateX(0);
}

.info ul li {
  transition: 0.3s ease;
}

.product-image:hover img {
  transition: all 0.3s ease-out;
}

.zoom {
  transform: scale(1.2, 1.2);
}

