* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.bodyclass{

}
#slider {
    margin: 20px;
    float: left;
    /*width: 6000px;*/
    height: 160px;
    overflow: hidden;
}
.slides {
    display: block;
    /*width: 6000px;*/
    height: 160px;
    overflow: hidden;
}
.slide {
    float: left;
    width: 300px;
    height: 150px;
    margin: 5px;
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 8px 8px;
    text-align: center;
    position: relative;
}
.textdata{
    color: white;
    position: absolute;
    top: 0px;
    font-weight: bold;
    padding: 5px;
    font-size: 20px;
    width: 100px;
    height: 150px;
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
    background-color: #247183;
    border-radius: 8px 0px 0px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.slideimg img{
    width: 300px;
    height: 150px;
    border-radius: 8px 8px 8px 8px;
}
.textdis{
    position: absolute;
    right: 5px;
    bottom: 0px;
    font-size: 8px;
    font-weight: bold;
}
.homedata,.choosecategory{
    padding-left: 2%;
    padding-right: 2%;
    padding-top: 15px;
    clear: left;
}
.choosecategory{
    font-size: 25px;
}
.row{
    display: flex;
    flex: 1 1 auto;
    overflow-y: auto;
    /*overflow: hidden;*/
    /*overflow-x: auto;*/

}
.maincategory,.subcategory{
    width: 110px;
    height: 100px;
    margin: 5px;
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}
.subcategory img{
    border-radius: 8px;
    object-fit: fill;
    width:110px;
    height:100px;
}
.maincategoryhalf{
    width: 110px;
    height: 50px;
    padding: 5px;
    text-align: center;
    background-color: #247183;
    color: #f3f3f3;
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0px 0px;
    text-decoration: none;
}
.subcategoryhalf{
    width: 110px;
    height: 50px;
    padding: 5px;
    position: absolute;
    bottom: 0px;
    text-align: center;
    background-color: white;
    /*background: rgba(255,255,255,.75);*/
    font-size: 12px;
    color: black;
    /*font-weight: bold;*/
    box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 8px 8px;
    text-decoration: none;
}

@media only screen and (max-width: 620px) {
    .maincategory,.subcategory{
        width: 85px;
        height: 80px;
        margin: 5px;
        box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        position: relative;
        cursor: pointer;
        font-size: 12px;
    }
    .maincategoryhalf{
        width: 85px;
        height: 40px;
        padding: 5px;
        text-align: center;
        background-color: #247183;
        color: #f3f3f3;
        box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
        border-radius: 8px 8px 0px 0px;
        text-decoration: none;
    }
    .subcategoryhalf{
        width: 85px;
        height: 40px;
        padding: 2px;
        position: absolute;
        font-size: 12px;
        bottom: 0px;
        text-align: center;
        background-color: white;
        color: black;
        box-shadow: 0 4px 8px 0px rgba(0, 0, 0, 0.2);
        border-radius: 0px 0px 8px 8px;
        text-decoration: none;
    }
    .subcategory img{
        border-radius: 8px;
        object-fit: fill;
        width:85px;
        height:80px;
    }
}