/* File: css/staff.css */
.staff-container {
    max-width: 1200px; /* Adjust based on your preference */
    margin: 30px auto;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.staff-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222; /* Dark text for visibility */
    text-align: center;
}

.role-title {
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.role-description {
    text-align: center;
    font-size: 1rem;
    color: #666; /* Slightly muted for description */
    margin-bottom: 15px;
}

.staff-role-group {
    display: flex;
    justify-content: center; /* Center items horizontally */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    gap: 20px; /* Space between staff members */
    margin-bottom: 20px; /* Space between different roles */
}

.staff-member {
    flex: 1 1 200px; /* Each member takes up equal space, with a minimum size */
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    user-select: none; /* Prevent text selection */
    pointer-events: none; /* Disable mouse interactions with text */
}

.staff-info {
    margin-bottom: 10px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    pointer-events: none; /* Disable mouse interactions with text */
}

.staff-avatar img {
    width: 163px; /* Fixed width for uniform size */
    height: 261px; /* Fixed height for uniform size */
    border-radius: 0; /* Remove the oval border */
    background: #fff; /* Match the container background */
    user-select: none; /* Prevent dragging the image */
    pointer-events: none; /* Disable mouse interactions with the image */
    border: none; /* Remove any border */
    box-shadow: none; /* Remove shadow */
}

/* Styling for specific ranks */
.staff-info.Owner {
    color: red;
}

.staff-info.Manager {
    color: green;
}

.staff-info.Admin {
    color: lightcoral;
}

.staff-info.Moderator {
    color: blue;
}

/* Animated backgrounds */
.fire-animated {
    background-image: url('../img/staff/fire.gif');
    background-repeat: no-repeat;
    background-size: cover;
}

.flash-animated {
    background-image: url('../img/staff/flash.gif');
    background-repeat: no-repeat;
    background-size: cover;
}

.hearts-animated {
    background-image: url('../img/staff/hearts.gif');
    background-repeat: no-repeat;
    background-size: cover;
}

.rainbow-animated {
    background-image: url('../img/staff/rainbow.gif');
    background-repeat: no-repeat;
    background-size: cover;
}

.blender-animated {
    background-image: url('../img/staff/blender.gif');
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .staff-member {
        flex-basis: calc(50% - 20px); /* Two per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .staff-member {
        flex-basis: 100%; /* One per row on very small screens */
    }
}
