body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed to min-height for better responsiveness */
    background: url('../assets/background.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Roboto, sans-serif;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed to min-height for better responsiveness */
    padding: 20px; /* Added padding for better spacing on small screens */
}

.card {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box; /* Added to include padding in the element's total width */
    margin: 20px; /* Added margin for spacing between cards on small screens */
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}

h1 {
    margin: 10px 0;
    font-size: 1.5em; /* Adjusted font size for better scaling */
}

p {
    font-size: 1em; /* Adjusted font size for better scaling */
    margin: 10px 0 20px 0;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .card {
        max-width: 90%; /* Reduce max-width on smaller screens */
    }

    .profile-pic {
        width: 80px;
        height: 80px; /* Reduce profile-pic size on smaller screens */
    }

    h1 {
        font-size: 1.2em; /* Adjusted font size for smaller screens */
    }

    p {
        font-size: 0.9em; /* Adjusted font size for smaller screens */
    }

    .social-icons img {
        width: 25px;
        height: 25px; /* Reduce social-icons size on smaller screens */
    }
}

@media (max-width: 480px) {
    .card {
        max-width: 100%; /* Use full width on very small screens */
        padding: 15px; /* Reduce padding on very small screens */
    }

    .profile-pic {
        width: 60px;
        height: 60px; /* Further reduce profile-pic size */
    }

    h1 {
        font-size: 1em; /* Further adjust font size */
    }

    p {
        font-size: 0.8em; /* Further adjust font size */
    }

    .social-icons img {
        width: 20px;
        height: 20px; /* Further reduce social-icons size */
    }
}