.main {
    margin: 20px auto;
}

.projs-tabs-wrapper {
    background-color: white;
    position: sticky;
    top: 62px;
    border-bottom: solid 1px rgb(180, 180, 180);
}

.projs-tabs {
    display: flex;
    overflow-x: auto;
}

.tab-item {
    text-decoration: none;
    position: relative;
    padding: 12px 20px;
    color: rgb(50, 50, 50);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-wrap: nowrap;
    font-weight: 600;
    transition: all 0.25s;
}

.tab-item--sel {
    color: var(--primary);
}

.tab-item::after {
    content: "";
    background-color: rgba(50, 50, 50, 0);
    position: absolute;
    height: 3px;
    left: 8px;
    right: 8px;
    bottom: 0;
    border-radius: 4px 4px 0 0;
}

.tab-item:hover::after {
    background-color: rgba(50, 50, 50, 0.4);
}

.tab-item--sel::after {
    background-color: var(--primary);
}

.tab-item--sel:hover::after {
    background-color: var(--primary);
}

.proj-container {
    margin-bottom: 50px;
    transition: background-color 0.2s;
}

.proj-container:hover {
    background-color: rgb(242, 242, 242);
}

.proj-box {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    min-height: 340px;
}

.proj-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.proj-desc {
    flex: 1;
    margin-bottom: 16px;
}

.proj-links {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.proj-img {
    display: block;
    height: 300px;
    border-radius: 4px;
}

@media only screen and (max-width: 992px) {
    .proj-box {
        height: auto;
        flex-direction: column;
    }

    .proj-img {
        width: 100%;
        height: auto;
    }
}