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

/* Body Styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    color: #ecf0f1;
}

/* Container Styling */
.container {
    text-align: center;
    background-color: #34495e;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
}

/* Profile Section Styling */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

/* Profile Picture Styling */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #2c3e50;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.profile-pic img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

/* Name Section Styling */
.name-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ecf0f1;
    margin: 0;
}

/* Tags Section Styling */
.tags {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

/* Tag Styling */
.tag {
    display: block;
    width: 45%;
    padding: 15px 0;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
    background-color: #3b5998;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tag:hover {
    background-color: #ecf0f1;
    color: #2c3e50;
    border-color: #ecf0f1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tag:focus {
    outline: 2px solid #ecf0f1;
    outline-offset: 2px;
}

/* Media Queries for Responsiveness */

/* For tablets and smaller devices */
@media (max-width: 768px) {
    .container {
        padding: 30px;
    }

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

    .name-section h1 {
        font-size: 2rem;
    }

    .tags {
        gap: 15px;
    }

    .tag {
        width: 100%;
    }
}

/* For mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

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

    .name-section h1 {
        font-size: 1.8rem;
    }

    .tags {
        gap: 10px;
    }

    .tag {
        padding: 10px 0;
        font-size: 1rem;
    }
}
