:root {
    --cor1: #000000;
    --cor2: #44891a;
    --cor3: #15c2a5;
    --cor4: #ffffff;
    --cor5: #a46422;
    --cor6: #cccccc;
    --cor7: #1b2632;
    --cor8: #656d71;
    --cor8: #ff0000;
}


body {
  --sb-track-color: #000000;
  --sb-thumb-color: #ffffff;
  --sb-size: 16px;
}

aside::-webkit-scrollbar {
  width: var(--sb-size);
  
}

aside::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 1px;
}

aside::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 1px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}



body {
    margin: 0px;
    padding: 0px;
    image-rendering: crisp-edges;
    font-family: "PixelCodeL", "Dogica2", "Bytesized", "Pixelify Sans", sans-serif;
    font-size: 1rem;
    color: white;
    background-size: repeat;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    min-height: 100vh;
    min-width: 100%;
    overflow: hidden;
    overflow-y: scroll;
}

a {
    text-decoration: none;
    color: #24db24;
    margin: 0px;
}

p {
    font-family: "PixelCodeL";
    margin: 0px;
    padding: 0px;
    font-size: 1rem;
    font-weight: 300;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    background-color: var(--cor1);
    align-items: center;
}

nav a {
    line-height: 0px;
}

nav h3 {
    margin: 0px;
    padding-left: 16px;
}

layout {
    display: flex;
    flex-grow: 1;
    gap: 16px;
}

hr {
    border: none;
    border-top: 2px solid;
    margin: 8px 0px;
}

aside {
    width: 25%;
    background-color: #000000;
    display: flex;
    margin: 0px;
    gap: 16px;
    padding: 16px;
    flex-direction: column;
    overflow: auto;
    max-height: 98vh;
    direction: rtl;
}


main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    gap: 16px;
    background-image: url(/res/img/bottom3.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.categories {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    gap: 8px;
}

@media screen and (width >=80rem) {
    .catButton {
        letter-spacing: 0px;
        color: white;
        transition: 0.3s;
    }

    .catButton:hover {
        color: orange;
        font-weight: bolder;
        letter-spacing: 8px;
    }
}



/*============================================*/
.bg1 {
    /*background-image: url('/res/img/bggreen.png');
    background-size: repeat;*/
    background-color: var(--cor1);
}

.bg2 {
    /*background-image: url('/res/img/bgorange.png');
    background-size: repeat;*/
    background-color: var(--cor2);
}

.bg3 {
    background-image: url('/res/img/bg3.png');
    background-size: repeat;
}

.bg4 {
    background-image: url('/res/img/bg4.png');
    background-size: repeat;
}

.borderhead {
    border-style: solid solid hidden solid;
    border-color: var(--cor4);
    border-width: 16px;
}

.border1 {
    border: 12px solid transparent; /* Required for border-image */
  border-image: url(/res/img/border.png) 8 round;
}

.logolink{
    max-height: 6rem;
    width: auto;
    transition: 0.2s;
}

.logolink:hover{
    transform: scale(1.5);
    transition: 1s;
}

.title{
    font-size: 5rem;
    align-self: center;
    align-content: center;
    padding: 0px;
    margin: 0px;
}

.flex {
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.flexcol {
    gap: 8px;
    display: flex;
    flex-direction: row;
}

.wrap {
    flex-wrap: wrap;
}

.around {
    justify-content: space-around;
}


.link {
    color: var(--cor3);
    font-weight: lighter;
    line-height: auto;
}

.h200 {
    min-height: 256px;
}

.h25{
    min-height: 25vh;
}

.wmax{
    min-width: 100%;
}



.left {
    align-self: start;
}

.right {
    align-self: flex-end;
}

.center {
    align-self: center;
}

.pad4 {
    padding: 4px;
}

.pad8 {
    padding: 8px;
}

.pad16 {
    padding: 16px;
}

.nomargin {
    margin: 0px;
}


.half {
    max-width: fit-content;
}

.alias {
    image-rendering: smooth;
}

#postarea {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

article {
    display: flex;
    flex-direction: column;
    max-width: 50ch;
    text-align: justify;
}

article .tags {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

article a {
    color: #15c2a5;
}

article img{
    max-width: 100%;
}

#resumo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 8px;

}

.op50 {
    opacity: 50%;
}

.black {
    color: var(--cor1);
}


/*============================================*/

.lastfm {
    width: 100%;
    aspect-ratio: 2/1;
}



/*============================================*/

.post {
    margin: 2% auto;
    max-width: 70ch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--cor4);
    padding: 16px;
    border: solid 1px var(--cor4);
}

.arte {
   box-shadow: 9px 10px 27px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 9px 10px 27px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 9px 10px 27px 0px rgba(0,0,0,0.75);}

.post img {
    width: 50%;
}

@media screen and (width <=640px) {
    nav {
        align-items: flex-start;
    }

    layout {
        flex-wrap: wrap-reverse;
    }

    aside {
        width: 100%;
    }

    .layout {
        flex-wrap: wrap-reverse;
    }

    .categories {
        margin-top: 8px;
        display: flex;
        flex-wrap: wrap;
        flex-grow: 1;
        justify-content: space-around;
        padding: 8px;
    }

    .catButton {
        font-size: 0.8rem;
    }

    .post {
        margin: 0px;
        border: none;
        border-bottom: solid 1px var(--cor4);
        max-width: max-content;
    }

    .post img {
        width: 100%;
    }
}