/* Background and Main Container */
main {
    padding: 2rem;
    background-image: url("/static/pictures/assets/wallpaper/pixel_sea_night.c200d2165f76.gif");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Staff Section */
#staff {
    padding: 2rem;
    text-align: center;
}

#staff h1 {
    font-size: 2.5rem;
    color: #f1f1f1;
    margin-bottom: 2rem;
}

/* Staff Member Card */
.staff-member {
    display: flex;
    flex-wrap: wrap; /* Allows content to wrap on smaller screens */
    align-items: center;
    width: 80%;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    color: #e0e0e0;
}

/* Staff Image */
.staff-member img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 1.5rem;
}

/* Staff Info */
.staff-info {
    flex: 1;
}

/* Staff Member Title */
.staff-info h2 {
    font-size: 1.8rem;
    color: #f9f9f9;
    margin-bottom: 0.5rem;
}

.staff-info p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Icons for Skills */
.skills-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skills-icons img {
    width: auto;
    height: 40px;
    max-width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.skills-icons img:hover {
    filter: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #staff h1 {
        font-size: 2rem;
    }

    .staff-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .staff-member img {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .staff-info h2 {
        font-size: 1.5rem;
    }

    .staff-info p {
        font-size: 1rem;
    }

    .skills-icons {
        justify-content: center;
    }
}
