@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  src: url(/assets/fonts/JetBrainsMono-Regular.woff2) format('woff2');
}
@font-face {
  font-family: 'Maple Mono';
  font-style: normal;
  src: url(/assets/fonts/MapleMono-NF-ExtraBold.ttf) format('woff2');
}
@font-face {
  font-family: 'NF';
  src: url("https://www.nerdfonts.com/assets/fonts/Symbols-2048-em%20Nerd%20Font%20Complete.woff2") format("woff2");
  font-weight: normal;
  font-style: normal
}
@keyframes FadeIn_rev {
  from {translate: 0px -50px; opacity: 0;}
  to {translate: 0px 0px; opacity: 1;}
}
@keyframes LoadingBorder {
  0% {stroke-dashoffset: 0;}
  100% {stroke-dashoffset: 670;}
}
@keyframes Spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(1440deg);}
}
@keyframes Ping {
  0% {transform: scale(0.5); opacity: 1;}
  80% {transform: scale(1.4); opacity: 0;}
  100% {transform: scale(1.4); opacity: 0;}
}
@keyframes FadeIn {
  from {translate: 0px 40px; opacity: 0;}
  to {translate: 0px 0px; opacity: 1;}
}
@keyframes FadeOut {
  from {translate: 0px 0px; opacity: 1;}
  to {translate: 0px 40px; opacity: 0;}
}
:root {
  --accent-1: #24283b;
  --accent-1-hover: #2c3047;
  --accent-2: #352f69;
  --accent-2-hover: #342e65;
  --accent-3: #6874aa;
  --accent-4: #d5c8ff;
  --accent-5: #222535;
  --accent-5-hover: #262a3e;
  --accent-disabled: #23252e;
  --accent-success: #194d33;
  --bg: #1a1b26;
}
* {
  padding:0;
  font-family: "Noto Sans", Arial, system-ui;
  color: #c0caf5;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-thumb {
  background: rgba(77,71,109,35%);
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(77,71,109,55%);
  transition: all .5s ease-in-out;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 8px;
  background-color: var(--bg);
}
h1 {
  font-size:3em;
  line-height:0.7em;
}
#randomMsgBody h2 {
  margin: .4em;
}
p {
  font-size:1em;
  line-height:2em;
  margin:1px;
}
img {
  object-fit: cover;
}
table#guess-table td, th {
  padding: 8px;
  background: var(--accent-1-hover);
  border-radius: 4px;
}
table.changelog tr::before {
  padding-left: 8px;
  content: "• ";
  font-weight: bolder;
}
table.changelog td {
  font-family: 'JetBrains Mono';
}
table.changelog td:first-child {
  width: 95px;
}
td {
  padding: inherit;
}
tr {
  padding-left: 8px;
}
li {
  padding-left: 16px;
  list-style-position: inside;
  font-family: inherit;
}
button {
  font-size: medium;
  padding: 8px;
  border: solid 2px #565f89;
  border-radius: 4px;
  background-color: var(--accent-1);
  transition: ease-in-out .2s background-color, transform;
}
button:hover {
  background-color: var(--accent-1-hover);
  transition: ease-in-out .2s background-color;
}
button:active {
  transform: scale(0.95);
  transition: ease-in-out .05s transform;
}
.disabled, .disabled:hover, .disabled:active{
  background-color: var(--accent-disabled) !important;
  transform: scale(1) !important;
  cursor: not-allowed;
}
a.linkButton {
  font-size: medium;
  padding: 8px;
  border: solid 2px #565f89;
  border-radius: 4px;
  background-color: var(--accent-1);
  transition: ease-in-out .2s background-color;
  text-decoration: none;
  /* height: 2.5em; */
}
a.linkButton:hover {
  background-color: var(--accent-1-hover);
  transition: ease-in-out .2s background-color;
}
input {
  font-size: medium;
  padding: 8px;
  border: solid 2px #565f89;
  border-radius: 4px;
  background-color: var(--accent-1);
  transition: ease-in-out .2s background-color, transform;
}
input:hover {
  background-color: var(--accent-1-hover);
  transition: ease-in-out .2s background-color;
}
input:focus-visible {
  outline: 3px inset;
  background-color: var(--accent-2-hover);
  transition: ease-in-out .2s;
}
input[type="checkbox"] {
  height: 16px;
}
input:required {
  border: 2px solid #7f7324;
}
.body {
  display: grid;
  padding: 12px;
  text-align: center;
  align-items: start;
  align-content: stretch;
  justify-content: center;
  justify-items: stretch;
  min-height: 70vh;
  gap: 3em;
}
.body-section {
  min-height: 10vh;
  width: 80vw;
  border-radius: 8px;
  border: #565f89 2px solid;
  padding: 20px;
}
#logo {
    position: absolute;
    filter: brightness(0.5);
    z-index:-100;
}
#msgButtonsContainer {
  display: flex;
  flex-direction: row;
}
#msgButtonsContainer button {
  padding: 8px;
  border: none;
  width: 15em;
  margin-bottom: 4px;
  transition-property: width, background-color, transform;
}
#msgButtonsContainer button:hover {
  width: 17em;
  transition-property: width, background-color, transform;
}
#randomMsgBody{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-around;
  gap: 1em;
}
#foot {
    display: flex;
    gap: 1em;
    align-items: center;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 5;
}
#emote-display {
  height: 256px;
  width: auto;
  min-width: 256px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#emote-image-container {
  display: flex;
}
#emote-image-container svg {
  position: absolute;
}
#emote-image {
  object-fit: contain;
  max-width: 256px;
}
#twitch-status {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 1em;
}
#channel-info, #stream-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  flex: 1 1;
}
#channel-info #followers {
  display: flex;
  align-items: baseline;
  font-size: 30px;
}
#channel-info h6 {
  margin: 0;
}
#Pinger {
  animation: Ping 2s infinite ease-out;
}
#notif {
  display: none;
  min-width: 150px;
  margin-left: -75px;
  background-color: var(--accent-2);
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 0;
}
#notif.shown {
  display: block;
  animation: FadeIn 0.5s cubic-bezier(0.53, 0.01, 0.39, 1.39), FadeOut 0.5s 1.5s ease-out;
}
#refresh-btn {
  display: block;
  padding: 10px;
  background-color: var(--accent-2);
  z-index: 5;
  bottom: 20px;
  right: 20px;
  position: fixed;
  border-radius: 4px;
  width: 38px;
  cursor: pointer;
}
#refresh-btn:hover {
  background-color: var(--accent-5-hover);
  transition: all;
}
.live-indicator {
  margin-right: 8px;
}
.rmsgDiv {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1 1;
}
.fetchDisplay {
  display: flex;
  padding: 9px 12px;
  margin: 2px;
  border-radius: 8px;
  background-color: #14151e;
  z-index: 1;
  /* font-family: "JetBrainsMono"; doesn't work i cba to fix rn*/
}
#emote-display .fetchDisplay {
  width: 97%;
  height: 97%;
  align-items: center;
  justify-content: center;
}
.gradientContainer {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-top: .4em;
}
.gradient-border {
  border: none;
  position: relative;
}
.gradient-border::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  background: linear-gradient(168deg, #908e8e 10%, #454589 60%),
  linear-gradient(0deg, #FFFFFF, #FFFFFF);
  animation: var(--placeholder-anim);
  z-index: -5;
}
.loading-border {
  stroke-dasharray: 52;
  stroke-width: 4px;
  fill: transparent;
  /* stroke: rgba(120, 100, 213, 0.5); */
  animation: LoadingBorder 2s ease-in-out alternate-reverse infinite;
  z-index: -5;
}
.horiz-divider {
  background: white;
  width: 10px;
  height: 4px;
  border-radius: 20px;
}
.linkicon {
  display: flex;
  align-items: center;
  place-content: center;
  height: 20px;
  width: 20px;
}
.iconButton {
  display: flex;
  align-items: center;
}
.quicklinks {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px;
  gap: 1.1em;
  justify-content: center;
  align-self: flex-end;
  transition: all 0.3s;
}
.quicklinks a {
  filter: brightness(1);
  transition: all 0.3s;
}
.quicklinks a:hover {
  filter: brightness(1.4);
  transform: scale(1.15);
  transition: all 0.3s;
}
.quicklinks .linkicon {
  transition: all 0.3s;
}
.quicklinks:has(.linkicon:hover) .linkicon:not(:hover) {
  filter: grayscale(1) contrast(.8);
  transform: scale(0.85);
  transition: all 0.3s;
}
.quicklinks a[href*="github.com"] .linkicon {
  filter: contrast(0.5);
}
.quicklinks:has(.linkicon:hover)  a[href*="github.com"] .linkicon:not(:hover) {
  filter: contrast(0.25) !important;
}
/* navbar */
.NavBar-wrap {
  box-sizing: unset !important;
  width: 100%;
  justify-content: space-between;
  max-width: 100%;
  height: 40px;
  display: flex;
  position: sticky;
  z-index: 101;
  margin-bottom: 2vh;
}
.NavBar-wrap > div {
  animation: FadeIn_rev 0.8s;
}
.NavBar-title {
  background-color: var(--accent-1);
  position: fixed;
  height: fit-content;
  border-radius: 8px;
  z-index: 3;
  display: flex;
}
.NavBar-pages {
  display: flex;
  justify-content: flex-end;
  background-color: var(--accent-1);
  backdrop-filter: blur(4px);
  position: fixed;
  right: 10px;
  border-radius: 8px;
  height: fit-content;
  z-index: 3;
}
.NavBar-wrap button {
  border-radius: 8px;
  padding: 10px 16px;
  border: none;
  width: initial;
  transition: ease 0.3s all;
  background-color: transparent;
}
.NavBar-wrap button:hover, .DDButton:hover {
  color: rgb(255, 255, 255);
  transition: ease .3s all;
  background-color: var(--accent-1-hover);
}
.NavBar-wrap button:active {
  transition: ease 0.05s all;
}
.NavBar-wrap button.active {
  background-color: var(--accent-2);
  color: var(--accent-4);
  text-decoration: none;
  cursor: default;
}
.NavBar-wrap button.active:hover {
  color: white;
}
.NavBar-pages a {
  color: rgb(255, 255, 255);
  padding: 12px 15px;
  text-align: center;
  display: inline-block;
  border-radius: 6px;
  transition-duration: 0.4s;
}
.NavBar-pages a:hover {
  background-color: var(--accent-1-hover);
  border-radius: 10px;
  transition-duration: 0.4s;
}
.active {
  background-color: var(--accent-2);
  text-decoration: none;
  cursor: default;
}
.DD {
  position: relative;
  display: inline-block;
  border-radius: 12px;
}
.DDButton {
  border-radius: 0px;
  width: auto;
  padding: 12px 15px;
  text-align: center;
  transition-duration: 0.4s;
  transition-property: all;
  transition-timing-function: ease;
  z-index: inherit;
}
.DDButton:hover {
  border-radius: 0px;
  width: auto;
  transition-duration: 0.4s;
  background-color: rgba(248, 54, 255, .5);
}
.DDButton:active {
  background-color: rgb(194, 0, 201);
}
.DDContent {
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  display: none;
  margin-left: -3px;
  width: 150px;
  transition: opacity 0.4s;
  border-radius: 12px;
}
.DDContent a {
  float: none;
  display: block;
  border-radius: 12px;
  padding: 12px 15px;
  width: 150px;
  z-index: 4;
  min-width: 70px;
  text-decoration: none;
}
.DDContent a.active {
  background-color: rgb(194, 0, 201);
  text-align: center;
  text-decoration: none;
}
.about-h2 {
  position: relative;
  border-radius: 8px;
  padding: 4px 8px;
  max-width: max-content;
  text-align: left;
  margin: 0;
  left: 80px;
  top: -38px;
  background: #1a1b26;
  z-index: 3;
}
.logDisplay {
  min-height: 200px;
  font-family: "JetBrains Mono";
  background: #131212;
  text-align: left;
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.logDisplay b {
  font-weight:600;
  color: inherit;
}
.logDisplay a, .logDisplay span, .logDisplay b {
  font-family:'JetBrains Mono';
}
.stats-container .stats {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stats-container div h2 {
  margin: 2px 0px;
}
.toggle-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.toggle-container input {
  opacity: 0;
  height: 0;
  width: 0;
}
.check {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #333;
}
.check::after {
  content: "";
  position: absolute;
  display: none;
}
.toggle-container input:checked ~ .check::after {
  display: block;
}
.toggle-container:hover ~ .check {
  background-color: #2c3047;
}
.toggle-container input:checked ~ .check {
  background-color: #2196F3;
}
.toggle-container .check::after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
[data-tooltip] {
  transition: all 5s;
  text-decoration: dashed underline;
  cursor: help;
}
[data-tooltip]::after {
  opacity: 0;
}
[data-tooltip]:hover::after {
  display: block;
  left: 50%;
  position: absolute;
  content: attr(data-tooltip);
  /* border: 2px solid black; */
  border-radius: 6px;
  background: #23252e;
  padding: .25em;
  opacity: 1;
  transition: all .5s;
}
button[data-enabled="false"] {
  background: #2d2e33;
  transition: background .5s;
}
button[data-enabled="false"]:hover {
  background: #3c3f4c;
  transition: background .5s;
}
button[data-enabled="true"] {
  background: #346231;
  transition: background .5s;
}
button[data-enabled="true"]:hover {
  background: #277f22;
  transition: background .5s;
}
.rank-iron {
  background-image: linear-gradient(to right, rgb(228, 228, 231), rgb(113, 113, 122));
}
.rank-gold {
  background-image: linear-gradient(to right, rgb(234, 179, 8), rgb(253, 224, 71));
}
.rank-em {
  background-image: linear-gradient(to right, rgb(16, 185, 129), rgb(5, 150, 105));
}
.rank-em, .rank-gold, .rank-iron {
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Maple Mono" !important;
  font-weight: 800;
  color: transparent;
}
.force-large {
  font-size: large !important;
}
.number {
  font-weight: 800;
}
.cards-container {
  display: flex;
  gap: 1%;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 10px;
}
.card {
  display: flex;
  border: solid 4px;
  border-color: var(--accent-3);
  border-radius: 8px;
  background: rgba(156, 156, 156, 0.1);
  min-width: 21vw;
  flex-basis: min-content;
  flex: 1 1;
  margin-bottom: 1em;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
  padding-bottom: 4px;
}
.card:hover {
  transform: scale(1.05);
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  backdrop-filter: none;
  backdrop-filter: saturate(1);
}
.card-content img {
	/* height: 15em; */
	object-fit: cover;
	width: 100%;
}
.card-image img {
  -webkit-mask: linear-gradient(to bottom, #000, transparent 93%);
  mask: linear-gradient(to bottom, #000 50%, transparent 93%);
  transition: all ease-in-out 0.2s;
}
.card-image img:hover {
  filter: brightness(1.15);
  transition: all ease-in-out 0.2s;
}
.card-title {
  font-weight: bold;
  padding: 0px 8px;
  margin-bottom: 1em;
}
.card-duration {
  position: absolute;
  right: 5px;
  top: 5px;
  background: rgba(0,0,0,0.6);
  padding: 0px 6px;
  border-radius: 4px;
}
.mcsr-card-match {
  border: solid 4px;
  border-color: var(--accent-3);
  border-radius: 8px;
  background: var(--accent-5);
  margin-bottom: 1em;
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
  padding: 4px;
  max-height: 3.4em;
  cursor: zoom-in;
  overflow: hidden;
}
.mcsr-card-match:hover {
  background: var(--accent-5-hover);
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
  filter: contrast(1.03);
}
.vs-card-container:has(.mcsr-card-match:hover) .mcsr-card-match:not(:hover){
  filter:contrast(0.95);
}
.mcsr-card-match.expanded {
  max-height: 12em;
  transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.mcsr-card-match .mcsr-cm-main {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  font-weight: bold;
  align-items: center;
}
.mcsr-cm-main div {
  flex: 1 0;
}
.mcsr-card-match .mcsr-cm-main a {
  text-decoration: none;
}
.mcsr-card-match .expand-content p {
  font-family: "JetBrains Mono";
}
.mcsr-card-match .mcsr-opp {
  padding: 0px 16px;
  min-width: 25%;
  text-align: left;
}
.mcsr-card-match .mcsr-date {
  text-align: right;
  min-width: 25%;
}
.mcsr-card-match .expand-content {
  display: none;
  border-top: var(--accent-4) solid 1px;
  padding: 0px 4px;
  gap: 1em;
  justify-content: space-evenly;
}
