body {
    font-family: 'Arial', sans-serif;
    background-color: #e7e7e7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column;
    padding: 10px;
}

.container {
    display: flex; /* Display content horizontally by default */
    flex-wrap: wrap; /* Allow wrapping if the container width is too small */
    justify-content: center; /* Center the content horizontally */
    align-items: flex-start; /* Align the content to the top */
    align-items: stretch; /* Ensure all items stretch to the same height */
    width: 100%; /* Ensure the container takes full width */
}

.businessCard, .sociallinks, .bio {
    box-shadow: 0 0 10px #ccc;
    background-color: rgb(197, 167, 131);
    padding: 20px;
    height: 100%;
    width: 300px;
    text-align: center;
    margin: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 100px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

h1, h2, h3 {
    color: #333;
}

p, a {
    color: #555;
    font-size: 16px;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Mobile (up to 600px) */
@media only screen and (max-width: 600px) {
    body {
        height: auto;
        padding: 20px;
    }

    /* Stack the elements vertically on mobile */
    .container {
        flex-direction: column;
        align-items: center;
    }

    .businessCard, .sociallinks, .bio {
        width: 90%; /* Make each section occupy more space */
        padding: 15px;
    }

    .profile-photo {
        width: 80px; /* Reduce profile photo size */
    }

    p, a {
        font-size: 14px; /* Adjust font size for readability */
    }
}

/* Desktop (above 600px) */
@media only screen and (min-width: 601px) {
    .container {
        flex-direction: row; /* Align items horizontally on larger screens */
    }

    .businessCard, .sociallinks, .bio {
        width: 300px; /* Maintain consistent width */
        padding: 20px;
    }
}
