@font-face {
  font-family: "minefont";
  src: url("https://epxzzy.github.io/mcfont.woff") format("woff");
}

.wikitable {
  background-color:var(--background-color-neutral-subtle,#f8f9fa);
  color:var(--color-base,#202122);
  margin:1em 0;
  border:1px solid var(--border-color-base,#a2a9b1);
  border-collapse:collapse;
  width: 300px;
}


.toc-container {
  border: 1px solid #a2a9b1;
  border-radius: 4px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  width: 30%
}

.toc-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eaecf0;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin: 3px 0;
}

.toc-link {
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 2px 0;
}

.toc-link:hover {
  text-decoration: underline;
}


.toc-number {
  margin-right: 5px;
}

/* Indentation for subsections */
.toc-level-2 {
  margin-left: 15px;
}

.toc-level-3 {
  margin-left: 30px;
}

.sidebar {
  flex: 1;
  padding: 1.5rem;
  height: fit-content;
  width: 20%;
  display: inline-block;
  position: absolute;
  left: 75%;
  z-index: 1;
}
p, a {
  z-index: 2;
  position: relative;
  width: 75%;
  font-family: system-ui, sans-serif;
}
.block-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  image-rendering: pixelated;
  border: 1px solid #a2a9b1;
}

.wikititle{
  font-family: system-ui, sans-serif;
}

.block-image > img {
  width: 100px;
  height: 100px;

}

.other-image {
  border: 1px solid #a2a9b1;
  width: 20vw;
  height: auto;
}
.other-image > img {
  width: 20vw;
  height: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px solid #eaecf0;
  border: 1px solid #a2a9b1;
  margin-bottom: 1rem;
}

.info-table th,
.info-table td {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}

.info-table th {
  font-weight: bold;
}

.info-table tr:nth-child(even) {
}


.menutitle {
  font-size: 0.85rem;

}

.main1 {
  padding-right: 5px;
  padding-left: 1px;
  padding-top: 10px;
  padding-bottom: 2px;
}

.item {
  background-size: cover;
  background-repeat: no-repeat;
  height: 30px; 
  width:30px; 
  display: block;
  cursor: default;
  margin: auto;
}

.item > .count {
  display: block;
  position: relative;
  bottom: 30px;
  left: 14px;
  font-family: minefont;
  font-size: 18px;
  text-shadow: #333 1px 2px 1px;
  color: white;
}

.craftinggrid {
  padding: 10px 4px 10px 10px;
  display: grid;
  align-content: center;
  grid-template-columns: repeat(3, calc(30px + 4px));
  grid-auto-rows: calc(30px + 4px);
  grid-gap: 0px;
  width: fit-content;
  height: fit-content;
  cursor: default;
}

.craftingarrow {
background: url(https://minecraft.wiki/images/Grid_layout_Arrow_%28small%29.png?a4894) no-repeat;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("https://minecraft.wiki/images/Grid_layout_Arrow_%28small%29.png?a4894");
  width: 32px;
  height: 26px;
  padding-left: 4px;
  padding-right: 4px;
}


.craftingui {
  width: max-content;
  background-color: #c6c6c6;
  box-shadow: 4px 0 0 0 #555555,
    0 4px 0 0 #555555,
    2px 2px 0 0 #555555,
    -4px 0 0 0 #e8e8e8,
    0 -4px 0 0 #e8e8e8,
    -2px -2px 0 0 #e8e8e8,
    0 0 0 2px #b5b4b5,
    2px 4px 0 0 #555,
    4px 2px 0 0 #555,
    -2px -4px 0 0 #e8e8e8,
    -4px -2px 0 0 #e8e8e8,
    4px -2px 0 0 #000,
    2px -4px 0 0 #000,
    -4px 2px 0 0 #000,
    -2px 4px 0 0 #000,
    -4px -4px 0 0 #000,
    4px 4px 0 0 #000,
    -6px 0 0 0 #000,
    -6px -2px 0 0 #000,
    6px 0 0 0 #000,
    6px 2px 0 0 #000,
    0 -6px 0 0 #000,
    -2px -6px 0 0 #000,
    0 6px 0 0 #000,
    2px 6px 0 0 #000;
  margin-left: 8px;
  display: inline-flex; 
  align-items: center;

}

.slot {
  font-size: calc(30px - 6px);
  line-height: 30px;
  text-align: center;
  color: #292929;
  height: 30px;
  width: 30px; 
  background-color: #919191;
  box-shadow: 1px 1px 0 1px #e8e8e8,
    -1px -1px 0 1px #555,
    0 0 0 2px #8b8b8b;
  cursor: default;
}

.slotbig {
  font-size: calc(50px - 6px);
  line-height: 50px;
  text-align: center;
  color: #292929;
  height: 50px;
  width: 50px; 
  background-color: #919191;
  box-shadow: 1px 1px 0 1px #e8e8e8,
    -1px -1px 0 1px #555,
    0 0 0 2px #8b8b8b;
  cursor: default;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}


body {
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 2rem; 
}

main {
  max-width: 900px;
  margin: 0 auto;
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-family: system-ui, sans-serif;
}

ul {
  padding-left: 2rem;
}

section {
  margin-block: 2rem;
}

.links a {
  display: inline-block;
  margin-right: 1rem;
}

details {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-block: 0.5rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.textaligncenter {
   text-align: center;
}
