.rem-italic-bolded { 
  font-family: "REM", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
}

.inter-regular {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.inter-thinitalic {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: italic;
}  

.inter-bolditalic {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 632;
  font-style: italic;
}

:root {
  --yellow: #FFA305;
  --pink: #F22C8C;
  --blue: #0099E0;
  --green: #13AB03;
  --gold: #FFD000;
  --black: #000000;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  overflow-y: auto;
}

.teams-layout {
  display: flex;
  position: absolute;
  top: 7em;
}

.teams-menu {
  background: #F5D6F4;
  border-right: 4px solid #000000;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.teams-menu button {
  border: none;
  background: #e3e3e3;
  color: var(--black);
  border-radius: 0; 
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: bold;
  padding: .5rem .75rem;
  text-align: left;
  cursor: pointer;
  border-bottom: 2px solid var(--black);
}
.teams-menu button.active,
.teams-menu button:focus {
  background: #462445;
  color: #e3e3e3;
}

.team-content {
  flex: 1;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column; 
  max-width: fit-content;
}

.team-tab-bar {
  padding: 0.5rem 2rem;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  width: fit-content;
  position: relative;
  top: 0;
  left: 0;
  z-index: 2;
}

.team-tab-name {
  background: #F3E9B9;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 632;
  font-style: italic;  font-size: 2rem;
  color: var(--black);
  letter-spacing: 1px;
  text-shadow: none;
  padding: 3px;
}

.team-content-inner { 
  background-color: #F3E9B9;
  border-radius: 8px;
  padding: 20px;
  max-width: 80em;
  height: fit-content;
}

.team-content-vis {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.team-content-deck {
  display: flex;
}


.team-logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.team-palette {
  width: 400px;
  height: 140px;
}

.team-court-row {
  width: 100%;
  margin-top: 2.5rem;
  display: flex;
  height: fit-content;
}

.team-court {
  width: 50%;
  min-width: 320px;
  max-width: 700px;
  height: auto;
  border: 2px solid var(--black);
  box-shadow: 2px 2px 0 var(--black);
}

/* Add to teams-wnba.css */
.team-deck-section {
  margin-top: 2rem;
  text-align: center;
  display: flex;
}
.team-deck-img {
  width: 200px;
}
.team-deck-img:hover {
  transform: scale(1.05);
}
.team-deck-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-left: 1rem;
}

.player-card img {
  width: 15em;
  height: auto;
  display: block;
}

.placeholder {
  color: var(--blue);
  font-size: 2rem;
  margin-top: 4rem;
  font-family: 'REM', 'Arial', sans-serif;
}

@media (max-width: 390px) {
  .teams-layout {
    display: grid;
    justify-items: center;
    margin-top: 2em
  }
.teams-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: 20em;
  flex-wrap: wrap;
  position: unset !important;
  background: none;
  border: none;
}
.teams-menu button {
  width: 8.5em;
  height: 4em;
  margin-left: .5em;
  margin-bottom: .25em;
  text-align: center;
  border: solid 2px var(--black);
}
.teams-menu button.active,
.teams-menu button:hover {
  background: #462445;
  color: #e3e3e3;
  border: solid 2px #e3e3e3;
}
.team-tab-name {
  font-size: 1.3em;
  padding: 5px;
  padding-bottom: .5em;
  border-radius: 4px 4px 0 0;
  text-transform: uppercase;
  font-style: italic;
}

.team-content-inner {
  max-width: 385px;
  padding: 10px;
}

.team-content-vis {
  display: flex;
  flex-direction: column-reverse;
  gap: .5em;
}

.team-logo {
  display: block !important;
  margin-top: -4em;
  z-index: 2;
  position: relative;
  height: auto;
}
.team-palette {
  width: 320px;
}

.team-deck-section {
  display: flex;
  flex-direction: column;
}

}

