* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

.profile-card {
    display: flex;
    max-width: 600px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-image {
    flex: 1;
    background-color: #FEEA00;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-image img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.profile-content {
    flex: 2;
    padding: 20px;
    text-align: center;
}

.profile-content h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.profile-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.profile-content h3 {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 15px;
    font-weight: normal;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Media Queries */

/* For tablets (screen width between 600px and 900px) */
@media (max-width: 900px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
    }

    .profile-image {
        padding: 15px;
    }

    .profile-content {
        padding: 15px;
    }

    .profile-content h1 {
        font-size: 1.8em;
    }

    .profile-content p {
        font-size: 0.9em;
    }

    .social-icons a img {
        width: 25px;
        height: 25px;
    }
}

/* For mobile devices (screen width less than 600px) */
@media (max-width: 600px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
        max-width: 90%;
    }

    .profile-image img {
        width: 120px;
        height: 120px;
    }

    .profile-content {
        padding: 10px;
    }

    .profile-content h1 {
        font-size: 1.6em;
    }

    .profile-content p {
        font-size: 0.85em;
    }

    .social-icons a img {
        width: 20px;
        height: 20px;
    }
}