@font-face {
    font-family: "pixelcode";
    src: url("pixelcode.woff") format("woff"),
         url("pixelcode.ttf") format("ttf");
    font-weight: normal;
    font-style: normal;
}

body {
    background: #000;
}

body * {
    font-family: "pixelcode" !important;
    font-size: 20px;
    color: #fff;
}

a {
    height: 40px;
    padding: 11px 10px;
    display: inline-block;
    text-decoration: none !important;
}

a .icon {
    margin-bottom: -12px;
    margin-right: 10px;
}

a .highlight {
    color: #ffa556;
    padding-bottom: 2px;
    border-bottom: 2px solid #ff9544;
}

a:hover .highlight {
    color: #ffa556;
}

a:hover .not_highlight {
    color: #ffa556;
    padding-bottom: 2px;
    border-bottom: 2px solid #ff9544;
}

a:not([href]), a:not([href]) *, a:not([href]):hover * {
    border: none !important;
    color: #fff !important;
    cursor: default !important;
    filter: none !important;
}

a:hover .icon {
    filter: sepia(1) hue-rotate(350deg) brightness(0.65) saturate(10);
}

a .hidden {
    display: none;
}

a.reveal:hover .hidden {
    display: inline;
}

a.reveal:hover :not(.hidden):not(.icon) {
    display: none;
}

.icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon[data-icon="code"] { background-image: url("../images/icon_code.png"); }
.icon[data-icon="github"] { background-image: url("../images/icon_github.png"); }
.icon[data-icon="kofi"] { background-image: url("../images/icon_kofi.png"); }
.icon[data-icon="itchio"] { background-image: url("../images/icon_shop.png"); }
.icon[data-icon="youtube"] { background-image: url("../images/icon_youtube.png"); }
.icon[data-icon="mail"] { background-image: url("../images/icon_envelope.png"); }
.icon[data-icon="scroll"] { background-image: url("../images/icon_scroll.png"); }
.icon[data-icon="drop"] { background-image: url("../images/icon_drop.png"); }
.icon[data-icon="construction"] { background-image: url("../images/icon_construction.png"); }
.icon[data-icon="light"] { background-image: url("../images/icon_light.png"); }
.icon[data-icon="heart"] { background-image: url("../images/icon_heart.png"); }
.icon[data-icon="web"] { background-image: url("../images/icon_web.png"); }
.icon[data-icon="home"] { background-image: url("../images/icon_home.png"); }
.icon[data-icon="logo"] { background-image: url("../images/icon_design.png"); }
.icon[data-icon="message"] { background-image: url("../images/icon_message.png"); }
.icon[data-icon="book"] { background-image: url("../images/icon_book.png"); }
.icon[data-icon="reddit"] { background-image: url("../images/icon_reddit.png"); }
.icon[data-icon="x"] { background-image: url("../images/icon_x.png"); }
.icon[data-icon="mastodon"] { background-image: url("../images/icon_mastodon.png"); }


.scroll {
    padding: 15px 20px 15px 15px;
    border: 12px solid;
    border-image: url("../images/slicedscroll.9.png") 19 16 19 12 stretch;
    border-image-slice: 19 16 19 12;
    text-align: justify;
}

.scroll, .scroll * {
    font-size: 17px;
    line-height: 1.6em;
}

.scroll i, .scroll i span {
    font-size: 19px !important;
}

.scroll .pers {
    width: 120px;
    float: left;
    margin-right: 15px;
    margin-bottom: 5px;
}

.border {
    padding: 5px 10px 5px 10px;
    border: 12px solid;
    border-image: url("../images/sliceborder.9.png") 10 10 10 10 stretch;
    border-image-slice: 10 10 10 10;
    text-align: justify;
    line-height: 1.6em;
}

.tangerine {
    color: #ffa556;
}

.green {
    color: #00ff99;
}

.blue {
    color: #94afff;
}

.yellow {
    color: #ffff00;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin: 0 auto;
    padding: 20px 0;
}

.container2 {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    margin: 0 auto;
}

.block {
    flex: 1;
    max-width: 500px;
    min-width: 400px;
    box-sizing: border-box;
}

.block_small {
    max-width: 400px;
}

.block_single {
    margin: 0 auto;
    max-width: 700px;
    min-width: 400px;
    padding: 20px 0;
}

.subscript {
    display: inline-block;
    font-size: 14px;
    position: relative;
    margin-top: 20px;
    padding-left: 60px;
    color: #ff9544;
}

.main_image {
    width: 560px;
}

#descr, #descr_text, #descr .star {
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: 10px;
}

#descr, #descr_text, #descr .star {
    color: rgb(57, 57, 135) !important;
}

.star {
    position: relative;
    top: 0.2em;
}

/* Media query for narrow screens (e.g., mobile) */
@media (max-width: 800px) {
    .container, .container2 {
        flex-direction: column;
        gap: 30px;
    }

    .block {
        flex: none;
        width: 100%;
        margin: 0 auto;
    }

    .block_single {
        width: 100%;
        margin: 0 auto;
    }

    .notice {
        width: 90% !important;
        margin: 0 auto;
    }

    a {
        padding: 8px 10px;
    }

    a .icon {
        width: 30px;
        height: 30px;
    }

    a * {
        font-size: 15px;
    }

    .scroll {
        margin: 0 20px;
    }

    .main_image {
        width: 100%;
    }

    .subscript {
        padding-left: 0px;
    }

    .top a img {
        width: 60px;
    }

    .top a span {
        font-size: 30px;
    }
}

.notice {
    width: 400px;
    text-align: justify;
}

.notice, .notice * {
    font-size: 16px;
    line-height: 1.8em;
}

.notice .icon {
    width: 40px;
    height: 40px;
    float: left;
    position: relative;
    top: 8px;
    left: -5px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.notice .icon[data-icon="construction"] {
    top: 5px;
}

.notice a {
    margin: 0;
    padding: 0;
    height: auto;
    border-bottom: 2px solid;
}

.center {
    display: block !important;
    text-align: center;
}

.top {
    display: block;
    margin: -10px auto 10px;
}

.top img {
    position: relative;
    top: 18px;
    margin-right: 20px;
    width: 80px;
}

.top span {
    font-size: 50px;
    font-weight: bold;
}

.top span:nth-child(2) {
    color: #ff872b;
}

.top span:last-child {
    color: #ffad6e;
}

.bottom {
    font-size: 14px;
}

.bottom .icon {
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
}

.links_title {
    font-size: 20px;
    font-weight: bold;
    color: #94afff;
    margin-bottom: 10px;
    margin-left: 16px;
}

.logo_desc_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

.logo_desc_block {
    flex: 0;
}

.logo_desc_block.block_main {
    flex-basis: 130px;
    text-align: center;
}

.logo_desc_block.block_main img {
    display: inline-block;
}

.logo_desc_block.block_main div {
    padding-top: 10px;
    font-size: 16px;
}

.logo_desc_block.block_plus {
    padding: 20px 10px 0;
}

.scroll.minimized {
    overflow-y: hidden;
    padding: 10px 20px 10px 15px;
    transition: all 0.4s;
    cursor: pointer;
}

.scroll.minimized p {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.scroll.minimized p {
    display: none;
}

.scroll.minimized p:first-child {
    display: block;
}