

.productstopblock {
    background-image: url('../assets/images/productblock.png') !important;

}

a {
    text-decoration: none;
}

.productcontainer {
    width: 100%;
    /* border: #ff0000 1px solid ; */
    display: flex;
    flex-direction: column;
    height: auto;
}

.productcontainertitle {
    font-family: Cairo-Bold, Thai-Bold, Chinese-Bold, sans-serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--tntblue);
    margin-bottom: 2rem;
    border-bottom: var(--tntgray) 2px solid;
    padding-bottom: 7px;
}

.productlist {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* border: 1px var(--tntblue) solid; */
    height: auto;
    align-content: start;
}

.productblock {
    /* border:1px #00ff00 solid; */
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 11rem;
    min-width: 0;
    overflow: hidden;
}

.productimage {
    height: 4.5rem;
    width: 95%;
    /* border: #ccc 1px solid; */
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    /* border-radius: 20px 0px 20px 0px; */
}

.productimage:hover{
    height: 5rem;
    transition: all 0.3s ease-in-out;
}

.productnamecontainer {
    width: 85%;
    /* border: #ccc 1px solid; */
}

.productcatalogname {
    font-family: Cairo-Regular, Thai-Regular, Chinese-Regular;
    color: var(--tntblack);
    font-size: 1.5rem;
    line-height: 1.2;
    margin:0;
    margin-top: 5px;

}

.productcatalogsubname {
    font-size: 1rem;
    line-height: 1.2;
    color: var(--tntgray);
    margin:0;
    font-family: Cairo-Regular, Thai-Regular, Chinese-Regular;
}

.downloadblock {
    /* border:1px #00ff00 solid; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 6rem;
    min-width: 0;
    overflow: hidden;
}

.downloadbutton {
    height: 4rem;
    width: 95%;
    border: 1.5px var(--tntgray) solid;
    display: flex;
    flex-direction: row;
    transition: all ease-in-out 0.5s;
}

.downloadbutton:hover {
    transform: translateY(-5px);
    transition: all ease-in-out 0.5s;
    -webkit-box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.13); 
    box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.13);
}

.downloadicon {
    height: 100%;
    aspect-ratio: 1 / 1;
    /* border: 1px black solid; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.downloadicon img {
    height: 50%;
    transition: ease-in-out 0.5s all;
}

.downloadbutton:hover img {
    transform: translateY(-1px);
    transition: ease-in-out 0.5s all;
}

.downloadtextcontainer {
    height: 100%;
    flex: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.downloadtextcontainer h3 {
    margin: 0;
    font-family: Cairo-Regular, Thai-Regular, Chinese-Regular;
    line-height: 1;
    font-size: 1.1rem;
    color: var(--tntblack);
}

.downloadtextcontainer p {
    font-family: Cairo-Regular, Thai-Regular, Chinese-Regular;
    line-height: 1;
    font-size: 0.9rem;
    color: var(--tntgray);
    margin: 0;
}

@media screen and (max-width: 767px) {

    .productlist {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        /* border: 1px var(--tntblue) solid; */
        height: auto;
    }

    
    .productcontainertitle {
        text-align: center;
        font-size: 2.5rem;
    }

    .productblock {
        align-items: center;
    }

    .productcatalogname {
        text-align: center;
    }

    .productimage {
        height: 6rem;
    }

    .downloadblock {
        align-items: center;
    }


}