@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@100;200;300;400;500;600;700&display=swap');

body {
    font-family: 'Nunito Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #333;
}

.header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #666;
}

.contact-info {
    margin: 20px 0;
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #000000; /* Set font color to black */
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    background-color: #6a0dad;
    color: #ffffff;
    border-radius: 50%;
    padding: 5px; /* Reduced padding */
    font-size: 14px; /* Reduced font size */
    width: 24px; /* Reduced width */
    height: 24px; /* Reduced height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info a {
    color: #555555;
    text-decoration: none;
    font-weight: 300;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 450px; /* Maintain the height */
    padding: 0;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden;
    position: relative;
}

.wave-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #6a0dad;
    clip-path: ellipse(70% 100% at 50% 0%);
}

.business-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 350px;
    height: 530px; /* Increased height */
    padding: 0;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden;
    position: relative;
}

.business-card:hover {
    transform: translateY(-10px);
}

.card-header {
    padding: 20px;
    color: #333333;
    position: relative;
    z-index: 1;
    margin-top: 100px; /* Adjust margin to move content below the wave */
    text-align: left; /* Align text to the left */
}

.card-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700; /* Bold */
}

.card-header h2 {
    margin: 5px 0;
    font-size: 20px;
    font-weight: 400; /* Normal */
}

.card-header h3 {
    margin: 5px 0;
    font-size: 18px;
    font-style: italic; /* Make the text italic */
    font-weight: 100; /* Light */
}

.card-body {
    padding: 25px;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    text-align: left; /* Align text to the left */
    margin-top: -20px; 
}

.card-body img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #f0f0f0;
}

.contact-info p {
    margin: 10px 0;
    font-size: 16px;
    color: #000000; /* Set font color to black */
    display: flex;
    align-items: center;
}

.contact-info a {
    color: #555555;
    text-decoration: none;
    font-weight: 300;
}

.contact-info a:hover {
    text-decoration: underline;
}

.download-vcard {
    margin-top: 20px;
    display: flex;
    justify-content: center; /* Center the download button */
}

.download-vcard a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6a0dad;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-vcard a:hover {
    background-color: #4b0082;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .header h1 {
        font-size: 2em;
    }

    .header h2 {
        font-size: 1.2em;
    }

    .business-card {
        width: 90%;
        padding: 0;
    }

    .card-header h1 {
        font-size: 22px;
    }

    .card-header h2 {
        font-size: 18px;
    }

    .card-header h3 {
        font-size: 16px;
    }

    .card-body img {
        width: 100px;
        height: 100px;
    }

    .contact-info p {
        font-size: 14px;
    }
}