body {
  overflow: hidden;
}

#toastContainer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1056;
  font-weight: bold;
}

#toastContainer > div > div {
  font-size: 1.5em;
}

#myBrackets,
#mytrivia {
  max-height: 50vh;
  overflow: auto;
}

#lists {
  max-height: 90vh;
  overflow: auto;
  margin-bottom: 300px;
}

#bracketEditorBody,
#triviaEditorBody {
  height: 85vh;
  overflow: auto;
}

#bracketOptionsContainer,
#triviaQuestionsContainer {
  height: 50vh;
  overflow: auto;
}

#scoreAccordion {
  height: 70vh;
  overflow-y: auto;
}

#triviaTimer {
  transition-timing-function: linear;
  transition-duration: 0s;
}

#questionNumber {
  font-size: 1.3rem;
  font-weight: 700;
}

#triviaUsers {
  word-wrap: break-word;
}

#question,
#triviaAnswer {
  text-align: center;
  font-size: 2rem;
}

.resizable {
  display: inline-block;
  resize: both;
  overflow: hidden;
  line-height: 0;
  vertical-align: middle;
}

.resizable img {
  height: 100%;
}

.custom-popover {
  --bs-popover-border-color: var(--bs-warning);
  --bs-popover-header-bg: var(--bs-warning);
  --bs-popover-header-color: var(--bs-white);
}

.deletebtn {
  color: #e74c3c;
}

.deletebtn:hover {
  color: #c44133;
  cursor: pointer;
}

.scoreDiv {
  height: 40px;
  box-sizing: border-box;
  display: inline-block;
  border-width: 1px;
  border: 1px solid var(--bs-secondary-color);
  border-radius: 6px;
  padding: 6px;
  vertical-align: middle;
  color: var(--bs-secondary-color);
}

.generate-preview {
  max-height: 30vh;
  overflow: auto;
}

.my-bracket-body,
.my-trivia-body {
  max-height: 20vh;
  overflow: auto;
}

#left_title {
  height: 10vh;
  width: 30vw;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  font-size: 1.4rem;
  margin-bottom: 5px;
  z-index: 100;
}

#left_title > .card-body,
#centerTitle > .card-body,
#right_title > .card-body {
  padding: 5px;
}

#centertitle {
  width: 10vw;
  display: inline-flex;
  font-size: 1.1rem;
}

#triviaQuestion {
  width: 15vw;
  display: inline-flex;
  font-size: 1.2rem;
}

#winnerTitle {
  width: 25vw;
  display: inline-flex;
}

#right_title {
  height: 10vh;
  width: 30vw;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  font-size: 1.4rem;
  margin-bottom: 5px;
  z-index: 100;
}

#left_card.zoomed {
  z-index: 102;
}

#right_card.zoomed {
  z-index: 101;
}

#left_value,
#right_value {
  height: 540px;
  width: 100%;
}

#left_value > *,
#right_value > * {
  height: 100%;
  width: 100%;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

#left_value > * > *,
#right_value > * > * {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

#image_trivia {
  height: 100%;
}

#youtubeEmbedContainer_trivia,
#twitchClipsEmbed_trivia,
#videoEmbed_trivia {
  height: 50vh;
  width: 100%;
}

#spotifyEmbedContainer_trivia {
  width: 100%;
}

#spotifyEmbedContainer_trivia > *,
#spotifyEmbedContainer_tierlist > * {
  border-radius: 13px;
}

#hideScore {
  height: 38px;
}

.option-image {
  max-height: 50vh;
  max-width: 100%;
}

#tierlist {
  height: 100%;
}

#tierlistContainer {
  display: flex;
  flex-direction: column;
  height: 75vh;
  overflow: auto;
}

.tierlist-tier {
  flex: 1 0 0;
}

.tierlist-tier > .row {
  height: 100%;
}

.tierlist-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  word-break: break-all;
  width: 100px;
}

#upcoming {
  position: fixed;
  bottom: 12px;
  width: 100%;
}

#upcoming_thumbnails {
  overflow: auto;
  white-space: nowrap;
}

#upcoming_thumbnails > div {
  display: inline;
  overflow-wrap: break-word;
  max-width: 200px;
  word-break: break-all;
}

.tierlist-item {
  height: 10vh;
}

.tier-color {
  height: 40px;
}

#tierlistItem {
  position: fixed;
  width: 1000px;
  height: 600px;
  border: 2px solid var(--bs-secondary-border-subtle);
  background-color: var(--bs-tertiary-bg);
  border-radius: 6px;
  padding: 22px;
  box-shadow: 3px 3px 10px #000000;
  scale: 1;
  user-select: none;
  z-index: 1000;
}

#currentTierlistItem {
  height: 520px;
  border-radius: 6px;
}

#text_image_tierlist,
#youtubeEmbedContainer_tierlist,
#spotifyEmbedContainer_tierlist,
#twitchClipsEmbed_tierlist,
#videoEmbed_tierlist {
  height: 100%;
  max-width: 720px;
}

#text_image_tierlist > img,
#youtubeEmbedContainer_tierlist > *,
#videoEmbed_tierlist,
#twitchClipsEmbed_tierlist > * {
  max-width: 720px;
  border-radius: 6px;
}
