body {
    margin: 0;
    padding: 0;
    font-family: 'Grandiflora One', 'Luckiest Guy', sans-serif; /* Font stack */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f7f7f7; /* Slightly off-white background */
}

.container {
    text-align: center;
    max-width: 90%; /* More flexible width */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 15px; /* Slightly more rounded corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Slightly softer shadow */
}

.profile-pic {
    width: 120px; /* Slightly larger */
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.profile-pic:hover {
    transform: scale(1.05); /* Subtle zoom on hover */
}

h1 {
    margin: 0;
    font-size: clamp(2em, 5vw, 3em); /* Adjusts between 2em and 3em based on viewport width */
    color: #333;
    white-space: nowrap; /* Prevents the name from wrapping */
    overflow: hidden; /* Ensures no overflow issues */
    text-overflow: ellipsis; /* Adds ellipsis if text overflows */
}

h2 {
    margin: 0;
    font-size: 1.5em;
    color: #666; /* Slightly lighter color for contrast */
}

.links {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0;
}

.links li {
    margin: 10px 0;
}

.links a {
    text-decoration: none;
    font-size: 1.1em;
    color: #a2a2a2; /* Updated color to blue for better visibility */
    font-weight: bold;
    transition: color 0.3s;
}

.links a:hover {
    color: #4b4b4b; /* Darker blue on hover */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.3em;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }
}
