:root {
    --grass-base: url(img/grass-base.png);
    --stone: url(img/stone.webp);
    --sky-base: url(img/sky-base.png);
    --bg-color: #e6eff4;
    --diamond-pickaxe: url(img/diamond-pickaxe.webp);
    --egg: url(img/egg.png);
    --note-ico: url(img/sign.webp);
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: "Minecraft Body";
    src: url("font/Minecraft-body/Minecraft-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Minecraft Body";
    src: url("font/Minecraft-body/Minecraft-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Minecraft Body";
    src: url("font/Minecraft-body/Minecraft-BoldItalic.otf") format("opentype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "Minecraft Body";
    src: url("font/Minecraft-body/Minecraft-Italic.otf") format("opentype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Minecraft Title";
    src: url(font/Minecraft-title/Minecrafter.Reg.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@keyframes scroll-cloud {
    from {
        background-position-x: 0px;
    }

    to {
        background-position-x: 1000px;
    }
}

a {
    font-family: "Minecraft Body";
}

li+img {
    max-width: 80%;
    margin-left: 2em;
    margin-top: .33em;
}

#nav {
    position: sticky;
    top: 30px;
    background-color: var(--bg-color);
    padding: .33em;
    height: fit-content;
    border-color: black;
    border-style: solid;
}

#nav ul {
    padding-left: 0px;
    margin: 8px 0px;
    list-style: none;
}

#nav ul li::before {
    height: 1em;
    width: 1em;
    display: inline-block;
    content: "";
    background-image: var(--diamond-pickaxe);
    background-size: contain;
}

.egg-list {
    padding-left: 0px;
}

.egg-list li {
    list-style: none;
    margin: .5em 0px;
}

.egg-list li::before {
    height: 1em;
    width: 1em;
    display: inline-block;
    content: "";
    background-image: var(--egg);
    background-size: contain
}

.content p {
    margin: 8px 0;
}

.cool-copy-text {
    font-family: "Minecraft Body";
    font-weight: normal;
    color: white;
    border-color: lightgray;
    background-color: black;
    border-width: 1px;
    border-style: solid;
    padding: .1em .33em;
    margin-bottom: 0;
    margin-top: .3em;
    width: fit-content;
    font-size: larger;
}

.copy-button {
    background: #999 url("img/bgbtn.png") center contain;
    font-family: 'Minecraft Body';
    image-rendering: pixelated;
    border: 2px solid #000;
    cursor: pointer;
    user-select: none;
    padding-bottom: .3em;    
    color: #DDD;
    text-shadow: 2px 2px #000A;
    box-shadow: inset -2px -4px #0006, inset 2px 2px #FFF7;
    font-size: larger;
}

.copy-button:hover {
    background-color: rgba(100, 100, 255, .45);
    text-shadow: 2px 2px #202013CC;
    color: #FFFFA0;
    box-shadow: inset -2px -4px #0004, inset 2px 2px #FFF5;
}

#nav-wrapper {
    height: 100%;
    top: 185px;
    position: relative;
    display: grid;
    justify-content: center;
}

@media screen and (max-width:1200px) {
    #nav {
        display: none;
    }
}

#header-background {
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 0.1) 158px, rgba(255, 255, 255, 0) 0), var(--grass-base), linear-gradient(0deg, rgba(255, 255, 255, 0) 168px, rgb(227, 227, 227) 168px, rgb(203, 217, 231) 210px, rgb(141, 189, 233) 268px);
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 100%;
    background-repeat: repeat-x;
    background-size: 160px;
    content: "";
    height: 305px;
    width: 100%;
    position: relative;
    z-index: -2;
    margin-bottom: -305px;
}

.header::before {
    background-image: var(--sky-base);
    background-origin: padding-box;
    background-position-x: 100%;
    background-position-y: 6px;
    background-size: 1000px 100px;
    height: 300px;
    width: 100%;
    z-index: -1;
    content: "";
    display: block;
    background-repeat: repeat-x;
    animation: scroll-cloud 30s linear infinite;
}

.nav-header {
    font-family: "Minecraft Body";
    font-weight: normal;
    color: white;
    border-color: lightgray;
    background-color: black;
    border-width: 3px;
    border-style: solid;
    padding: .1em .33em;
    margin-bottom: .2em;
    margin-top: .1em;
    width: fit-content;
}

#main-content {
    display: grid;
    width: 100%;
    justify-content: center;
    margin: 0;
}

#main-container {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 3fr 1fr;
}

#top img {
    margin-top: 10px;
    margin-bottom: 50px;
    max-width: 80vw;
}

#top {
    display: flex;
    justify-content: center;
    width: 100%;
}

.content-section {
    display: grid;
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: 3px;
    margin-top: 5px;
}

.section-header {
    font-family: "Minecraft Body";
    font-weight: normal;
    color: white;
    border-color: lightgray;
    background-color: black;
    border-width: 3px;
    border-style: solid;
    padding: .1em .33em;
    margin-bottom: .2em;
    margin-top: .3em;
    width: fit-content;
}

.section-header:first-of-type {
    margin-top: 0px;
}

.section-header::after {
    content: "_"
}

.content {
    background-color: white;
    border-style: solid;
    border-color: lightgray;
    border-width: 1px;
    padding: 1em 2em;
}

.note {
    padding: .33em;
    border-color: #ffeb3b;
    border-style: solid;
    border-width: 2px;
    background-color: #ffffcc;
    font-family: "Minecraft Body"
}

.note::before {
    content: "";
    height: 1.33em;
    width: 1.33em;
    background-image: var(--note-ico);
    background-size: cover;
    display: inline-block;
    margin: 0 .5em;
}

.note+.note {
    margin-top:8px;
}

body {
    margin: 0px;
    background-image: var(--stone);
    /* background-position-y: 310px; */
    font-family: Rubik, Helvetica, sans-serif;
}