.actions {
    display: flex;
    flex-direction: row;
}

.hidden {
    display: none;
}

/* PILL STYLING */

.pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 100px;
    align-self: flex-start;
    justify-self: start;
    color: var(--background);
    background-color: var(--main);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;

    line-height: 1rem;
}

.pill .icon {
    height: 1rem;
}

.pill.osl {
    background-color: transparent;
    color: var(--osl);
    padding: 0.5rem 0;
}

.pill.kmlb {
    background-color: transparent;
    color: var(--kmlb);
    padding: 0.5rem 0;
}

.pill.oswl {
    background-color: transparent;
    color: var(--oswl);
    padding: 0.5rem 0;
}

.pill.success {
    background-color: var(--success);
}

.pill.warn {
    background-color: var(--alert);
}

.pill.info {
    background-color: var(--main);
}

.pill.special {
    background-color: rgb(230, 176, 0);
}

.pill.disabled {
    background-color: var(--textLighter);
}

/* AVATAR STYLING */ 
.avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 100px;

    height: 100px;
    width: 100px;

    background: linear-gradient(-45deg, var(--main), var(--mainLight));

    overflow: hidden;
}

.avatar span {
    font-family: 'Lexend', serif;
    text-align: center;

    width: 100%;

    margin-top: -0.25rem;

    font-size: 5rem;
    font-weight: bolder;

    color: var(--text);

    mix-blend-mode: overlay;

    opacity: 0.75;
}


/* CARD CONTAINER STYLING */

.card {
    display: flex;
    flex-direction: column;
    color: var(--text);
    gap: 1rem;
    padding: 2rem;
    box-shadow: 0px 6px 12px 2px var(--shadow);
    border-bottom: 1px solid var(--main);
    border-radius: var(--borderRadius);
    background-color: var(--background);
}

.card.center {
    justify-content: center;
}

.card.osl {
    border-color: var(--osl);
}

.card.kmlb {
    border-color: var(--kmlb);
}

.card.oswl {
    border-color: var(--oswl);
}

.box {
    padding: 2rem;
    border-radius: var(--borderRadius);
    background-color: var(--mainLight);
    background: linear-gradient(60deg, var(--mainLight), var(--backgroundDark))
}

.shelf {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

/* STATS STYLING */

.stats {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;

    user-select: none;
}

@media (width >=600px) {
    .stats {
        justify-content: start;
    }
}

.stats .stat {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 0;

    padding: 1rem;
    border-radius: var(--borderRadius);

    background-color: var(--background);

    border: 1px solid var(--mainLight);

    max-width: 150px;
}

.stats .stat.special {
    border: 1px solid goldenrod;
}

.stats .stat .score {
    font-weight: bolder;

    color: var(--main);
}

.stats .stat.special .score {
    color: goldenrod;
}

.stats .stat .label {
    font-size: 0.8rem;
    color: var(--textLight);
    text-align: start;
}

/* NEWS CONTAINER STYLING */

.card.news h3 {
    margin-bottom: 0;
}

/* PLAYER CARD CONTAINER STYLING */

.playerCard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-bottom: 2rem solid var(--main);
    border-radius: var(--borderRadius);
    background-color: var(--background);
    align-items: start;

    cursor: pointer;

    text-decoration: none;

    width: 100%;
}

.playerCard.unregistered {
    color: var(--textLighter);
    border-color: var(--textLighter);
}

.playerCard:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px 2px var(--shadow);
}

.playerCard h3 {
    margin-bottom: 0;
}

.playerCard p {
    margin-top: 1rem;
}

.playerCard.osl.registered {
    border-color: var(--osl);
}

.playerCard.kmlb.registered {
    border-color: var(--kmlb);
}

.playerCard.oswl.registered {
    border-color: var(--oswl);
}

@media (width >=600px) {
    .playerCard {
        max-width: 300px;
    }
}

/* PROFILE CONTAINER STLYING */

.profile {
    padding: 2rem;
    margin: 0;
    width: 100%;
    background-color: var(--mainLight);
    border: 1px solid var(--main);
    border-radius: var(--borderRadius);
}

.profileUser {
    flex-direction: row;
}

.profileUser .feather {
    height: auto;
}

.profileUser h1 {
    margin: 0;
}

.profile .profileStat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.profile .profileStat .icon {
    color: var(--main);
}

/* MAP CONTAINER STYLING */

.map {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--borderRadius);
    gap: 1rem;
    width: 100%;

    border-top: 1px solid var(--main);
}

@media (width >=800px) {
    .map {
        width: calc(50% - 0.5rem);
    }
}

.map h3 {
    margin-bottom: 0;
}

.map iframe {
    margin-top: auto;
    height: 200px;
    border-radius: var(--borderRadius);
    width: 100%;
}

/* LEAGUE SELECTOR CONTAINER STLYING */

.leagueSelector {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.leagueSelector a {
    position: relative;
    flex-grow: 1;
    height: 150px;
    padding: 1px;
    background: linear-gradient(45deg, var(--main), var(--mainLight));
    border-radius: var(--borderRadius);
    overflow: hidden;
}

.leagueSelector a span {
    position: absolute;
    bottom: -1rem;
    white-space: no-wrap;
    left: 6px;
    width: calc(100% - 8px);
    padding: 2rem;
    font-size: 6rem;
    font-weight: 900;
    color: var(--main);
    opacity: 0.25;
    text-align: center;
    vertical-align: middle;
    letter-spacing: 6px;
    font-style: italic;
    font-weight: 900;

    color: transparent;
    background-clip: text;
    background-image: linear-gradient(45deg, red, blue);
}

.leagueSelector a img.osl~span {
    background-image: linear-gradient(45deg, var(--osl), var(--oslLight));
    ;
}

.leagueSelector a:has(img.osl) {
    background: linear-gradient(45deg, var(--osl), var(--oslLight));
}

.leagueSelector a img.oswl~span {
    background-image: linear-gradient(45deg, var(--oswl), var(--oswlLight));
}

.leagueSelector a:has(img.oswl) {
    background: linear-gradient(45deg, var(--oswl), var(--oswlLight));
}

.leagueSelector a img.kmlb~span {
    background-image: linear-gradient(45deg, var(--kmlb), var(--kmlbLight));
}

.leagueSelector a:has(img.kmlb) {
    background: linear-gradient(45deg, var(--kmlb), var(--kmlbLight));
}

.leagueSelector img {
    border-radius: var(--borderRadius);
    height: 100%;
    width: 100%;
    object-fit: contain;
    background-color: var(--background);

    padding: 0rem 0rem 2rem 0rem;

    transition: 300ms;
}

.leagueSelector a:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px 2px var(--shadow);
}

@media (width >=800px) {
    .leagueSelector {
        flex-direction: row;
        justify-content: start;
    }
}

/* HERO CONTAINER STYLING */

.hero {
    position: relative;
    width: calc(100% + 4rem);
    margin: 0 -2rem;
}

.hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    background-color: var(--main);
}

.hero .heroDescription {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;

    gap: 0;

    justify-content: flex-end;

    padding: 2rem;

    color: var(--background);

    position: absolute;
    bottom: 0;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.10) 100%);

    text-shadow: 0px 0px 6px var(--shadow);
}

@media (width >=600px) {
    .hero {
        margin: 0 -4rem;
        width: calc(100% + 8rem);
    }
}

/* ALBUM STYLING */

.album {
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: 300ms;
    height: 200px;
}

.album:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px 2px var(--shadow);
}

@media (width >=800px) {
    .album {
        width: 100%;
    }
}

.album img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--main);

    border-radius: var(--borderRadius);
}

.album .albumContent {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;

    gap: 0;

    justify-content: center;
    align-items: flex-start;

    padding: 2rem;

    color: var(--background);

    position: absolute;
    bottom: 0;
    background: linear-gradient(90deg, var(--main), 75%, transparent);

    border-radius: var(--borderRadius);

    transition: 300ms;
}

.album:hover .albumContent {
    background-color: var(--mainLight);
}

.album .albumDetails {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;

    padding: 0.5rem 1rem;
    color: var(--background);
    border-radius: 100px;
    position: absolute;
    left: 1rem;
    bottom: 1.5rem;

    transition: 300ms;
}

/* VIDEO SYLING */

.video {
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: 300ms;

    border-radius: var(--borderRadius);
}

@media (width >=800px) {
    .video {
        width: calc(50% - 0.5rem);
    }
}

/* TABS STYLING */

.tabs {
    position: sticky;
    top: 55px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 0rem;

    overflow-x: scroll;

    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */

    border-radius: 0 0 var(--borderRadius) var(--borderRadius);

    width: auto !important;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tabs button {
    background-color: var(--background);
    border-bottom: 1px solid var(--main);
    color: var(--main);
    white-space: nowrap;

    border-radius: 0;
}

.tabs button:first-child {
    border-radius: 0 0 0 var(--borderRadius);
}

.tabs button:not(:first-child) {
    border-left: 1px solid var(--backgroundDark);
}

.tabs button:last-child {
    border-radius: 0 0 var(--borderRadius) 0;
}


.tabs button.active,
.tabs button:active {
    background-color: var(--mainLight);
    white-space: nowrap;
}

@media (width >=600px) {
    .tabs {
        top: 64px;
    }
}

@media (width >=800px) {
    .tabs {
        top: 115px;
    }
}

/* TEAM PLAYERS STYLING */

.itemTable {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    gap: 1rem;
}

.item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;

    cursor: pointer;
    border-radius: var(--borderRadius)6px;

    background-color: var(--background);

    box-shadow: 0px 6px 12px 2px transparent;

    transition: 300ms;
}

.item .itemShelf {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
}

.item .itemShelf .icon:has(+ .itemScore) {
    color: var(--textLight);
}

.item .itemBox {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
    gap: 0.5rem;
}

.item .itemBox:has(> .itemScore) {
    gap: 0.25rem;
}

.item .itemAction {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem;

    text-decoration: none;
}

.item .itemAction.warn {
    color: var(--alert)
}

.item .itemAction.success {
    color: var(--success)
}

.item:hover {
    transform: translateY(-2px);
    color: var(--osl);
    box-shadow: 0px 6px 12px 2px var(--shadow);
}

.item .itemShelf .itemScore {
    color: var(--statsGreen);
    font-weight: 600;
}

/* PLACEHOLDER STYLING */

.placeholder {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 2rem 0;

    opacity: 0.45;

    color: var(--main);
}

.placeholder .icon {
    max-height: 6rem;
    height: 6rem;

    opacity: 0.50;
}

/* TYPEAHEAD STYLING */

form div.typeahead {
    flex-direction: row;
    gap: 1rem;
}

form div.typeahead .twitter-typeahead {
    flex-grow: 1;
}

/* SPONSORS CONTAINER STLYING */

.sponsors {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 2rem;
    flex-wrap: wrap;

    width: calc(100% + 4rem);
}

.sponsor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    max-width: 150px;
    cursor: pointer;
}

.sponsor img {
    height: 150px;
    width: 150px;
    object-fit: contain;

    border-radius: var(--borderRadius);

    background-color: var(--backgroundDark);
    transition: 300ms;
}

.sponsor:hover img {
    transform: translateY(-2px);
    box-shadow: 0px 6px 12px 2px var(--shadow);
}

.sponsor span {
    font-style: italic;
    text-align: center;
}