/* PROFILE CARD CONTAINER */
.profile-card {
    position: relative;
    background: var(--background-gradient);
    text-align: center;
    box-shadow: var(--box-shadow-border);
    overflow: hidden;
    padding: 2rem;
}

/* PROFILE IMAGE */
.profile-card img {
    width: 100%;
    border-radius: 25px 0 25px 25px;
    margin-bottom: 3rem;
}

/* JOB TITLE */
.profile-card .job-title {
    font-size: var(--font-size-sm);
    color: var(--font-highlight-1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* NAME */
.profile-card h2 {
    font-size: var(--font-size-2xl);
    color: var(--font-primary-clr);
    font-weight: var(--font-weight-7);
    margin-bottom: 15px;
}

/* SOCIAL ICONS */
.profile-card .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3rem;
}

.profile-card .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--icon-background);
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}

.profile-card .social-links a img {
    width: 50%;
    height: auto;
    object-fit: contain;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: var(--icon-clr-1);
    transition: filter 0.3s ease-in-out;
    border-radius: 0 !important;
}

/* On hover, change the background of the button */
.profile-card .social-links a:hover {
    background: var(--font-highlight-1);
}

/* On hover, invert the icon color */
.profile-card .social-links a:hover img {
    filter: brightness(0) invert(1);
}


/* BUTTONS */
.profile-card .btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 1rem;
}

.profile-card .btn {
    flex: 1;
    padding: 12px;
    background: var(--icon-background);
    color: var(--font-primary-clr);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-7);
    transition: background 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card .btn:hover {
    background: var(--font-highlight-1);
    color: var(--font-tertiary-clr);
}

@media (min-width: 1000px) {
    .profile-card {
        height: 100%;
        width: 100%;
        border-radius: 25px 0 25px 25px;
    }

    .profile-card img {
        border-radius: 25px 0 25px 25px;
        margin-bottom: 3rem;
    }
}