/* Contenitore principale */
.vcard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

/* Immagine profilo */
.vcard-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ccc;
}

/* Info vCard */
.vcard-info {
    flex: 1;
    min-width: 200px;
}

.vcard-info h2 {
    margin: 0 0 5px 0;
    font-size: 1.5em;
}

.vcard-job,
.vcard-company {
    margin: 0 0 5px 0;
    font-size: 1em;
    color: #555;
}

.vcard-contact,
.vcard-social {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.vcard-contact li,
.vcard-social li {
    margin-bottom: 5px;
}

.vcard-contact a,
.vcard-social a {
    color: #0073aa;
    text-decoration: none;
}

.vcard-contact a:hover,
.vcard-social a:hover {
    text-decoration: underline;
}

/* Pulsante download */
.vcard-download {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #FBB8AB;
    color: #e6e0d8;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vcard-download:hover {
    background-color: #FBB8ABCC;
    color: #fff;
}

/* Shortcode ridotto */
.vcard-short {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    max-width: 300px;
}

.vcard-short img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.vcard-short p {
    margin: 0;
    font-size: 0.9em;
    color: #333;
}
.vcard-main{
    padding: 20dvh 0;
}
/* Responsive */
@media (max-width: 480px) {
    .vcard-container {
        flex-direction: column;
        align-items: center;
    }

    .vcard-info {
        text-align: center;
    }
    .vcard-main{
        padding: 15dvh 0 10dvh 0 ;
    }
}
