.subsection{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    padding-top:5px;
}

.subsection_tab{
    height:50px;
    border-radius:10px;
    overflow:hidden;
    position:relative;
    margin-bottom:5px;
    margin-right:10px;
}

.subsection_tab img{
    width:200px;
    height:200px;
    position:relative;
    bottom:80px;
    filter:brightness(50%);
    transform:none;
    transition:filter 0.2s, transform 0.2s;
}

.subsection_tab p{
    width:100%;
    height:70%;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
    font-family:"Rubik",Arial, Helvetica, sans-serif;
    color:white;
    font-size:20px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px black;
    transform:none;
    transition:transform 0.2s;
}


.subsection_tab:hover > img{
    filter:brightness(100%);
    transform:scale(1.1,1.1);
}

.subsection_tab:hover > p{
    transform:scale(1.1,1.1);
}

.subsection_tab_active{
    height:50px;
    border-radius:10px;
    overflow:hidden;
    position:relative;
    margin-bottom:5px;
    margin-right:10px;
}

.subsection_tab_active img{
    width:200px;
    height:200px;
    position:relative;
    bottom:80px;
    transform:scale(1.1,1.1);
}

.subsection_tab_active p{
    width:100%;
    height:70%;
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
    font-family:"Rubik",Arial, Helvetica, sans-serif;
    color:white;
    font-size:18px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 3px black;
    transform:scale(1.1,1.1);
}

@media screen and (max-width:768px) {
    
    .subsection_tab{
        height:30px;
        width:30%;
    }

    .subsection_tab img{
        filter:brightness(100%);
    }

    .subsection_tab p{
        font-size: 15px;
        width:98%;
        -webkit-text-stroke-width:0.8px;
    }

    .subsection_tab_active{
        height:30px;
        width:30%;
    }

    .subsection_tab_active p{
        font-size: 15px;
        width:98%;
    }

}