/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Derived from https://github.com/apache/streampark-website/tree/dev/src/pages/team */
.team_page {
    margin: 3rem auto;
}

.team_page h1:first-child {
    font-size: 3rem;
}

.team_page a {
    text-decoration: none;
}

.team_page .team_title {
    margin-top: 40px;
}

.team_page .team_desc {
    margin-bottom: 40px;
}

.team_page .team_indent {
    line-height: 40px;
}

.team_page .desc {
    font-size: 1rem;
    margin-left: 0.5rem;
}

.team-row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.team-box {
    width: 20% !important;
    padding: 12px;
}

.team-user-img {
    width: 80px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.bg-team {
    margin-top: -1.5rem !important;
    padding: 2.5rem 1rem 0.5rem 1rem;
    background-color: #ffffff !important;
    border-radius: 0.75rem;
    box-shadow: 0 0.375rem 1.5rem 0 rgba(0, 0, 0, 0.16) !important;
}

.team-link {
    background-color: #fff;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 75%;
    line-height: normal;
    margin-right: 0.25rem;
}

.team-link .github-icon {
    width: 20px;
    height: 20px;
    color: #fff;
}

[data-theme="dark"] .team-link {
    background-color: #95999c;
}

[data-theme="dark"] .bg-team {
    background-color: #0e1114 !important;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #dfdfdf;
}

@media (max-width: 768px) {
    .team-box {
        width: 50% !important;
    }
}
