﻿
:has(> #team-page) {
    background-color: #eee;
}

#team-page {
    padding-bottom: 2rem;
    width: 100%;
    overflow-x: clip;
    background-color: #eee;
}
#team-spacer{
    width: 100%;
    position: relative;
    display: flex;
    align-content: stretch;
}
#team-content {
    width: 100%;
    margin-inline: 1rem;
    display: flex;
    justify-content: center;
    gap: .51rem;
}



h2 {
    margin-top: 3rem;
    text-align: center;
    font-weight: 600;
    color: var(--orange);
}
#team-display {
    max-width: 50rem;
    display: flex; 
    justify-content: center;
    flex-wrap:wrap;
    gap: 1rem;
    position: relative; 
}



#team-display .team-member-card {
    flex: 0 0 15rem;
    width: 15rem; 
    text-align: center;
    border-radius:20px;
    border: 2px solid var(--blue);
    cursor: pointer; 
    background-color: white;
    overflow: clip;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
#team-display .team-member-card:hover { 
    box-shadow: rgba(0, 0, 0, 0.35) 5px 5px 12px; 
} 
#team-display .team-member-card .card-heading{
    min-height: 6.8rem;
    padding-inline: .45rem;
    display: flex;
    flex-direction: column;   
    justify-content: center;
}
#team-display .team-member-card p{
    font-weight: 600; 
    color: var(--orange); 
    margin-bottom: .4rem;
}
#team-display .team-member-card img {
    width: 100%;
    object-fit: cover;
    image-rendering: optimizeQuality; 
}



#img-wrapper {
    width: 100%;
    display: flex;
    padding: 1rem;
    position: relative;
}
#pentara-team {
    margin: auto; 
    margin-bottom: 2.25rem;
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    border: 5px solid var(--green);
    z-index: 3; 
}



#team-dialog::backdrop {
    background-color: hsl(0, 0%, 50%, .45);
}
#team-dialog {
    padding: 0; 
    border: none;
    background: transparent;
    overflow: clip;
}
#team-dialog > div {
    max-width: 60rem;
    max-height: 90vh;
    border-radius: 20px;
    border: 2px solid var(--blue);
    padding: 1rem;
    background: white;
    overflow: auto;
    display: flex;
    flex-direction:column;
    gap:1rem;
}



#modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}



#team-dialog img{
    height: 90px;
}
#team-dialog h1 {
    font-weight: 600;
    color: var(--orange);
}
#team-dialog h3 {
    font-size: 1.5rem;
    color: var(--orange);
}
#team-dialog #pub-h3 {
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 600;
}
#team-dialog hr{
    height: 5px;
    margin-top: 0;
    background-color: var(--orange);
}



#team-dialog .btn-close {
    padding: .25rem;
    font-size: 25px;
    margin-right: .45rem;
    margin-left: auto;
}
.table-responsive{
    margin-bottom: 1.5rem;
}
table button {
    margin: .15rem .25rem;
    padding: .25rem .5rem;
    padding-bottom: .35rem;
    border-radius: 2rem;
    background-color: var(--blue);
    border: none;
    font-weight: 600;
    color: white;
}
table thead td{
    padding: .35rem;
    font-weight: 600;
}

