.tab-container {
    width: 95%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 30px;
    padding: 0;
}

.tab-link {
    border-radius: 20px;
    border: 2px solid rgba(67, 67, 67, 0.5);
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 10px 15px;
    position: relative;
    overflow: hidden;
    text-decoration: none;

    transition: background-color .1s;
}


.tab-link::before {
    content: '';
    background-image: var(--gradient);
    background-attachment: fixed;
    background-position: top left;
    mask-image: linear-gradient(165deg, rgba(0, 0, 0, .2) 0%, rgba(0,0,0,0) 35%);

    position: absolute;
    top: -15%;
    left: -15%;
    width: 100%;
    height: 100%;
    z-index: -1;

    transition: top .1s, left .1s;
}
.tab-link:hover::before {
    top: 0;
    left: 0;
}


.tab-link::after {
    content: '';
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
    background-size: 6px 6px;
    background-attachment: fixed;
    background-position: top left;
    mask-image: linear-gradient(rgba(0, 0, 0, 0.603) 0%, rgba(0,0,0,0) 50%);
    background-position-y: -15%;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}




.tab-link:hover {
    background-color: rgba(255, 255, 255, 0.02);
}


.tab h3 {
    padding: 0;
    margin: 0;
    text-align: center;
    margin-bottom: 8px;
}
.tab p {
    margin: 5px;
    font-size: 1.1em;
}

@media (max-width: 850px) {
    .tab p {
        font-size: .96em;
    }
}

