* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: MessinaSans;
    src: url(./fonts/MessinaSans-Regular.ttf) format("truetype");
    font-weight: 400
}

@font-face {
    font-family: MessinaSans;
    src: url(./MessinaSans-Bold.ttf) format("truetype");
    font-weight: 700
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0D0C12;
    -moz-osx-font-smoothing: grayscale;
    /*(For Firefox)*/
    -webkit-font-smoothing: antialiased;
    /*(For Chrome and Safari)*/
}

body {
    font-family: MessinaSans, sans-serif;
    font-style: normal;
    font-weight: 400;
    color: #fff;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.02em;
}

.logo {
    padding: 24px;
}

.logo p {
    padding-top: 10px;
    font-size: 16px;
    color: #A19FB8;
}

.tab-container {
    padding-left: 24px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tab-container::-webkit-scrollbar {
    display: none;
}

.tab {
    display: inline-block;
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
    background-color: #0D0C12;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-right: 8px;
    user-select: none;
    /* Prevent text selection during dragging */
}

.tab.active {
    border: 1px solid rgba(255, 255, 255, 0);
    background-color: rgba(196, 186, 239, 0.3);
    color: #fff;
}

.tab:hover {
    border: 1px solid rgba(255, 255, 255, 0);
    background-color: rgba(196, 186, 239, 0.3);
}

.content-container {
    padding: 24px;
}

.content {
    display: none;
    flex-wrap: wrap;
    gap: 12px;
}

.content.active {
    display: flex;
}

.card-container {
    flex: 1 1 calc(33.333% - 24px);
    /* Base width, minus gap padding */
    max-width: 430px;
    box-sizing: border-box;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.card-inner {
    display: flex;
    gap: 16px;
}

.profile {
    width: 60px;
}

.profile img {
    width: 60px;
    border-radius: 50%;
}

.details {
    flex: 1;
}

.details p.name {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    padding-bottom: 5px;
}

.details p.company {
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 2px;
}

.details p.function {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 8px;
}

.details a {
    text-decoration: none;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.details a:first-child {
    margin-right: 4px;
}

@media (max-width: 680px) {
    .card-container {
        flex: 1 1 100%;
        max-width: 100%;
    }
}