@import url(main.css);
@import url(logo.css);
@import url(components/panels.css);
@import url(components/page-frame.css);

body {
    background-image: url('/assets/img/background.jpg');
}

.logo {
    font-size: 4rem;
    margin-bottom: 1.25rem;
}

.team-page-layout {
    flex: 1;
    width: min(980px, 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-container {
    width: min(900px, 100%);
    padding: 1.75rem;
}

.team-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.team-header p {
    color: #e5d2d2;
    margin-top: 0.35rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0.85rem;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 0.65rem;
    text-align: center;
}

.team-avatar {
    width: 86px;
    height: 86px;
    margin: 0 auto 0.65rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 204, 51, 0.85);
    background-color: rgba(0, 0, 0, 0.35);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar img[src$=".svg"] {
    background-color: black;
    object-fit: contain;
    padding: 0.6rem;
}

.team-name {
    font-weight: 700;
    color: var(--color-secondary);
}

.team-role {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #f4e4af;
}

@media (max-width: 900px) {
    .team-page-layout {
        align-items: flex-start;
    }

    .team-container {
        padding: 1.25rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}
