body {
    font-family: 'Lato', serif;
    font-size: 17px;
    line-height: 1.5em;
    background-color: #190830;
    background: #190830 url('/image/game_24/bg.png');
    overflow-x: hidden;
}

.wrapper {
    width: 1000px;
    margin: 0 auto 0 auto;

}

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
    font-family: 'Lato';
    line-height: 1.3em;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

.line-heading {
    overflow: hidden;
    font-family: 'Lato';
    font-weight: 700;
    line-height: 48px;
    font-size: 18px;
    border-top: 0px solid #331642;
    border-bottom: 0px solid #331642;
    text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 700;
    border-top: 4px solid #331642;
    border-bottom: 1px solid #331642;
    line-height: 1.3em;
    padding: 15px 0px;
    color: #fff;
    background-color: #4a256d;
}

.line-heading a {
    float: right;
    font-family: 'Lato', serif;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    color: #331642;
}

.chirp p {
    padding-left: 30px;
}

.recent-posts li {
    border-bottom: 1px solid #331642;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.recent-posts .title {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    line-height: 1.3em;
    font-weight: 700;
    color: #331642;
    text-decoration: none;
}

header {
    margin: 1rem 0;
}

header #logo {
    display: flex;
    align-items: center;
}

header #logo:hover {
    opacity: 0.8;
}

header #logo img {
    display: block;
    max-width: 160px;
}

nav {
    background: url('/image/game_24/nav.png') no-repeat top center;
    height: 65px;
    width: 1038px;
    margin-left: -20px;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 700;
}

nav #nav {
    display: block;
    margin-left: 35px;

}

nav #nav > li {
    display: block;
    float: left;
}

nav #nav > li:hover a,
nav #nav > li.current-menu-item a,
nav #nav > li.current_page_item a {
    background: #964320;
    color: #dedad3;
    text-shadow: 0px 2px 0px #444;
}

nav #nav > li > a {
    display: block;
    line-height: 65px;
    padding-left: 15px;
    padding-right: 15px;
    text-decoration: none;
    color: #30134C;
    text-shadow: 0px 2px 0px #c68301;
}

nav #nav > li.important a {
    color: #ffe09f;
}

nav #nav > li ul {
    margin-top: 25px;
    background: #62493d;
}

nav #nav > li ul li {
    border-bottom: 1px solid #806d63;
}

nav #nav > li ul li:last-child {
    border-bottom: none;
}

nav #nav > li ul a {
    display: block;
    color: #dedad3;
    text-decoration: none;
    line-height: 1.5em;
    padding: 15px;
}

nav #nav > li ul a:hover {
    color: #4b2583;
}

#main {
    min-height: 700px;
    position: relative;
    border-top: 5px solid #755a9d;
    background: #cdb3ffb8;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

#main .tagline {
    font-family: 'Lato';
    line-height: 1.3em;
    font-size: 36px;
    font-weight: 1000;
    text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 40px;
    margin-right: 30px;
    margin-left: 30px;
}


.page-content {
    position: relative;
    margin: 20px auto;
}

.nav-categories li {
    display: block;
    float: left;
    margin-right: 20px;
}

.nav-categories li a {
    line-height: 1.5em;
    color: #331642;
    text-decoration: none;
}

.nav-categories li a:hover {
    color: #4b2583;
}

.nav-categories li.current a {
    color: #4b2583;
    font-weight: bold;
}

.feature{
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.work-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 2rem;
    padding: 1rem;
}

.feature li, .work-list li {
    display: block;
    float: left;
    width: 100%;

    position: relative;
}

.type-list li{
    height:100%;
}

.feature li .thumb, .work-list li .thumb {
    position: relative;
    display: block;
    line-height: 0em;
    color: #dedad3;
    margin-bottom: 22px;
    background: #331642;
    border: 5px solid #fff;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.feature li .thumb:after, .work-list li .thumb:after {
    position: absolute;
    bottom: -22px;
    left: 0px;
    content: '';
    width: 100%;
    height: 17px;
}

.feature li .thumb:hover .img-overlay, .work-list li .thumb:hover .img-overlay {
    display: block;
}

.feature li .thumb:hover img, .work-list li .thumb:hover img {
    opacity: 0.1;
}

.feature li .thumb img, .work-list li .thumb img {
    max-width: 100%;
    width:100%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.type-list{
    gap: 1rem;
}

.feature li .thumb .img-overlay, .work-list li .thumb .img-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 119px;
    margin-left: -59.5px;
    margin-top: -19px;
    color: #fff;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    background: #4b2583;
    text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.3);
    border: #8d3fff solid 3px;
    border-bottom: #721bff solid 3px;
    border-right: #721bff solid 3px;
}

.feature li .title, .work-list li .title {
    font-family: 'Lato', sans-serif;
    font-weight: 1000;
    font-size: 20px;
    line-height: 1.1em;
    color: #331642;
    text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.feature li .categories, .work-list li .categories {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}

.feature li .categories a, .work-list li .categories a {
    color: #5c3165;
    text-decoration: none;
    font-weight: bold;
}

.feature li .categories a:hover, .work-list li .categories a:hover {
    text-decoration: underline;
}


.pager li {
    display: block;
    margin-right: 5px;
    margin-bottom: 10px;
    float: left;
}

.pager li a:hover, .pager li.active a {
    background: #4b2583;
    color: #fff;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.pager li a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    text-decoration: none;
    width: 20px;
    line-height: 20px;
    color: #62493d;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#posts-list article {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #331642;
}

#posts-list article:last-child {
    border: none;
}

#posts-list article .feature-image img {
    max-width: 100%;
}
#posts-list article .meta a {
    color: #962068;
    text-decoration: none;
}

#posts-list.single-post article {
    border: none;
}

#posts-list .page-navigation div {
    position: relative;
    right: 50%;
}

#posts-list .page-navigation div span {
    margin-bottom: 15px;
    display: inline-block;
}

#posts-list .page-navigation div:hover a {
    color: #331642;
}

#posts-list .page-navigation a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #fff;
    display: block;
    font-size: 12px;
    line-height: 41px;
    width: 112px;
    text-decoration: none;
    text-align: center;
}

#project-left .thumb {
    border: 5px solid #fff;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    line-height: 0em;
    margin-bottom: 20px;
}

#project-left .thumb img {
    max-width: 100%;
    width:100%;
}

#project-right #project-title {
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 700;
    border-top: 0px solid #331642;
    border-bottom: 2px solid #755a9d;
    line-height: 1.3em;
    padding: 7px 0px;
    margin-bottom: 10px;
}

#project-right .desc-info {
    margin: 0px 0px 20px 0px;
    padding: 0px;
    font-size: 21px;
    line-height: 1.5em;
}

#project-right #project-sheet strong {
    font-weight: bold;
}

#project-right #project-sheet p {
    line-height: 1.3em;
}

.related-projects .related-list li {
    float: left;
    width: 300px;
    margin-right: 20px;
    margin-bottom: 30px;
}

.related-projects .related-list li:nth-child(3n) {
    margin-right: 0px;
}

.related-projects .related-list li .thumb {
    display: block;
    border: 5px solid #fff;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.related-projects .related-list li .thumb img {
    max-width: 100%;
    height: auto;
    line-height: 0;
}

#sidebar .block a {
    text-decoration: none;
    color: #962068;
}

#sidebar .block a:hover {
    border-bottom: 1px dotted #962068;
}

#sidebar .ads img {
    margin-bottom: 10px;
    margin-right: 0px;
}

footer {
    position: relative;
    text-align: center;
    padding: 10px 10px 10px 10px;
    font-size: 13px;
    text-align: center;
    color: #7b52a0;
    font-weight: bold;
    letter-spacing: 1px;

}

footer a {
    text-decoration: none;
    color: #4b2583;
    border-bottom: 1px dotted #4b2583;
}

footer a:hover {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

#logo h1 {
    font-family: Arial;
    font-size: 28px;
    color: #af97f6;
    font-weight: bold;
    font-style: italic;
    margin-left: 1rem;
    padding: 0;
    text-shadow: 2px 2px 2px #0b0318;
}

h2 {
    font-family: Arial;
    font-size: 20px;
    color: #8168da;
    font-weight: normal;
    font-style: italic;
    margin: 0px;
    padding: 0px;
    text-shadow: 2px 2px 2px #0b0318;
    margin-left: 260px;
    margin-top: 5px;
}

.menu-mb {
    display: none;
    position: fixed;
    top: 1rem;
    left: .5rem;
    z-index: 999;
    margin-left: 3px;
    margin-top: 3px;
    border-bottom: 0px #a96b00 solid;
    border-right: 0px #a96b00 solid;
}

.menu-mb-list .current-menu-item {
    background-image: none;
    background-color: #964320;
    color: #dedad3;
    text-shadow: 0px 2px 0px #444;
}

.menu-mb-list {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0px;
    width: 100%;
    background-color: #db8601;
    z-index: 999;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.menu-mb-bg {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 998;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

.menu-mb-hide ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-mb-list li {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 3px solid;
    color: #30134C;
    text-shadow: 0px 2px 0px #c68301;
    background: url(/image/game_24/nav.png) no-repeat top center;
}

.menu-mb-list li:active {
    background-image: none;
    background-color: #964320;
    color: #dedad3;
    text-shadow: 0px 2px 0px #444;
}

.menu-mb-list li:last-child {
    border-bottom: 4px solid;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #f09302;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    color: #fff;
    font: 700 18px/1 'Lato', sans-serif;
    text-shadow: 0px 2px 0 rgb(140 63 30);
    text-transform: uppercase;
    text-align: center;
}

.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

.ribbon-bottom-left span {
    right: -25px;
    bottom: 30px;
    transform: rotate(225deg);
}

.ribbon-bottom-right span {
    left: -25px;
    bottom: 30px;
    transform: rotate(-225deg);
}

.block-divider {
    background: url('/image/game_24/line.png') no-repeat center center;
    height: 51px;
}

.infobox-info {
    color: #cad6e0;
    background-color: #4b2583;

    border: 3px #8d3fff solid;
    margin: 10px 0;
    padding: 15px;
    background-repeat: no-repeat;
    background-position: 10px center;
    -webkit-border-radius: 5px;
}

.footer-list {
    background: #571b6b;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-list p a{
    color: #e3cfcf;
    text-decoration: auto;
    margin: 0 1rem;
}

#nav li {
    border-right: 2px solid #fea202;
}

ul{
    list-style: none;
    padding: 0;
    margin:0;
}

a{
    text-decoration: auto;
}

.type-list{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

#back-to-top{
    position:fixed;
    right:2rem;
    bottom:3rem;
    height:42px;
    width:42px;
    border-radius: 50px;
    display:flex;
    align-items:center;
    justify-content: center;
    z-index: 100;
    padding: 0;
    background: #fff;
    border: none;
}

.game-info{
    display:flex;
    justify-content: space-between;
    padding:1rem;
}

#project-left{
    width: 55%;
    text-align: center;
}

#project-right{
    width: 40%;
}

.desc-info{
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-btn{
    background:#FAA604;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
}

.play-btn a{
    font-weight:1000;
    font-size: 1.5rem;
    color:#fff;
}