.icon {
    width: 64px;
    height: 64px;
}

html {
    width: 100%;
    height: 100%;
    display: table;
}

body {
    width: 100%;
    display: table-cell;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Minecraft', poppins, system-ui;
    font-size: 32px;
    background: #000d1a;
    color: #ffffff;

    border: 100px solid transparent;
    image-rendering: pixelated;
    border-image: url("https://liukrast.net/assets/liukrast/textures/blueprint_border.png") 16 16 16 16 repeat;

    background-image: url("https://liukrast.net/assets/liukrast/textures/blueprint.png");
    background-size: 100px;
}


h1 {
    display: flex;
    position: relative;
    text-align: center;
    font-family: 'MinecraftFiveBold', poppins, system-ui;
    font-weight: 600;
    color: white;
    margin: 0;
    font-size: 64px;

    font-family: "MinecraftTen";
    font-smooth: never;
    -webkit-font-smoothing : none;
}

h1 div {
    margin: 0 10px;
    display: inline;
}

h1 img {
    display: inline;
    width: 100px;
    height: 100px;
    image-rendering: auto;
}

h2 {
    margin: 10px;
    text-align: center;
    display: flex;
    align-items: center;
}

h2 div {
    display: inline;
}

h2 img {
    width: 48px;
    height: 48px;
    margin: 0 10px;
    display: inline;
}

h2 a {
    vertical-align: top;
}

.breadcrumb {
    font-size: 20px;
    margin-bottom: 20px;
    background-color: darkslategray;
    border: 10px solid darkslategray;
    overflow:hidden;
}

input {
    font-family: Minecraft, poppins, system-ui;
    font-size: 20px;
    margin-bottom: 20px;
    background-color: mediumaquamarine;
    border: 10px solid mediumaquamarine;
    overflow:hidden;
    color:indianred
}

input::placeholder {
   color:white; 
}

li {
    display: flex;
    position: relative;
    background-color: darkslateblue;
    margin-bottom: 20px;
    border: 10px transparent darkslateblue;
    align-items: center;
    overflow:hidden;
    text-overflow:initial;
}

li img {
    display: inline;
}

li div {
    display: inline;
}

li div a {
    padding: 32px;
}

a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
ul {
    list-style: none;
    padding-left: 0;
}
.breadcrumb a {
    margin-right: 5px;
}

.mod-button {
    vertical-align: middle;
    transition: filter 0.2s ease-in-out;
}

.mod-button:hover {
    filter: brightness(1.2);
}

details div pre {
    background-color: gray;
    border: 2px solid gray;
    border-radius: 5px;
}

details div button {
    background-color: var(--color-cf);
    border: none;
    font-size: 1em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    padding: 0.4em 0.8em;
    font-family: "MinecraftFive";
    font-smooth: never;
    -webkit-font-smoothing : none;
}

details div button:hover {
    background-color: white;
}

summary {
  list-style: none;          /* rimuove la freccia nativa */
  cursor: pointer;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;             /* Safari/Chrome fix */
}

/* aggiungi la tua icona come pseudo-elemento */
summary::before {
  content: '>';              /* oppure usa una icona, es: url(icon.png) */
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s ease;
}

/* quando il details è aperto */
details[open] summary::before {
  transform: rotate(90deg);  /* ruota la freccia */
}


@media (max-width: 1060px) {
    h1 img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 973px) {
    h2 img {
        width: 96px;
        height: 96px;
    }
}

@media (max-width: 925px) {
    h2 div {
        font-size: 32px
    }
    h2 img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 896px) {
    h2 img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 865px) {
    h1 img {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 32px;
    }

    li div a {
        font-size: 16px;
    }
}

@media (max-width: 755px) {
    h2 {
        display: inherit;
        align-items: center;
    }
    h2 div {
        display: none;
    }
}

@media (max-width: 655px) {
    h1 img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 590px) {
    h2 img {
        margin: 0 0px;
    }
}

@media (max-width: 545px) {
    h1 {
        display: inherit;
        text-align:center;
    }
}

@media (max-width: 529px) {
    h2 img {
        width: 48px;
        height: 48px;
    }
}


@media (max-width: 433px) {
    h1 div {
        display: none;
    }
    h2 img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 409px) {
    h2 img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 385px) {
    h2 img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 361px) {
    h2 img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 337px) {
    h2 img {
        width: 12px;
        height: 12px;
    }
}