/* Importing Google font - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700;900&display=swap');

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

:root{
    --white-light: rgba(255, 255, 255, 0.5);
    --alice-blue: #f8f9fa;
    --carribean-green:   #2c7bfe;
    --gray: #ededed;
}
body{
    font-family: 'Quicksand', sans-serif;
   
}
/* Utility stylings */
img{
   
    width: 100%;
    display: block;
  
}
.container{
    width: 88vw;
  
}
.align__element{

    margin-top: 0px !important;
}
.lg-title,
.md-title,
.sm-title{
    font-family: 'Roboto', sans-serif;
    padding: 0.6rem 0;
    text-transform: capitalize;
}
.lg-title{
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    padding: 1.3rem 0;
    opacity: 0.9;
}
.md-title{
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
}
.sm-title{
    font-weight: 300;
    font-size: 1rem;
    text-transform: uppercase;
}
.text-light{
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    opacity: 0.5;
    margin: 0.4rem 0;
}

/* product section */
.products{
    background-color: #fff;
    
}
.products .text-light{
    text-align: center;
    width: 70%;
    margin: 0.9rem auto;
}
.product{
    display: flex;
    flex-direction: column;
    justify-content: center;

    width:70%;
   
    margin:1rem;
    position: relative;
}

.product-content{
    background-color:#f5f5fa;

    padding: 1rem 0.5rem 1rem 0.5rem;
    cursor: pointer;
    width: 250px !important;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
   height:210px !important;
}


.product-img{

    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;

   align-items: center;
   text-align: center;
}
.product-img img{

    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
    
}
.product-btns{
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product_detail a{
   color:var(--alice-blue);
}
.btn-cart, .btn-buy{
    background: #5e1411;
    border: none !important;
    padding: 0.8rem 0;
    width: 100%;
    font-family: inherit;
    text-transform: uppercase;
    cursor: pointer;
    color:#fff !important;
    border: none;
    border-radius:5px;
    transition: all 0.6s ease;
}

.my_product_btn{
    position: absolute !important;
    top:85%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin:auto 10px;
    right:25%;
    width:70%;
    font-size:12px !important;
    
}
 .button__details:hover{

    text-decoration: none !important;
    background: #fff !important;
    color:#000 !important;
}


.btn-cart{
    background: black;
    color: white;
}

.btn-buy:hover{
    background: rgb(127, 13, 13) !important;
}

.product-info{
    background: #f5f6f8;
    padding: 1rem;
    border-top:3px solid #e3070f;
    width: 250px;
   height:180px;
}
.product-info-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
   margin-top:-20px;
   
}
.rating span{
    color: #5e1411 !important;
}
.rating span i{
    color: #5e1411 !important;

}


.product-name{
    color: black;
    display: block;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}
.product-price{
    padding-top: 0.6rem;
    padding-right: 0.6rem;
    display: inline-block;
    color: var(--carribean-green);
}
.product-price:first-of-type{
    
    color: var(--carribean-green);
}


.off-info{
    margin-top:20px;
}

.off-info .sm-title{
  
    display: inline-block;
    padding: 0.5rem;
    position: absolute;
    top: 0;
    left: 0;
   padding-top:20px;

        background:#c3352b;color:#fff !important;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    z-index: 1;
    letter-spacing: 3px;
    cursor: pointer;
}

/* product collection */
.product-collection{
    padding: 3.2rem 0;
}
.product-collection-wrapper{
    padding: 3.2rem 0;
}
.product-col-left{
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url("images/fashion-img-1.jpg") center/cover no-repeat;
}
.product-col-r-top{
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3)), url("images/fashion-img-2.png") center/cover no-repeat;
}
.flex{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 50vh;
    padding: 2rem 1.5rem 3.2rem;
    margin: 5px;
}
.product-col-r-bottom > div:first-child{
    background: #eaa001;
}
.product-col-r-bottom > div:last-child{
    background: #0090ff;
}
.product-col-content{
    text-align: center;
    color: white;
}
.product-collection .text-light{
    opacity: 1;
    font-size: 0.8;
    font-weight: 400;
    line-height: 1.7;
}
.btn-dark{
    background: black;
    color: white;
    outline: 0;
    border-radius: 25px;
    padding: 0.7rem 1rem;
    border: 0;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.6s ease;
    font-size: 1rem;
    font-family: inherit;
}





#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 70%; /* 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-content {
    margin: auto;
    display: block;
    width: 75%;
   
}
/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(1)}
    to {-webkit-transform:scale(2)}
}
 
@keyframes zoom {
    from {transform:scale(0.4)}
    to {transform:scale(1)}
}

@-webkit-keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}
@keyframes zoom-out {
    from {transform:scale(1)}
    to {transform:scale(0)}
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}
.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 768px){
    .modal-content {
        width: 100%;
        rotate: 90deg;
        margin-top: 300px !important;
    }

    .align__element{

        margin-top:-80% !important;
    }
    
    .product{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width:100%;
       
        margin: 2rem;
        position: relative;
    }

    
.product-info{
    padding: 2rem;
    background-color: #f5f5fa;
    border-top:3px solid #0e162d;
   margin-bottom: 9px;;


}
}


/* Media Queries */
@media screen and (min-width: 992px){
    .product-items{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .product-col-r-bottom{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1200px){
    .product-items{
        grid-template-columns: repeat(3, 1fr);
    }
    .product{
        margin-right: 1rem;
        margin-left: 1rem;
    }
    .products .text-light{
        width: 50%;
    }
}

@media screen and (min-width: 1336px){
    .product-items{
        grid-template-columns: repeat(4, 1fr);
    }
    .product-collection-wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .flex{
        height: 60vh;
    }
    .product-col-left{
        height: 121.5vh;
    }
}