@font-face {
  font-family: 'iA Writer Quattro';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(ia-quattro-400-normal.woff2) format('woff2');
}

@font-face {
  font-family: 'iA Writer Quattro';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(ia-quattro-700-normal.woff2) format('woff2');
}

html {
  background-color: #151515;

  background-image: url("/assets/bg.png");
  background-repeat: repeat;

  font-family: 'iA Writer Quattro', sans-serif;
}


.container {
  display: flex;
  flex-wrap: nowrap;
  margin-left: auto;
  margin-right: auto;
}

*::-webkit-scrollbar-track {
  background-color: transparent;
}

*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 767px) {

  .main {
    width: 90% !important;
  }

  .header {
    justify-content: center;
    align-items: center;
  }

}

@media screen and (min-width: 768px) {

  .main {
    width: 850px !important;
  }

  .header {
    width: 555px;
    text-align: center;
  }

}

.header input {
  background: #333333;
  color: #CCCCCC;
  border: #666666 1px solid;
}

.header input:focus {
  border: #CCCCCC 1px solid;
  outline: none;
}

.alert-error {
  border-color: #de7979 !important;
  color: #de7979;
}

.alert-error a:hover, a.alert-error:hover {
  color: #b45858;
}

button:disabled {
  color: #2d2d2d;
}

input:disabled {
  color: #2d2d2d;
}

h1, h2, h3, h4, h5, h6 {
  font-family: monospace, monospace;
}

.filters {
  user-select: none;
}

.header {
  background-color: #0C090A;
  color: #b3b8c3;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  min-height: 220px;
  display: flex;
  flex-wrap: wrap;
}

.flex-container > div {
  flex: 1;
}


.header ul {
  list-style-type: none;
}

table {
  width: 100%;
}

.text-has-info {
  text-decoration: underline;
  text-decoration-style: dotted;

  cursor: help;
}

a.btn {
  padding: 2px;
  border: 1px dotted #b3b8c3;
}

a.btn-success {
  color: #5eaf78;
  border: 1px dotted #5eaf78;
}

a.btn-success:hover {
  color: #2af171;
  border: 1px dotted #2af171;
}

.btn-info {
  padding: 2px;
  color: #3498db;
  border: 1px dotted #3498db;
}

.btn-info:hover {
  color: #3498db;
  border: 1px dotted #3498db;
}

.btn-warning {
  padding: 2px;
  color: #f1c40f;
  border: 1px dotted #f1c40f;
}

.btn-warning:hover {
  color: #f1c40f;
  border: 1px dotted #f1c40f;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: rgba(255, 255, 255, 0.5);
}

.pointer {
  cursor: pointer;
}

.bold {
  font-weight: bold;
}

.alert {
  padding: 5px;
  border: 1px dotted #b3b8c3;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-4 {
  margin-bottom: 40px;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-4 {
  margin-top: 40px;
}

.mr-1 {
  margin-right: 10px;
}

.sorter {
  margin-left: 5px;
  border: 1px dotted #b3b8c3;
}

.sorter.active {
  color: #24ff72;
  border: 1px dotted #24ff72;
}

.sorter.disabled {
  cursor: not-allowed;
}

.statistics {
  font-family: monospace, monospace;
  font-variant: petite-caps;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  margin-top: 20px;
  margin-bottom: 20px;
}

.header-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 340px;
  filter: grayscale(80%);
}

.header-image:hover {
  transition: 1s;
  filter: grayscale(0%);
}

fieldset {
  border: 2px dotted #b3b8c3;
}

fieldset button:not(:last-child) {
  margin-right: 10px;
}

.btn-group .btn:not(:last-child) {
  margin-right: 10px;
}

.flag {
  filter: grayscale(50%);
}

.badge-list .badge:not(:last-child) {
  margin-right: 5px;
}

.badge-list .badge {
  font-weight: bold;
  font-style: italic;
  padding: 2px 2px 2px 10px;
}


.badge-list .badge:is(:last-child) {
  padding-right: 10px !important;
}

fieldset p label {
  display: block;
  margin-right: 100px !important;
}

.badge.mod {
  font-style: normal;
  color: #474b56;
  background-color: #fecb21;
}

.badge {
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(91, 88, 88, 0.39);
}

.badge-green {
  font-size: 12px;
  border-color: rgba(150, 187, 150, 0.98);
  color: rgba(150, 187, 150, 0.98) !important;
}

fieldset p {
  float: left;
  margin-left: 15px;
  margin-right: 30px;
}

fieldset > p:nth-of-type(2n){
  margin-right: 250px !important;
}

.term {
  font-size: 15px !important;
  line-height: 1.625;
  background-color: #0C090A;
  color: #b3b8c3;
  width: 555px;
  border: solid 2px #1e1e1e;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
}

.replay-n-details {
  font-size: 14px;
  line-height: initial;
}

.chart {
  filter: grayscale(30%) sepia(20%);
}

.avatar {
  width: 48px;
  height: 48px;
  min-height: 48px;
  object-fit: cover;

  border-radius: 2px;
  filter: grayscale(90%) sepia(20%) brightness(90%);
}

.avatar:hover {
  filter: grayscale(40%) sepia(10%) brightness(90%);
  transition: 0.5s;
}

.term:hover {
  border: solid 2px rgba(91, 88, 88, 0.39);
}

.version {
  margin-top: 7px;
  color: #73757a;
  font-size: 12px;
}

a {
  text-decoration: underline;
  color: #b3b8c3;
  font-weight: bold;
}

a:hover {
  color: rgba(179, 184, 195, 0.67);
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 260px;
  min-height: 72px;
}

.image-container img {
  max-width: 260px;
  filter: grayscale(90%) sepia(20%) brightness(90%);
}

.image-container img:hover {
  filter: grayscale(50%) sepia(10%) brightness(90%);
  transition: 0.5s;
}

.board {
  font-family: serif;
  letter-spacing: -2px;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.4));
  color: white;
  width: 100%;
  font-size: 12px;
  max-width: 260px;
  padding-left: 4px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-stuff {
  animation: fadeIn 1s;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
