.team-name-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.team-name-title h2 {
    font-size: 2rem;
}
.team-page-bg-wrap {
    padding-top: 80px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.team-page-bg {
    aspect-ratio: 2.5/1;
    width: 100%;
    max-width: 2560px;
    max-height: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}
.team-page-bg-default {
    max-height: none;
    max-width: none;
}
.team-page-bg-wrap h3 {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 15px #00000070;
    padding: 5px 10px;
    position: absolute;
}
.team-content-container {
    background-color: #fff;
    padding-bottom: 40px;
    position: relative;
    /* z-index: 5; */
}
.team-header {
    gap: 50px;
    padding-bottom: 30px;
}
.team-description-wrap {
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
    gap: 40px;
}
.team-small-text {
    display: flex;
    flex-direction: row;
    gap: 140px;
}
.team-small-text p {
    margin: 0;
    line-height: auto;
}
.team-small-text div p:last-child {
    color: #111;
    font-size: 20px;
    font-weight: 500;
}
.team-description-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.team-description-stats-inner {
    gap: 45px;
    display: flex;
    flex-direction: row;
}
.team-description-stats-inner > div {
    justify-content: center;
    align-items: center;
    width: 80px;
    min-width: 80px;
}
.team-description-stats-inner > div span:last-child {
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 15px;
    width: 100%;
    text-align: center;
    padding: 5px 0;
}
.team-description-stats-inner > div span:first-child {
    color: #06bf60;
    font-size: 40px;
    font-weight: bold;
    padding: 25px 0;
    width: 80px;
    text-align: center;
    background-color: #f7f7f7;
    box-shadow: 0 0 10px #00000020;
    border-radius: 10px;
}

.team-name-img {
    width: 300px;
    height: 300px;
    transform: translateY(-20px);
    aspect-ratio: 1/1;
    background-color: #f7f7f7;
    box-shadow: 0 0 10px #00000020;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.team-name-img img {
    width: 100%;
    height: auto;
}

.team-page-tabs-select {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    border-radius: 30px;
    position: relative;
}
.team-page-tabs-select .team-page-tabs-item {
    color: #666;
    flex: 1;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    padding: 12px 0;
    transition-duration: 500ms;
}
.team-page-tabs-moving-select {
    height: 100%;
    position: absolute;
    z-index: 9;
    left: 0;
    background: linear-gradient(to right, #333, #000);
    padding: 12px 15px;
    border-radius: 5px;
    border-radius: 30px;
    display: inline-block;
    color: #fff;
    transition-duration: 250ms;
}
.team-page-tabs-select span.team-page-tabs-current {
    color: #fff;
}

.team-tabs-container {
    min-height: 500px;
}

.players-container-main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}
.players-container-item {
    background-color: #f5f5f5;
    box-shadow: 0 0 5px #00000030;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition-duration: 250ms;
    transition-property: transform, box-shadow;
    transition-timing-function: ease-out;
    transform: rotate3d(0);
}
.players-container-item:hover {
    transition-duration: 250ms;
    box-shadow: 0 0 30px #00000099;
    z-index: 100;
}
.players-container-item .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.players-container-item--name {
    padding: 5px 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    align-items: center;
}
.players-container-item--name span:first-child {
    color: #06bf5fb0;
    font-size: 36px;
    font-weight: bold;
}
.players-container-item--name span:last-child {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    height: 60px;
    display: flex;
    align-items: center;
    word-break: break-word;
}

.games-container-main {
    display: none;
    flex-direction: column;
    overflow: hidden;
    gap: 15px;
}
.games-container-main-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    padding: 0;
    border-radius: 25px;
    overflow: hidden;
}
.top-bottom-border-container {
    border-top: 4px solid #e8e8e8;
    border-bottom: 4px solid #e8e8e8;
}
.no-border-container {
    border: none;
}
.games-container-item {
    background-color: #f3f3f3;
    /* box-shadow: 0 0 5px #00000020;
    border-radius: 15px; */
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    color: #000;
    padding: 15px 30px;
    gap: 0;
    width: 100%;
}
.game-item-team img {
    width: 130px;
    height: 130px;
}
.game-item-team {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    flex: 2;
    color: #000;
}
.game-item-team:hover span {
    color: #03bb5f;
}
.game-item-team span {
    color: #000;
    transition-duration: 300ms;
}
.games-container-item .game-item-team:first-child {
    text-align: right;
}
.games-container-item .game-item-team:last-child {
    text-align: left;
}
.games-container-item .game-item-team:first-child {
    flex-direction: row-reverse;
}
.game-item-description {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    text-transform: uppercase;
    flex: 1;
}
.games-container-item .game-item-description {
    flex-direction: row;
    gap: 25px;
}
.game-item-description p {
    margin: 0;
    text-align: center;
    line-height: 22px;
}
.game-item-description p.game-item-name {
    font-weight: 500;
}
.game-item-datetime {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    word-spacing: 0;
    white-space: nowrap;
}
.game-delayed {
    font-size: 16px;
    color: #444;
    font-weight: 500;
}
.game-item-team-scores {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.game-item-score {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}
.game-item-score-nums {
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.game-item-score-nums span {
    font-size: 50px;
    font-weight: bold;
    line-height: normal;
}
.game-item-score-nums span.game-item-greater-score {
    color: #01ad57;
}
.game-item-penalties {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    line-height: normal;
    text-transform: uppercase;
}
.game-item-penalties span:first-child {
    font-size: 13px;
}
.not-found {
    font-style: italic;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.select-team-games-season {
    font-size: 18px;
    font-weight: 500;
    border-radius: 25px;
    padding: 10px 25px;
    background-color: #f3f3f3;
    border: none;
    width: fit-content;
    margin: 0 auto;
}
.select-team-games-season option {
    font-size: 16px;
}
@media screen and (max-width: 1200px) {
    .games-container-main {
        padding: 0;
    }
    .team-description-stats {
        gap: 15px;
    }
    .team-page-bg h3 {
        font-size: 60px;
    }
}
@media screen and (max-width: 992px) {
    .team-description-stats-inner {
        flex-wrap: wrap;
    }
    .team-header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        margin-bottom: 0;
    }
    .team-description-wrap, .team-description-stats, .team-description-stats-inner, .team-small-text {
        width: 100%;
    }
    .team-small-text {
        justify-content: center;
        align-items: center;
    }
    .team-description-stats, .team-description-stats-inner {
        justify-content: center;
        align-items: center;
    }
    .games-container-item {
        padding: 15px 25px;
        width: 100%;
    }
    .games-container-item .game-item-team:first-child,
    .games-container-item .game-item-team:last-child {
        text-align: center;
    }
    .game-item-team, .games-container-item .game-item-team:first-child {
        flex-direction: column;
        font-size: 16px;
    }
    .game-item-name, .game-item-location {
        font-size: 13px;
    }
    .game-item-datetime {
        font-size: 14px;
    }
    .game-item-team img {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    .game-item-score-nums {
        font-size: 28px;
    }
    .game-item-score-nums span {
        font-size: 36px;
    }
    .games-container-item {
        padding: 8px;
        gap: 5px;
    }
    .game-item-description {
        gap: 5px;
        width: 80%;
    }
    .game-item-description p {
        line-height: 16px;
        flex: 1;
    }
    .games-container-item .game-item-description p:nth-child(2) {
        flex: 2;
    }
    .game-item-team {
        font-size: 15px;
        line-height: 18px;
    }
    .team-description-wrap {
        gap: 30px;
        padding: 0;
    }
    .team-description-stats-inner {
        gap: 15px;
    }
    .team-small-text {
        gap: 15px;
        flex-direction: column;
    }
    .team-small-text div {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    .team-small-text div p {
        text-align: center;
    }
    .team-small-text div p:first-child {
        font-size: 14px;
    }
    .team-small-text div p:last-child {
        font-size: 18px;
    }
    .team-description-stats-inner > div span:last-child {
        font-size: 14px;
    }
    .team-description-stats-inner > div span:first-child {
        padding: 15px 0;
        width: 100%;
        max-width: 80px;
        font-size: 36px;
    }
    .players-container-main {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .players-container-item--name {
        padding: 8px 5px;
        height: 100%;
        gap: 5px;
    }
    .players-container-item--name span:first-child {
        font-size: 22px;
    }
    .players-container-item--name span:last-child {
        font-size: 15px;
    }
    .players-container-item--name span:last-child {
        height: auto;
    }
    .team-page-tabs-select {
        width: 100%;
    }
    .team-page-tabs-select .team-page-tabs-item {
        font-size: 18px;
    }
    .game-delayed {
        font-size: 13px;
    }
    .team-page-bg {
        aspect-ratio: 2/1;
    }
    .team-page-bg h3 {
        font-size: 36px;
        line-height: 38px;
    }
    .team-name-img {
        width: 250px;
        height: 250px;
        transform: translateY(-10px);
    }
    .select-team-games-season {
        width: 100%;
    }
    .team-page-tabs-select .team-page-tabs-item {
        padding: 10px 5px;
        font-size: 14px;
        line-height: 16px;
    }
}
@media screen and (max-width: 430px) {
    .team-page-bg h3 {
        font-size: 32px;
        line-height: 34px;
    }
    .game-item-description {
        gap: 3px;
        width: 100%;
    }
    .team-description-stats {
        padding: 0;
    }
    .team-name-img {
        height: auto;
        width: 70%;
    }
}