#teamPopup {
    width: 800px;
    max-width: 160vw;
    max-height: 90vh;

    padding: 0;
    overflow-y: auto;

    border: 3px solid #000;
    border-radius: 8px;

    background: #fff;
    overflow-y: auto;
}

#teamPopup::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

#closeTeamPopup {
    font-family: inherit;
    cursor: pointer;
}

.team-color-palette {
    display: flex;
    gap: 12px;
}

.team-color-swatch {
    width: 60px;
    height: 60px;
    border: 2px solid #000;
}

.team-logo-entry {
    border: solid 1.5px #000;
    padding: 12px;
    margin: 24px;
}

.team-logo-history {

}

.team-logo-entry {

}

.team-logo.main-mark {
    min-width: 80%;
    object-fit: contain;
}

.team-logo.alt-mark {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.team-logo-entry p {
    margin: 8px 0 0;
}

.team-popup-navbar {
    position: sticky;
    top: 0;
    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    background: #fff;
    border-bottom: 2px solid #000;
    padding: 12px 16px;
}

#teamPopupName {
    margin: 0;
    font-family: inherit;
    font-size: 32px;
    text-transform: uppercase;
}

#closeTeamPopup {
    flex-shrink: 0;
    cursor: pointer;
}

#teamPopupContent {
    padding:20px;
}