.romances-container{
    width: 70%;
    position: relative;
    margin: auto;
    margin-top: 22px;
    text-align: center;
}

.romances-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    border-bottom: solid 1px #c9c9c9;
}


.romances-list-block{
    position: relative;
    display: inline-block;
    width: 21%;
    margin-bottom: 21px;
    margin-right: 42px;
    
}

.img-cover-roman{
    width: 100%;
    -webkit-box-shadow: 0px 0px 5px 0px #975AB6; 
    box-shadow: 0px 0px 5px 0px #975AB6;
}

.img-cover-roman:hover{
    -webkit-box-shadow: 0px 0px 10px 0px #975AB6; 
    box-shadow: 0px 0px 10px 0px #975AB6;
}

@media only screen and (max-width: 980px){
    .romances-container{
        width: 90%;
    }

    .romances-list-block{
        width: 48%;
    }
}
@media only screen and (max-width: 680px){
    .romances-list-block{
        width: 90%;
    }
}

.romances-list-img-containter{
    position: relative;
    width: 100%;
    height: 100%;
}

.romances-list-img-icon{
    position: absolute;
    right: 0;
    top: 45%;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 2;
    background-color: #128F8B;
    color: #fff;
    padding: 6px;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
}

.romances-title{
    text-transform: capitalize;
    width: 100%;
    font-size: 48px;
    text-align: center;
    margin-top: 53px;
    margin-bottom: 53px;
}

.text-edition{
    font-size: 15px;
    font-style: italic;
}

.romance-container{
    display: flex;
    align-items: center;
    height: 80%;
}

.romances-cover-img{
    display: inline-block;
    width: 50%;
}
.romances-cover-img>img{
    width: 100%;
}

.roamnces-text{
    display: inline-block;
    width: 56%;
    vertical-align: top;
    color: #727272;
    font-size: 19px;
    padding-top: 33px;
    padding-bottom: 33px;
    padding-left: 28px;
    padding-right: 12px;
    background-color: #fafafa;
    -webkit-box-shadow: 4px 4px 9px -2px rgba(163,161,163,1);
    -moz-box-shadow: 4px 4px 9px -2px rgba(163,161,163,1);
    box-shadow: 4px 4px 9px -2px rgba(163,161,163,1);
}

.romances-buy-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    font-size: 22px;
    margin-top: 42px;
    margin-bottom: 21px;
}

.romaces-buy-title{
    margin-top: 8px;
}

.romances-buy-btn {
    background: #128F8B;
    background-image: -webkit-linear-gradient(top, #128F8B, #0c4229);
    background-image: -moz-linear-gradient(top, #128F8B, #0c4229);
    background-image: -ms-linear-gradient(top, #128F8B, #0c4229);
    background-image: -o-linear-gradient(top, #128F8B, #0c4229);
    background-image: linear-gradient(to bottom, #128F8B, #0c4229);
    -webkit-border-radius: 15;
    -moz-border-radius: 15;
    border-radius: 15px;
    font-family: Raleway;
    color: #ffffff;
    font-size: 20px;
    padding: 5px 20px 5px 20px;
    text-decoration: none;
}

.romances-buy-btn>i{
    font-size: 22px;
}


.romances-buy-btn>img{
    width: 23px;
    height: 23px;
} 

.romance-detail-media-list{
    position: relative;
}

.romance-detail-media-block{
    display: inline-block;
}

.romance-detail-media-list >img{
    display: inline-block;
    width: 23%;
    margin: 5px;
}

.romance-detail-media-list >img:hover{
    transform: scale(1.07);
}

.romance-detail-trailler{
    margin-top: 50px;
    margin-bottom: 50px;
}

.romance-detail-media{
    margin-top: 50px;
    margin-bottom: 50px;
}

@media screen and (min-width: 1380px){
    .romances-cover-img{
        display: inline-block;
        width: 30%;
    }
}
@media screen and (max-width: 980px){
    .romances-container{
        width: 90%;
    }
    .romances-cover-img{
        width: 100%;
    }
    
    .roamnces-text{
        margin-top: 22px;
        width: 100%;
    }
    .romances-buy-btn{
        width: 40%;
        margin-bottom: 8px;
    }
    .romances-buy-btn>i{
        font-size: 16px;
    }
    
}



.modal-image {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 44; /* Sit on top */
    padding-top: 3%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
  
.modal-image-content {
    margin: auto;
    display: block;
    height: 90%;
    max-width: 100%;
}
  
.modal-image-content, #caption {
    animation-name: zoom;
    animation-duration: 0.4s;
}
  
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
  /* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
@media only screen and (max-device-width : 800px) {
    .modal-image-content {
        width: 100%;
        height: 100vw;
    }
}

.img-modal-mobile{
    margin-top: 22%;
    height: 100vw !important;
}

.romances-container-title{
    font-family: 'Bentham';
    font-size: 42px;
    margin-bottom: 21px;
}
