@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Rowdies:wght@300;400;700&display=swap');

@font-face{
    font-family: 'Minecraft';
    src: url('../minecraft.otf');
}

.title{
    color: rgb(235, 235, 235);
    font-size: 40px;
    text-align: center;
}

.description{
    color: rgb(196, 196, 196);
    font-size: 25px;
    text-align: center;
}

.graphic{
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.subtitle{
    text-align: center;
    font-size: 30px;
    color: rgb(234, 234, 234);
}

.text{
    text-align: center;
    font-size: 20px;
    color: rgb(193, 193, 193);
}

#wiki{
    width: 40%;
    padding-right: 20px;
}

#main{
    width: 100%;
}

#split{
    display: flex;
}

body,html{
    background-color: rgb(122, 31, 42);
    font-family: 'Minecraft';
}

#sidebar{
    background-color: rgb(166, 85, 85);
    position: fixed;
    height: 100vh;
    padding-left: 5px;
    overflow-y: scroll;
}

.page{
    font-family: 'Minecraft';
    font-size: 30px;
    padding: 15px;
    color: rgb(200, 200, 200);
    cursor: pointer;
}

.splitter{
    border: 1px solid rgb(82, 30, 30);
}

a{
    color: rgb(235, 235, 235);
    text-decoration: none;
    font-weight: bold;
}

a:visited{
    color: rgb(235, 235, 235);
    text-decoration: none;
    font-weight: bold;
}


#status{
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-image: url('/dirt.png');
    image-rendering: pixelated;
    width: fit-content;
    height: fit-content;
    margin: 5% auto;
    padding: 0.1%;
}

.status-icon {
    grid-area: 1 / 1 / 2 / 2;
    height: 100%;
}

.status-text {
    font-family: 'Minecraft';
    width: 100%;
    font-size: 30px;
    margin: 5px;
    grid-area: 1 / 2 / 2 / 3;
}

@media only screen and (max-width: 1160px) {
    .page{
        font-family: 'Minecraft';
        font-size: 30px;
        padding: 15px;
        color: rgb(200, 200, 200);
        cursor: pointer;
    }
    #sidebar{
        background-color: rgb(166, 85, 85);
        position: fixed;
        height: 100vh;
        width: 25%;
        padding-left: 5px;
        overflow-y: scroll;
    }
}

@media only screen and (max-width: 800px) {
    .status-text {
        font-family: 'Minecraft';
        width: 100%;
        font-size: 15px;
        margin: 5px;
        grid-area: 1 / 2 / 2 / 3;
    }

    #sidebar{
        background-color: rgb(166, 85, 85);
        height: 20%;
        width: 97vw;
        padding-bottom: 5px;
        display: flex;
        gap: 10px;
        overflow-x: scroll;
        overflow-y: hidden;
    }
    .page{
        font-family: 'Minecraft';
        font-size: 15px;
        color: rgb(200, 200, 200);
        cursor: pointer;
    }
    .selected{
        color: rgb(255,255,255);
    }
    #main{
        padding-top: 50%;
        width: 98%;
        margin: 0 auto;
    }
    #split{
        display: block;
    }
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgb(183, 63, 77);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(193, 109, 109);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(183, 63, 77);
}

.page:hover{
    color:rgb(237, 237, 237);
}

.selected{
    color: rgb(255,255,255);
}

.copyright{
    font-family: 'Alfa Slab One';
    font-size: 20px;
    background-color: rgb(255, 42, 42);
    color: rgb(220,220,220);
    margin: 0 auto;
    text-align: center;
    padding: 0.1%;
}