/* import fonts */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Kosugi+Maru&display=swap');

html,
body {
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0;

}

body {
    background-color: rgba(4, 51, 68, 1);
    background: url('../img/bg.png');

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    letter-spacing: 0.8px;
}

#wrapper {
    position: relative;
    text-align: center;
}

#wrapper:before {
    content: "";
    position: relative;
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

/* fade & slide in content */
@keyframes fadeup {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#content {
    /* animate! */
    animation: fadeup 0.7s ease forwards;
    display: inline-block;
    vertical-align: middle;
    color: rgba(4, 51, 68, 0.71);
    font-size: 18px;
    font-family: "Comfortaa", "Kosugi Maru", sans-serif;
    font-weight: 400;
    width: 80%;
    max-width: 420px;
    margin: 30px auto;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.82);
    border-width: 0px;
    border-radius: 48px;
    -webkit-border-radius: 48px;
    -moz-border-radius: 48px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#main-content {
    margin-left: 10px;
    margin-right: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
a {
    color: rgba(4, 51, 68, 0.71);
    transition: color 0.25s ease;

}

a:hover {
    color: rgba(255, 170, 233, 0.71);
    background-color: #ffffff00;
}

footer {
    padding: 12px;
}

.title img {
    margin-top: 32px;
}

.title h1 {
    letter-spacing: 4px;
    font-size: 30px;
    margin-top: 8px;
    margin-bottom: 0px;
    color: rgba(4, 51, 68, 1);
    font-weight: bolder;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    letter-spacing: 1.4px;
}

h1 {
    font-size: 22px;
}

/* language button */

div#language {
    text-align: right;
    position: fixed;
    top: 6px;
    right: 6px;
    background-color: rgba(4, 51, 68, 0.71);
    padding: 10px 20px;
    margin: 10px;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    vertical-align: middle;
    text-align: center;
    overflow: auto;
    transition: top 0.3s, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    color: #ffffff;
    text-decoration: none;
}

div#language:hover {
    background-color: rgba(229, 245, 198, 0.71);
    color: rgba(4, 51, 68, 0.71);
}

::-moz-selection {
    background: rgba(4, 51, 68, 0.15);
}

::selection {
    background: rgba(4, 51, 68, 0.15);
}

/* column */

.column {
    -webkit-column-count: 2;
    /* Chrome, Safari, Opera */
    -moz-column-count: 2;
    /* Firefox */
    column-count: 2;
}

.column div {
    font-size: 12px;
}

/* simple, bootstrap icons */
.si,
.bi {
    vertical-align: middle;
}

/* shop links */

.shop a {
    text-decoration: none;
    font-weight: bold;
}

table.shop,
tr,
td {
    border: none;
}

table.shop tr:not(:first-child) {
    border-top: solid 1px rgba(4, 51, 68, 0.71);
}

/* patreon button special */
ul.home.patreon li {
    background-color: rgba(255, 170, 233, 0.71);
    font-size: 18px;
}

/* newsletter */

a.linkhighlight,
a.linkgame {
    text-decoration: none;
    padding: 0 2px;
}

a.linkhighlight {
    background-color: rgba(229, 245, 198, 0.71);
}

a.linkgame {
    background-color: rgba(4, 51, 68, 0.71);
    color: #ffffff;
}

a.linkgame:hover {
    color: rgba(255, 170, 233, 0.71);
}

.news-posts div {
    font-size: 14px;
    display: block;
    line-height: 1.2;
}

.news-posts div:not(:last-child) {
    margin-bottom: 12px;
}

div.news-posts {
    text-align: center;
}

div.news-small {
    font-size: 70%;
    line-height: 1.4;
    margin-bottom: 8px;
}

div.news-archive {
    font-size: 70%;
    line-height: 1;
    margin-top: -20px;
}

/* paginate design */

div.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-top: 14px;
    gap: 12px;
}

.blog-posts div a {
    text-decoration: none;
}

/* .blog-posts div a:hover {
    color: rgba(255, 170, 233, 0.71);
} */

.pagination ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.pagination li {
    display: inline;
    text-align: center;
}

.pagination li:not(last-child) {
    padding-right: 8px;
}

.pagination li.active a {
    color: rgba(255, 170, 233, 0.71);
    font-weight: bold;
}

.pagination li a {
    text-decoration: none;
}

/* .pagination li:first-child,
.pagination li:last-child {
    display: none;
} */

/* top page marquee */

.newsmarquee {
    display: inline-block;
    margin: auto;
    margin-top: -8px;
    padding: 0;
    width: 300px;
    max-width: 100%;
}

.marqueeblock {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px;
    background-color: rgba(255, 170, 233, 0.71);
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    color: #fff;
    margin-right: 12px;
    margin-left: 12px;
    transition: background-color 0.5s ease;

}

.marqueeblock:hover {
    background-color: rgba(4, 51, 68, 0.71);
    transition: background-color 0.5s ease;
}

.marqueeblock div {
    animation: marquee 10s linear infinite;
    display: inline-block;
}

.marqueeblock:hover div {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marqueeblock {
        /* allow scroll, remove scrollbars */
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* remove scrollbars */
    .marqueeblock::-webkit-scrollbar {
        display: none;
    }

    /* remove animation */
    .marqueeblock div {
        animation: none;
    }

    /* remove padding */
    .marqueeblock div span:not(.marqueetext) {
        padding-right: 0px;
    }

    /* hide second span */
    .marqueeblock div span:not(:first-child) {
        display: none;
    }
}

.newsmarquee a {
    text-decoration: none;
    color: #ffffff
}

.newsmarquee a:hover {
    text-decoration: none;
    color: rgba(255, 170, 233, 0.71);
}

.marqueetext {
    text-decoration: bold;
    font-size: 75%;
    vertical-align: 1.5px;
    /* animation: blink 1s linear infinite; */
}

/* @keyframes blink {
    0% {
        opacity: 1;
    }

    49% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
} */

/* top page buttons */
ul.home {
    display: inline-block;
    list-style-type: none;
    margin: auto;
    padding: 0;
    width: 300px;
    max-width: 100%;
}

.home li {
    /* display: inline-flex; */
    background-color: rgba(4, 51, 68, 0.71);
    padding: 10px;
    margin: 10px;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    flex-direction: row-reverse;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    vertical-align: middle;
    text-align: center;
    overflow: auto;
}

.home a:hover li {
    background-color: rgba(229, 245, 198, 0.71);
}

.home li span {
    padding-left: 12px;
    padding-right: 12px;
    display: inline-block;
}

.home li span:first-child {
    float: left;
}

.home li span:not(:first-child) {
    float: right;
    vertical-align: middle;
}

.home a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    font-size: 20px;
    letter-spacing: 2px;
}

.home a:hover {
    color: rgba(4, 51, 68, 0.71);
    transition: color 0.5s ease;
}

/* links button */

.links li {
    color: rgba(4, 51, 68, 0.71);
    border: solid 1px rgba(4, 51, 68, 0.71);
    background-color: #ffffff00;
}

.links a:hover li {
    color: rgba(255, 170, 233, 0.71);
    border: solid 1px rgba(255, 170, 233, 0.71);
    background-color: #ffffff00 !important;
    ;
}

details.links[open] summary li {
    background-color: #ffffff00;
}

.links-open {
    display: none !important;
}

.links-close {
    display: block !important;
}

details.links[open] .links-close {
    display: none !important;
}

details.links[open] .links-open {
    display: block !important;
}

img.svg {
    fill: rgba(4, 51, 68, 0.71);
    width: 100%;
    height: 1em;
    vertical-align: middle;
}

.links a:hover img.svg {
    fill: rgba(255, 170, 233, 0.71);
}

/* contact form */

input,
textarea {
    background-color: #ffffff00;
    /* font-size: 1.125em;
    font-family: 'Comfortaa', sans-serif; */
    letter-spacing: 0.075rem;
    /* padding-left: calc(0.075rem + 0.875rem); */
    /* font-weight: 400; */
    border-radius: 2rem;
    color: rgba(4, 51, 68, 0.71);
    border: solid 1px rgba(4, 51, 68, 0.71);
    min-height: 50px;
    width: 90%;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: "Comfortaa", "Kosugi Maru", sans-serif;
    padding: 12px 24px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    border-color: rgba(255, 170, 233, 0.71);
    outline: 0;
}

input:user-invalid {
    background-color: rgba(255, 170, 233, 0.17);
}

textarea {
    padding-top: 18px;
    padding-bottom: 18px;
    line-height: 1.4em
}

::placeholder {
    color: rgba(4, 51, 68, 0.5);
    font-size: 12px;
}

details summary {
    list-style: none;
    cursor: pointer;
}

a.submit:hover li {
    background-color: rgba(255, 170, 233, 0.71);
}

button {
    margin-top: -20px;
    position: relative;
    padding: inherit;
    font: inherit;
    color: inherit;
    background-color: #ffffff00;
    border: none;
}

/* accordion details */

details[open] summary li {
    background-color: rgba(229, 245, 198, 0.71);
    color: rgba(4, 51, 68, 0.71);
}

/* fade & slide in content */
@keyframes fadedown {
    0% {
        opacity: 0;
        transform: translateY(-24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

details[open] .detailstext {
    animation: fadedown 0.7s ease forwards;
}

.accordion ul {
    width: 100%;
}

.accordion li {
    margin: 0;
}

ul {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.accordion details {
    text-align: left;
    padding-left: 18px;
    padding-right: 18px;
}

.accordion details summary {
    text-align: center;
}

/* games css */

div.game {
    overflow: auto;
    display: flex;
    align-items: center;
}

div.game:not(:last-child) {
    margin-bottom: 20px;
}

.game span {
    float: left;
    text-align: left;
    font-size: 16px;
    vertical-align: middle;
}

/* shrink font on small screens */
@media (max-width: 530px) {
    .game span {
        font-size: 14px;
    }
}

.game span:last-child {
    margin-left: 18px;
}

.game img {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    float: left;
    width: 100px;
    max-width: none;

}

/* shrink img on small screens */
@media (max-width: 530px) {
    .game img {
        width: 90px;
    }
}

.game a {
    font-weight: bold;
}

/* game links */

.gamelinks a {
    text-decoration: none;
    border: solid 1px rgba(4, 51, 68, 0.71);
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    height: 2em;
    width: 2em;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    align-items: center;
    display: flex;
    justify-content: center;
}

div.gamelinks {
    font-size: 28px;
    margin-top: 28px;
    margin-bottom: -12px;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.gamelinks a:hover {
    border: solid 1px rgba(255, 170, 233, 0.71);
}

.gamelinks span:not(:last-child) {
    margin-right: 18px;
}

/* portfolio css */

div.portfolio {
    overflow: auto;
    display: flex;
    align-items: center;
}

div.portfolio:not(:last-child) {
    margin-bottom: 20px;
}

.portfolio span {
    float: left;
    text-align: left;
    font-size: 16px;
}

/* shrink font on small screens */
@media (max-width: 530px) {
    .portfolio span {
        font-size: 14px;
    }
}

.portfolio span:last-child {
    margin-left: 18px;
}

.portfolio img {
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    float: left;
    width: 70px;
    max-width: none;

}

/* shrink img on small screens */
@media (max-width: 530px) {
    .portfolio img {
        width: 60px;
    }
}

.portfolio a {
    font-weight: bold;
}

div.portfolio-small {
    font-size: 70%;
    line-height: 2;
}
