main {
    padding-top: 100px;
}

.staff-section {
    background-color: var(--background-color);
    padding: 4rem 5%;
    text-align: center;
}

.staff-section h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.rank-container {
    margin-bottom: 2rem;
}

.rank-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.staff-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.staff-member {
    background-color: #1a1b1f;
    border-radius: 10px;
    overflow: hidden;
    width: 150px;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.staff-member:hover {
    transform: translateY(-5px);
}

.staff-member img {
    width: 80px;
    height: 80px;
    margin-top: 1rem;
    border-radius: 10px;
    object-fit: cover;
}

.staff-member h3 {
    color: var(--primary-color);
    margin: 0.5rem 0;
    font-size: 1rem;
}

.staff-member p {
    color: var(--text-color);
    padding: 0 0.5rem 0.5rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .staff-section h1 {
        font-size: 2rem;
    }

    .rank-container h2 {
        font-size: 1.5rem;
    }

    .staff-row {
        gap: 1rem;
    }

    .staff-member {
        width: calc(50% - 0.5rem);
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .staff-member {
        width: calc(100% - 1rem);
        max-width: 200px;
    }

    .staff-member img {
        width: 100px;
        height: 100px;
    }

    .staff-member h3 {
        font-size: 1.2rem;
    }

    .staff-member p {
        font-size: 1rem;
    }
}