:root {
    --text: #000000;
    --headnav-height: 80px;
}

body {
    background-image: url("../../img/bg_team.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text);
}

div{
    margin-bottom: 1rem;
}

.headline h1 {
    color: var(--card);
    text-align: center;
    font-weight: bold;
}

h1 {
    margin: 0;

    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--card);
}


.section h2 {
    text-align: center;
    margin: 0 0 6px 0;

}

.hr {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #fac635, transparent);
    margin: 10px auto 18px;
    border-radius: 2px;
}

.member {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 8px;
}

.member + .member {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar {
    width: 140px;
    height: 180px;
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar img {
    max-width: 100%;
    max-height: 100%;
    image-rendering: pixelated;
    border-radius: 8px;
}

.meta {
    flex: 1;
}

.name {
    font-weight: 700;
    font-size: var(--textsize);
    margin-bottom: -6px;
}

.role {
    font-size: var(--teamrolestextsize);
    color: rgba(233, 230, 247, 0.7);
    margin-bottom: -12px;
}

.zustaendigkeit{
    font-size: var(--teamzustaendigkeittextsize);
    color: rgba(255, 255, 255, 0.6);
}

.admins-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 12px;
}

.card {
    background: linear-gradient(180deg, rgba(243, 198, 198, 0.04), rgba(255, 255, 255, 0.08));
    padding: 12px;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.3) 10px 10px 10px;
}

.card:hover {
    transform: scale(1.02);

}

.admins-grid a{
    color: var(--text);
    text-decoration: none;
}

footer{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    margin-top: auto;
}


@media (max-width: 880px) {
    .admins-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 20px 0;
    }

    .avatar {
        width: 100px;
        height: 130px;
        flex: 0 0 100px;
    }

    .member {
        gap: 12px;
        padding: 8px 4px;
    }

}

@media (max-width: 340px) {
    h1 {
        font-size: 1.8rem;
    }
    .name{
        font-size: 0.97rem;
    }
    .role{
        font-size: 0.76rem;
    }
}