/* fonts  
@import url('https://fonts.googleapis.com/css?family=Abel|Aguafina+Script|Artifika|Athiti|Condiment|Dosis|Droid+Serif|Farsan|Gurajada|Josefin+Sans|Lato|Lora|Merriweather|Noto+Serif|Open+Sans+Condensed:300|Playfair+Display|Rasa|Sahitya|Share+Tech|Text+Me+One|Titillium+Web');
*/
body {
/*background: #fff;
background-image: linear-gradient( 135deg, #CE9FFC 10%, #7367F0 100%);
background-attachment: fixed; 
background-size: cover;*/
}
.content-wrap{
    background-color: #f8f8f3;
}
.container-tovar-wrap{
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128,0.3);
}
.container-tovar{
    padding: 1rem;
    width: 90%;
    position: relative;
    /* display: -webkit-box; */
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: row;
    margin: auto;
}
.product-details {
    padding: 2rem;
}
.product-details h2 {
    font-family: cursive;
    padding-bottom: 2rem;
}
.price-top{
text-align: right;
    font-size: 3rem;
    color: red;
    padding: 1rem;
}
.rub { 
line-height: 0.8rem;
    width: 0.5em;
        font-size: 3rem;
    border-bottom: 4px solid  red;
    display: inline-block;
} 
.product-image{
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128,0.3);
}
.product-image:hover{
     box-shadow: 1px 1px 15px 1px rgba(0,0,0,.8);
    cursor:pointer;
}
.product-image img{
    width: 100%;
    min-width: 20rem;
    max-width: 35rem;
} 
.information{
    font-family: 'Courier New', Courier, monospace;
    display: block;
    /*width: 50%;*/
    font-weight: bold;
    font-size: 17px;
}                
/* control */
.control{
    text-align: center;
    margin-top: -3rem;
    padding-bottom: 3rem;
}
.hint{
    position: absolute;
    right: 10%;
    top: 10%;
    width: 24px;
    transform: translate(25px, -15px);
    font-family: 'Farsan', cursive;
    display: inline-block;
    background: #6b0909;
    border-radius: 50%;
    font-size: 14px;
    padding: 5px;
    color: #FFF;
    text-align: center;
    margin: 0;
    box-shadow: inset rgba(0,0,0,.5) -3px -3px 8px, inset rgba(255,255,255,.9) 3px 3px 8px, rgba(0,0,0,.8) 3px 3px 8px -3px;
    height: 24px;
}
.btn_cart {
    transform: translateY(0px);
    transition: 0.3s linear;
    background: #586716;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    border: none;
    color: #eee;
    padding: 0;
    margin: 0;
    box-shadow: inset rgba(0,0,0,.5) -3px -3px 8px, inset rgba(255,255,255,.9) 3px 3px 8px, rgba(0,0,0,.8) 3px 3px 8px -3px;
}
.btn_cart::after {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    content: '';
    opacity: 0;
}
.btn_cart::after {
    box-shadow: 0 0 0 3px rgba(111,148,182,0.05);
}
.btn_cart.mybutton--click::after {
    animation: anim-animate-click-two 0.5s ease-out forwards;
}
@keyframes anim-animate-click-two {
    0% {
        box-shadow: 0 0 0 3px lightgreen;
        opacity: 1;
        transform: scale3d(0.6, 0.6, 1);
    }
    100% {
        box-shadow: 0 0 0 100px rgb(110, 180, 110);
        opacity: 0;
        transform: scale3d(1, 1, 1);
    }
}
.btn_cart:hover{transform: translateY(-1px);}
.btn_cart span {
    font-family: 'Farsan', cursive, Optima, Arial, sans-serif;
    transition: transform 0.3s;
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.1em;
    margin:0;
}
/* shopping cart icon */
.btn_cart .price, .shopping-cart{
    background: #be1116;;
    border: 0;
    margin: 0;
    animation: chan-sh 10s ease infinite;
}
.btn_cart .price {
    transform: translateX(-10%); padding-right: 15px;
    box-shadow: inset rgba(0,0,0,.5) -3px -3px 8px, inset rgba(255,255,255,.9) 3px 3px 8px, rgba(0,0,0,.8) 3px 3px 8px -3px;
}
/* the Icon */
.btn_cart .shopping-cart {
    transform: translateX(-100%);
    position: absolute;
    background: #333;
    z-index: 1;
    left: 0;
    top: 0;
}
/* buy */
.btn_cart .buy {z-index: 3; font-weight: bolder;}
.media{
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128,0.3);
    margin: 3rem auto;
    background-color: #f8f8f3;    
}
.media-head{
    font-size: 1.5rem;
    padding-top:2rem;
    text-align: center;
    font-family: cursive;
    text-transform: uppercase;
}
.media-wrap {
    padding: 1rem;
    padding-bottom: 5rem;
    width: 90%;
    position: relative;
    /* display: -webkit-box; */
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: row;
    margin: auto;
}
.media-media{
    text-align: center;
    width: 70%;
    max-width: 15rem;
}
.media-desc-wrap{
    padding: 2rem;
} 
.media-desc{
    padding: 2rem;
    border: 2px solid #fffffffc;
}  
.media-desc li{
    margin-left: 2rem;
} 
/*.media-img{
    width: 80%;
}*/
.media-img img{
    box-shadow: 0 15px 30px 1px rgba(128, 128, 128,0.3);
} 
.media-img img:hover{
    cursor: pointer;
}
#myImg {
    border-radius: 3px;
    cursor: pointer;
    transition: .3s;
}
/* The Modal(background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
/* Modal Content */
.modal-content {
    margin: auto;
    display: block;
    /*width: 70%;
    max-width: 700px;*/
}
/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 70%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: cursive;
}
#caption:first-letter {
    text-transform: uppercase;
}
/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
/* The Close Button */
.closed {
    position: absolute;
    top: 75px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.closed:hover,
.closed:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 1256px){
    .btn_cart span {
        padding: 10px 15px;
        font-size: 1em;
    }
    .info{line-height: 1;}
    .info ul li{
        padding: 5px;
    }
    .info h2, .info ul li {
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px){
    .container-tovar{
        display: block;
    } 
    .btn_cart {
        height:5rem
    }
    .product-image img{
        min-width: 100%;
        max-width: 100%;
    } 
    .product-details{
        width: 95%;
        padding: 0;
        margin: 2px auto;
    }
    .information{
        width: 100%
        font-size: 15px;
    }  
    .content{display: none;}
    .hint {
        position: static;
        transform: inherit;
    }
    .media-wrap {
        display: block;
    }
    .media-media{
        width: 100%;
        max-width: 100%;
    }
    .modal-content {
        width: 100%;
    }    
}