/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #141414; /* Dark background from image */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
a {
    text-decoration: none; /* Removes the underline */
    color: inherit;        /* Makes the link take the color of the surrounding text */
}

.main-container {
    text-align: center;
    width: 90%;
}

h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Profile Layout (Flexbox) */
.profile-group {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on mobile */
    justify-content: center;
    gap: 25px;
}

.profile-card {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.profile-card p {
    margin-top: 15px;
    color: #808080; /* Dimmer text for names */
    font-size: 1.2rem;
}

/* Image Styling */
.image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: border 0.2s ease;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Interaction Effects */
.profile-card:hover .image-wrapper {
    border: 3px solid white;
}

.profile-card:hover p {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    
    .image-wrapper {
        width: 120px;
        height: 120px;
    }

    .profile-group {
        gap: 15px;
    }
}