/* Navigation section titles */
.md-nav__item--section > .md-nav__link {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Navigation pages */
.md-nav__item:not(.md-nav__item--section) > .md-nav__link {
    font-weight: 400;
    font-size: 0.8rem;
}

@font-face {
    font-family: "Cascadia Mono";
    src: url("../assets/fonts/CascadiaMono.ttf") format("ttf");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.md-typeset a {
    padding: 2px 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.md-typeset a:hover {
    color: rgb(255, 166, 0);
    background-color: rgba(255, 166, 0, 0.385);
    text-decoration: none;
}

:root {
    --md-code-font: "Cascadia Mono";
    --md-text-font: "Cascadia Mono";
}

/* Crafting Recipe */

.crafting-recipe {
    position: relative;
    width: 65%;
}

.crafting-background {
    display: block;
    width: 100%;
    height: auto;
}

.recipe-grid {
    position: absolute;
    left: 4.75%;
    top: 9.5%;
    width: 42.1875%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    column-gap: 0;
    row-gap: 0;
}

.recipe-slot {
    aspect-ratio: 128 / 127;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-slot img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    image-rendering: pixelated;
}

.recipe-output {
    position: absolute;

    /* Posición provisional */
    left: 77.5%;
    top: 35%;
    width: 15%;
    height: 30%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-output img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.recipe-count {
    position: absolute;
    right: 0px;
    bottom: -5px;
    color: white;
    font-size: 25px;
    font-weight: bold;
    text-shadow: 2px 2px 2px black;
    pointer-events: none;
}