body {
  background-color: white;
  color: black;
  font-family: Verdana;
  margin: 10px 20px 10px 20px;
}

.contents {
  margin: 25px;
  background-color: #c5c5c579;
  border-radius: 10px;
  padding: 5px 10px;
}

a {
  color: rgb(5, 84, 158);
  text-decoration: none;
}

.spoiler-list {
  font-size: 20px;
}

.spoiler-list-item {
  list-style: none;
  background-color: #c5c5c579;
  padding: 10px 15px;
  margin: 15px 0px 15px 0px;
  border-radius: 15px;
  width: 75%;
  display: flex;
}

.spoiler-list-item summary {
  cursor: pointer;
  user-select: none;
}

.spoiler-list .secondary-text {
  font-size: 16px;
}

ul.breadcrumb {
  padding: 6px 10px;
  list-style: none;
  background-color: #e0e0e0;
  border-radius: 5px;
  user-select: none;
}

ul.breadcrumb li {
  display: inline;
  font-size: 12px;
}

ul.breadcrumb li+li:before {
  padding: 3px;
  color: black;
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}

ul.definitions {
  margin: 5px 5px 0px 0px;
  list-style: inside;
}

.definition {
  display: flex;
  margin: 20px 0px 20px 0px;
}

.spoiler-list-item > li {
  display: flex;
}

.copyReferenceButton {
  height: 25px;
  font-size: 16px;
  text-decoration: underline;
  color: rgb(5, 84, 158);
  margin-right: 15px;
  background: none;
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  user-select: none;
}

*:target {
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-duration: 5s;
  animation-delay: 0s;
  animation-timing-function: ease;
  animation-fill-mode: both;
  background-color: none;
  animation-name: highlight;
  border-radius: 10px;
}

@keyframes highlight {
    from {
      background-color: yellow;
    }
}

.footer {
  padding: 10px 10px;
  list-style: none;
  background-color: #c5c5c588;
  border-radius: 5px;
  margin-top: 50px;
}

.footer span {
  padding: 10px;
  text-decoration: underline;
  cursor: pointer;
}


.jumptotopbutton {
  display: block;
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #c5c5c579; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

.jumptotopbutton:hover {
  background-color: #c5c5c5cc; /* Add a dark-grey background on hover */
}

.imagelist {
  overflow-x: scroll !important;
  text-wrap: nowrap;
  width: 80%;
  display: flex;
}

.imagelist img {
  margin: 0 5px 0 5px;
}

.maximizable-image img {
  cursor: pointer;
}

.maximizable-image-active {
  scale: 3;
  display: flex;
  margin: auto auto auto auto;
  justify-content: center;
  text-align: center;
}

.imagelist > .maximizable-image-active, .gallery-item > .maximizable-image-active {
  scale: 2.5;
  position: fixed;
  top: 35%;
  left: 35%;
}

.spoiler-list-item li {
  width: 100%;
  height: 100%;
}

.spoiler-list-item details {
  width: 100%;
  height: 100%;
}

table {
  border-collapse: collapse;
  width: 80%;
}

th {
  border: 2px solid black;
  padding: 5px;
  text-align: center;
}

td {
  border: 1px solid gray;
  text-align: center;
  padding: 8px;
}

tr {
  border: 3px solid black;
}

tr:nth-child(1) {
  font-weight: bold;
}

/* td:nth-child(even) {
  background-color: #dddddd;
} */

.question {
  color: rgb(5, 84, 158);
  text-decoration: underline;
  cursor: help;
  display: inline;
}

table .equal1 {
  background: cyan;
}

table .equal2 {
  background: rgb(0, 0, 255, 0.5);
}

table .equal3 {
  background: lightsalmon;
}

table .equal4 {
  background: aquamarine;
}

/* Blocks icons */

.iron-bar-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px 0px;
  float: left;
}

.iron-block-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px 0px;
  float: left;
}

.redstone-block-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px 0px;
  float: left;
}

.gold-block-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -48px 0px;
  float: left;
}

.emerald-block-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -16px;
  float: left;
}

.anvil-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px -16px;
  display: inline-block;
}

.nether-brick-fence-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px -16px;
  display: inline-block;
}

.pickaxe-plates-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -48px -16px;
  display: inline-block;
}

.cobble-wall-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -32px;
  float: left;
}

.crafting-table-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px -32px;
  float: left;
}

.fences-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px -32px;
  float: left;
}

.plates-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -48px -32px;
  display: inline-block;
}

.fence-gates-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -48px;
  float: left;
}

.signs-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px -48px;
  display: inline-block;
}

.ladders-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px -48px;
  display: inline-block;
}

.slabs-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -48px -48px;
  float: left;
}

.stone-button-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -64px;
  display: inline-block;
}

.wooden-button-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px -64px;
  display: inline-block;
}

.endstone-icon {
  background-image: url("./assets/blocks_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px -64px;
  display: inline-block;
}

/* Pickaxe icons */

.wooden-pickaxe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px 0px;
  display: inline-block;
}

.stone-pickaxe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px 0px;
  display: inline-block;
}

.iron-pickaxe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px 0px;
  display: inline-block;
}

.diamond-pickaxe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -16px;
  display: inline-block;
}

.golden-pickaxe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px -16px;
  display: inline-block;
}

/* Axe icons */

.wooden-axe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px -16px;
  display: inline-block;
}

.stone-axe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -32px;
  display: inline-block;
}

.iron-axe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: -16px -32px;
  display: inline-block;
}

.diamond-axe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: -32px -32px;
  display: inline-block;
}

.golden-axe-icon {
  background-image: url("./assets/tools_map.png");
  width: 16px;
  height: 16px;
  background-position: 0px -48px;
  display: inline-block;
}

img {
  user-select: none;
}

.gallery-items {
  /* width: 50vw; */
  display: flex;
  /* column-gap: 10px; */
  /* grid-template-columns: auto auto auto; */
  padding: 10px;
  flex-wrap: wrap;
}

.gallery-item {
  background-color: #c5c5c579;
  display: inline-block;
  border-radius: 15px;
  padding: 15px;
  margin: 0px 16px 16px 16px;
  max-width: 550px;
}

.gallery-item .imagelist {
  width: 550px;
  height: 300px;
}

.gallery-item img, .gallery-item video {
  border-radius: 15px;
}

.search-form fieldset {
  border: none;
  outline: none;
}

.search-form .tags-fieldset, .search-form .type-fieldset {
  display: flex;
}

.search-form .options-fieldset {
  display: block;
}

.search-form {
  padding: 5px;
  background-color: #c5c5c579;
  margin-bottom: 50px;
  border-radius: 15px;
}

.updated {
  background-color: #0274d850;
  padding: 10px;
  padding-top: 2px;
  border-radius: 10px;
  display: block;
}

.updated::before {
  content: "This part of the wiki has been recently updated";
  color: #0275d8;
  /* margin-bottom: 5px; */
  font-size: 12px;
  display: block;
}

.updated a {
  color: black;
}

code {
  font-family: Consolas,"courier new";
  color: crimson;
  background-color: #f1f1f1;
  padding: 2px;
  font-size: 105%;
}

iframe {
  user-select: none;
}

.contents-sidebar {
  position: fixed;
  right: 20px;
  background-color: #e0e0e0;
  border-radius: 15px;
  height: 85%;
  width: 10%;
  padding: 15px 15px 0px 15px;
  text-align: center;
}

.contents-sidebar ul {
  padding: 0 15px 0 15px;
  text-align: left;
}

.contents-sidebar li {
  margin: 10px 0px 10px 0px;
}

.main {
  width: 85%;
}
