
.articles {
    margin:20px 10px;
    border-radius:7px;
    background-color: rgba(255, 255, 255, 0.05);
    padding:5px;
    height: max-content;
    min-width:190px;
    max-width:225px;
    text-decoration:none;
    border:1px solid rgba(0, 0, 0, 0.1);

}
.articles:hover {
    transform:scale(1.02);
    box-shadow:1px 1px 15px darkgray;
    transition: all 0.25s ease-out;
}
.articles table{
    margin:auto auto;
    height:max-content;
    width:100%;
}
.product_image_container{
    width:18vw;
    height:max-content;
    max-width: 210px;
    /*max-height:210px;
    min-height:110px;*/
    min-width:125px;
    overflow: hidden;
    text-align: center;
    margin: auto;

}
.article_image {
    max-width:98%;
    max-height:210px;
    border-radius:7px;
    margin-top: 5px;
}

.tocart, .checkdetails {
    border-width:0;
    width:100%;
    padding: 8px;
    border-radius:25px;
    margin: auto;
    margin-bottom: 5px;
    margin-top:5px;

}
.tocart {
    background-color: rgb(77, 184, 255);
}
.checkdetails {
    background-color: rgb(179, 179, 179);
}
.tocart:hover {
    background-color: rgb(26, 163, 255);
    cursor:pointer;
}
.checkdetails:hover {
    background-color: rgb(153, 153, 153);
    cursor:pointer;
}

.price {
    font-size:14px;
    color:teal;
    padding:5px 0;
    text-align: center;
}
.now_word {
    display: inline-block;
    margin-left:7px;
    margin-right:7px;
    font-size:11px;
    color:dimgray
}
.articles del {
    font-size:12px;
    color:gray;
    display: inline-block;
}

.product_name {
    color:var(--text-secondary);
    padding:5px;
    font-size:14px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height:1.4em;
    font-weight: bold;
}

.product_name b {
    color: dimgray
}


.pre_order::before {
    font-size:13px;
    content:"Pre-Order";
    background-color: rgba(71, 71, 71, 0.945);
    font-weight:bold;
    color:rgb(248, 248, 248);
    padding:5px 15px;
    border-width: 0;
    border-radius:3px;
    position:relative;
    left:5px;
    display: block;
    width:max-content;
    text-align: left;
    white-space: nowrap;
    z-index: 10;

}
.show_discount::before {
    font-size:13px;
    content:attr(data-discount);
    background-color: rgba(36, 36, 36, 0.774);
    font-weight:bold;
    color:rgb(241, 173, 0);
    padding:5px 15px;
    border-width: 0;
    border-radius:3px;
    width:max-content;
    margin-left:55%;
    position:relative;
    top:10px;
    white-space: nowrap;
    z-index: 10;

}

@media only screen and (max-width:802px){
 
    .pre_order::before, .show_discount::before {
        font-size:10px;
        padding:5px 10px
    }
    
    .show_discount::before {
        margin-left: 35%;
    }
    .articles {
        min-width:120px;
        max-width:150px;
        margin:10px 5px 20px 5px;
    }
    .product_image_container{
        width:35vw;
        min-width:130px;
        max-width: 150px;
        /*max-height:150px;
        min-height:125px;
        height:15vw;*/
    }
    .article_image,.product_image_container img {
        max-height:140px;
        border-radius: 5px;

    }
   
    .price, .product_name {
        font-size:13px;
    }
    .articles del {
        font-size:10px;
    }
    .tocart, .checkdetails {
        padding: 5px;
        border-radius:15px;
        margin-bottom: 2px;
        font-size:11px;
    }
}

@media only screen and (max-width:602px){
    .articles {
        min-width:135px;
        max-width:155px;
    }
   
    .product_image_container{
        width:30vw;
        min-width:130px;
        max-width: 150px;
        /*max-height:150px;
        min-height:120px;
        height:20vw;*/
    }
    .price, .product_name {
        padding:5px 0 !important;
    }

}

@media only screen and (max-width:402px){
    .articles {
        min-width:115px;
        max-width:120px;
    }

    .product_image_container{
        width:30vw;
        max-width: 115px;
        min-width:110px;
        /*max-height:130px;
        min-height:110px;
        height:20vw;*/
    }
}