.tab-main-title{
    text-align: center;
    font-size: 3.5rem;
}

.tab{
    display: flex;
    grid-template-columns: repeat(6, 1fr);
}

.tablinks{
    background: white !important;
    color: rgba(0, 0, 0, 0.5);
    border-width: 1px;
    border-radius: 0;
    border-bottom: transparent;
    margin: 0;
    flex-grow: 1;
}

.tablinks:hover{
    cursor: pointer;
}

.tablinks.active{
    background: transparent !important;
    color: black;
    font-weight: 700;
}

.tab-text-flex{
    flex-direction: column;
}

.tab-image-flex{
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-content{
    padding: 2em;
    align-items: center;
    gap: 2em;
}

.tab-inner-title{
    color: black;
    font-weight: 700;
    font-size: 3.5rem;
}

.under-tabs{
    margin-top: 2em;
}

.tabcontent {
    animation: fadeEffect 1s; 
}
  
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@media (min-width: 999px){
    .tab button.active:first-child{
        border-left: none;
    }
    
    .tab button.active:last-child{
        border-right: none;
    }
}

@media (max-width: 1000px){
    .tab{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .tab-inner-title,
    .tab-main-title{
        font-size: 2.5rem;
    }
}

@media (max-width: 850px){
    .tablinks{
        font-size: .8rem;
    }
    .tab-inner-title{
        font-size: 1.3rem;
    }
    .tab-content{
        flex-direction: column;
    }
    .tab-content .half{
        width: 100%;
    }
}