.inline-block{
    display: inline-block;}

.tab-titles-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    position: relative;

    animation: fade-in linear;
    animation-timeline: view();
    animation-range-start:cover ;
    animation-range-end: 30%;
}
#tab-icon{
    font-size: 1.5rem;
    padding-right: 5px;
    margin: 0;
    position: relative;
    bottom: -3px;
}
.tab-links{
    display: inline-block;
    margin-right: 15px;
    padding-top: 15px;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: var(--text-color);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links:hover::after, .tab-links.active-link::after{
    width: 100%;
}
.tab-contents{
    display: none;
    margin: 0;
}
.tab-contents.active-tab{
    display: flex;
}

.tab-img{
    width: 100%;
    height: 300px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

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

    .tab-contents.active-tab{
        display: block;
    }

    .tab-titles-container{
        display: block;
    }

}
