﻿@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500|Jost:400,500,600&display=swap");

.body-profile-card-03 {
    color: #2b2c48;
    font-family: "Jost", sans-serif;
    background: linear-gradient(180deg, rgb(91 90 130) 0%, rgba(55, 89, 137, 1) 100%);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.profile-card-03 {
    margin-top: 2%;
}

    .profile-card-03 .card {
        max-width: 340px;
        margin: auto;
        overflow-y: auto;
        position: relative;
        z-index: 1;
        overflow-x: hidden;
        background-color: white;
        display: flex;
        transition: 0.3s;
        flex-direction: column;
        border-radius: 10px;
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
    }

        .profile-card-03 .card.is-active .card-header {
            height: 80px;
        }

        .profile-card-03 .card.is-active .card-cover {
            height: 100px;
            top: -50px;
        }

        .profile-card-03 .card.is-active .card-avatar {
            transform: none;
            left: 20px;
            width: 50px;
            height: 50px;
            bottom: 10px;
        }

        .profile-card-03 .card.is-active .card-fullname,
        .profile-card-03 .card.is-active .card-jobtitle {
            left: 86px;
            transform: none;
        }

        .profile-card-03 .card.is-active .card-fullname {
            bottom: 18px;
            font-size: 19px;
        }

        .profile-card-03 .card.is-active .card-jobtitle {
            bottom: 16px;
            letter-spacing: 1px;
            font-size: 10px;
        }

    .profile-card-03 .card-header {
        position: relative;
        display: flex;
        height: 200px;
        flex-shrink: 0;
        width: 100%;
        transition: 0.3s;
    }

        .profile-card-03 .card-header * {
            transition: 0.3s;
        }

    .profile-card-03 .card-cover {
        width: 100%;
        height: 100%;
        position: absolute;
        height: 160px;
        top: -20%;
        left: 0;
        will-change: top;
        background-size: cover;
        background-position: center;
        filter: blur(30px);
        transform: scale(1.2);
        transition: 0.5s;
    }

    .profile-card-03 .card-avatar {
        width: 100px;
        height: 100px;
        box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        -o-object-position: center;
        object-position: center;
        -o-object-fit: cover;
        object-fit: cover;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-64px);
    }

    .profile-card-03 .card-fullname {
        position: absolute;
        bottom: 0;
        font-size: 22px;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
        transform: translateY(-10px) translateX(-50%);
        left: 50%;
    }

    .profile-card-03 .card-jobtitle {
        /*color: #7D7E90;*/
        color: #3A3B4A !important; /* Nuovo colore con alto contrasto */
        opacity: 1; /* Rimuove la trasparenza */
        position: absolute;
        bottom: 0;
        font-size: 11px;
        white-space: nowrap;
        font-weight: 500;
        opacity: 0.7;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-7px);
        text-decoration: none;
    }

    .profile-card-03 .card-main {
        position: relative;
        flex: 1;
        display: flex;
        padding-top: 10px;
        flex-direction: column;
    }

    .profile-card-03 .card-subtitle {
        font-weight: 700;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .profile-card-03 .card-content {
        padding: 20px;
    }

    .profile-card-03 .card-desc {
        line-height: 1.6;
        color: #636b6f;
        font-size: 14px;
        margin: 0;
        font-weight: 400;
        font-family: "DM Sans", sans-serif;
        text-align: center;
    }

    .profile-card-03 .card-social {
        display: flex;
        align-items: center;
        padding: 0 20px;
        margin-bottom: 30px;
        text-align: center;
        justify-content: center;
    }

        .profile-card-03 .card-social svg {
            fill: #a5b5ce;
            width: 16px;
            display: block;
            transition: 0.3s;
        }

        .profile-card-03 .card-social a {
            color: #8797a1;
            height: 32px;
            width: 32px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
            background-color: rgba(93, 133, 193, 0.05);
            border-radius: 50%;
            margin-right: 10px;
        }

            .profile-card-03 .card-social a:hover svg {
                fill: #637faa;
            }

            .profile-card-03 .card-social a:last-child {
                margin-right: 0;
            }


    .profile-card-03 .card-section {
        display: none;
    }

        .profile-card-03 .card-section.is-active {
            display: block;
        }



    .profile-card-03 .badges {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

.all-badges {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.badge-item-02 {
    background-color: #F7F9FC !important;
}

.badge-info h5 {
    color: #2b2c48 !important;
    font-weight: 600;
}

.badge-info p {
    /*color: #a5b5ce !important;*/
    color: #495057 !important;
}


.badge-text-container {
    background-color: #F7F9FC !important;
}

    .badge-text-container h5 {
        color: #2b2c48 !important;
        font-weight: 600;
    }

html {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}