/* roboto-mono-100 - latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 100;
    src: local(''),
    url('fonts/roboto-mono-v13-latin-100.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('fonts/roboto-mono-v13-latin-100.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-mono-300 - latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 300;
    src: local(''),
    url('fonts/roboto-mono-v13-latin-300.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('fonts/roboto-mono-v13-latin-300.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-mono-regular - latin */
@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('fonts/roboto-mono-v13-latin-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('fonts/roboto-mono-v13-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
    --main-bg-color: #36364d;
    --main-bg-color-mobile: #1b1b28;
    --main-text-color: #fff;
    --header-color: #eee;
    --header-link-color: #999;
    --header-link-hover: #ddd;
    --footer-link-color: #555;
    --footer-link-hover: #ddd;
    --logo-bg-color: rgba(255, 255, 255, 0.025);
    --logo-block-color: rgba(255, 255, 255, .05);
    --logo-text-color: rgba(255, 255, 255, .3);
    --desc-link-color: #fff;
    --desc-link-hover: #ddd;
    --desc-bg-color: rgba(255, 255, 255, 1);
    --desc-bg-hover: rgba(255, 255, 255, 0.1);
    --pagination-color: #888;
    --pagination-bg-color: #000;
    --pagination-hover-color: #000;
    --pagination-bg-hover-color: rgb(249, 249, 249);
    --transition-time: 0.25s;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* MOBILE */
@media only screen and (max-width: 49.375em) {
    body {
        font-family: 'Roboto Mono', monospace;
        font-size: 15px;
        color: var(--main-text-color);
        background: var(--main-bg-color);
    }

    cont-ainer {
        display: block;
        line-height: 1.4em;
        background: var(--main-bg-color-mobile);
        /* background-color: rgba(0, 0, 0, 1); */
        padding: 2em;
    }

    footer {
        margin: 1em;
    }
}

/* DESKTOP */
@media only screen and (min-width: 49.375em) {
    body {
        font-family: 'Roboto Mono', monospace;
        font-size: 15px;
        font-weight: 400;
        color: var(--main-text-color);
        background: var(--main-bg-color);
        /*height: 100vh;*/
        overflow: hidden;
    }

    cont-ainer {
        width: 40em;
        height: calc(100vh - 74px);
        display: block;
        line-height: 1.4em;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin-top: 37px;
        margin-left: 37px;
        padding: 2em;
        overflow-x: hidden;
        overflow-y: auto;
        will-change: transform;
    }

    footer {
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 0.5em;
    }

    ::-webkit-scrollbar {
        width: 10px;
        margin-left: -100px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        /*background: rgba(255,255,255,0.1);*/
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.75);
    }
}

#bg1 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right:0;
    top:0;
    margin-right: 100px;
    margin-top: 50px;
    height: 70vw;
    width: 70vw;
    position: absolute;
    z-index: -90;
    opacity: 1;
    will-change: transform;
}

#bg2 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right:0;
    top:0;
    margin-right: 150px;
    margin-top: 100px;
    height: 70vw;
    width: 70vw;
    position: absolute;
    z-index: -99;
    opacity: 1;
    will-change: transform;
}

#bg3 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right:0;
    top:0;
    margin-right: 200px;
    margin-top: 150px;
    height: 70vw;
    width: 70vw;
    position: absolute;
    z-index: -100;
    opacity: 1;
    /*transition: background-image 0.2s;*/
    will-change: transform;
}

#bg4 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    right:0;
    top:0;
    margin-right: 250px;
    margin-top: 200px;
    height: 70vw;
    width: 70vw;
    position: absolute;
    z-index: -101;
    opacity: 1;
    /*transition: background-image 0.2s;*/
    will-change: transform;
}

#title {
    right: 0;
    font-size: 4em;
    position: absolute;
    z-index: -30;
    opacity: 1;
    will-change: transform;
}

.header {
    padding: 0 0 0.1em 0;
    font-size: 2em;
}

hr {
    /*margin: 1em;*/
    margin-left: -2em;
    margin-top: 2em;
    margin-bottom: 2em;
    width: calc(100% + 2em);
    opacity: 0.2;
}

.aviblock {
    height: 5em;
    display: inline-block;
}

.avi {
    height: 5em;
    display: inline-block;
}

.handleblock {
    display: inline-block;
    line-height: 2.5em;
}

.handle {
    font-weight: 700;
    line-height: 2.5em;
}

a {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

a:hover {
    color: rgba(0, 0, 0, 1);
    background: rgba(255, 255, 255, 1);
}

.icon { margin-left: 0.2em; width: 1em; height: 1em; vertical-align: -0.125em; }

.post {
    width: 39em;
    background: var(--desc-bg-color);
    height: 4em;
    line-height: 3.5em;
    margin: 0 auto;
    text-align: left;
    padding-left: 1em;
    transition: var(--transition-time);
    margin-bottom: 1em;
}

.post:hover {
    background: var(--desc-bg-hover);
    transition: var(--transition-time);
    border: 0.15em solid #fff;
}

h1 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h3 {
    font-weight: 100;
    letter-spacing: 0.1em;
    padding-bottom: 0.5em;
    padding-top: 1em;
    padding-left: 0em;
    opacity: 0.5;
}

#showmore_button {
    opacity: 0.75;
    font-weight: 100;
}

#posts {
    padding-top: 1em;
    padding-bottom: 2em;
    color: rgba(180, 180, 180, 1);
    user-select: none;
}

ul {
    margin: 0;
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
}

li {
    padding: 0.3em;
    text-align:left;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

li:last-child {
    margin-bottom: 0.4em;
    padding: 0.3em;
    text-align:left;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

li:hover {
    background: rgba(0, 0, 0, 0.2);
}

.grid_wrapper {
    padding-top:0.4em;
    padding-bottom:0.4em;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: fit-content;
    column-gap: 10px;
    grid-template-areas:
    "a t t"
    "a m m"
    "a b b";
    justify-items: start;
    align-content:start;
}

.grid_left {
    grid-row-start: 1;
    grid-column-start: 1;
    grid-area: a;
}

.grid_rt{
    grid-area: t;
    color:white;
}

.grid_rm{
    grid-area: m;
    font-size: 12px;
}

.grid_rb{
    padding-top:0.4em;
    padding-bottom:0.4em;
    grid-area: b;
    color: white;
}

