body {
    font-family: Tahoma, sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    width: 100%;
    height: 3.5rem;
    font-size: 1.1rem;
    background-color: #dd0428;
    box-shadow: 0 0.1rem 0.5rem #0006;
    display: flex;
    flex-flow: row nowrap;
    position: fixed;
    top: 0;
    z-index: 1;
}
.navbar a {
    height: 100%;
    color: #fffd;
    text-decoration: none;
    user-select: none;
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 1.1rem 1rem;
    box-sizing: border-box;
    transition: color 0.15s, background-color 0.15s;
}
.navbar a:hover {
    color: #ffff;
    background-color: #e85971;
}
.navbar-logo {
    padding: 0.6rem !important;
    padding-right: 1rem !important;
}
.navbar-logo img {
    filter: grayscale(1) contrast(10) invert(1);
}
.navbar-logo span {
    padding-top: 0.1rem;
    padding-left: 0.75rem;
}
.navbar-right {
    margin-left: auto;
}

.content {
    font-family: Verdana, sans-serif;
    margin-top: 3rem;
    padding: 2rem;
}
.content a:link, .common-activate {
    color: #045edd;
    text-decoration: none;
}
.content a:hover, .common-activate:hover {
    text-decoration: underline;
    cursor: pointer;
}
.content a:active, .common-activate:active {
    color: #dd0428;
    text-decoration: underline;
}
.content a:visited {
    color: #ed687e;
    text-decoration: none;
}
.content input, .content button, .content select {
    padding: 0.2rem 0.3rem;
}
.content input:not([type]), .content input[type="text"] {
    width: 11rem;
}
.content input[type="checkbox"], .content input[type="radio"] {
    vertical-align: top;
}
.content input[type="checkbox"] ~ label {
    margin-right: 1rem;
}

.common-center {
    max-width: 50rem;
    margin: 0 auto;
}
.common-header {
    font-family: Tahoma, sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 0.15rem solid #0003;
}
.common-subheader {
    font-family: Tahoma, sans-serif;
    font-size: 1.7rem;
    margin: 1rem 0 0.5rem;
}
.common-text {
    margin-bottom: 0.5rem;
}
.common-text + .common-text {
    margin-top: 1rem;
}
.common-check {
    padding: 0.2rem 0;
    display: block;
}
.common-loading {
    font-family: Tahoma, sans-serif;
    font-size: 1.3rem;
    text-align: center;
}
.common-loading > div {
    width: 0.8rem;
    height: 0.8rem;
    display: inline-block;
    margin-right: 0.2rem;
    margin-bottom: 0.2rem;
    border: 0.15rem solid #000;
    border-radius: 1rem;
    vertical-align: bottom;
    animation: spin 1s linear infinite;
}
.common-loading > div > div {
    width: 0.6rem;
    height: 0.6rem;
    background-color: #fff;
    margin-left: -0.4rem;
    margin-bottom: 0.3rem;
}
.common-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.common-table :is(td, th) {
    padding: 0.5rem;
    border: 0.15rem solid #0002;
    overflow-wrap: anywhere;
}
.common-table th {
    background-color: #0001;
}
.common-table ul {
    margin: 0;
    padding-left: 1rem;
}

.home-header {
    width: 42rem;
    height: 12rem;
    white-space: nowrap;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
}
.home-text {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.3rem;
}
.home-title {
    font-family: Tahoma, sans-serif;
    font-size: 3rem;
    display: flex;
    align-items: flex-end;
    flex-grow: 1.5;
}
.home-subtitle {
    flex-grow: 1;
}
.home-search {
    text-align: center;
    margin-top: 1rem;
}
.home-search-input, .home-search-button {
    padding: 0.3rem 0.5rem !important;
}
.home-search-input {
    width: 20rem !important;
}

.search {
    width: 30rem;
    height: calc(100% - 3.5rem);
    padding: 1rem;
    box-shadow: 0.1rem 0 0.5rem #0006;
    position: fixed;
    top: 3.5rem; left: 0;
    box-sizing: border-box;
    overflow-y: auto;
}
.search > .common-header {
    margin-bottom: 0.5rem;
}
.search-fields {
    text-align: center;
}
.search-table {
    width: 100%;
    margin: 0.5rem 0 1rem;
    table-layout: fixed;
    border-collapse: collapse;
}
.search-table tr:first-child td {
    border-top: 0.15rem solid #0002;
}
.search-table td {
    padding: 0.5rem 0;
    border-bottom: 0.15rem solid #0002;
}
.search-table td:first-child {
    width: 46%;
}
.search-table td:last-child {
    width: auto;
}
.search-table button {
    margin-right: 0.5rem;
}
.search-button {
    width: 100%;
    margin-top: 1rem;
}

.results {
    width: calc(100% - 30rem);
    height: calc(100% - 3.5rem);
    padding: 1rem;
    position: fixed;
    top: 3.5rem; right: 0;
    box-sizing: border-box;
    overflow-y: auto;
}
.results-top {
    padding-bottom: 0.5rem;
    border-bottom: 0.15rem solid #0002;
    align-items: center;
}
.results-count {
    margin-right: auto;
}
.results-total {
    font-weight: bold;
}
.results-navigate {
    margin-left: 1.2rem;
}
.results-per-page {
    font-size: 0.7rem;
}
.results-input-page {
    width: 2rem !important;
    margin-left: 0.5rem;
}
.results-compact {
    position: absolute;
    top: 2rem; right: 0;
}
.results-bottom {
    text-align: right;
    margin-top: 0.5rem;
}

.entry {
    padding: 0.5rem 0;
    border-bottom: 0.15rem solid #0002;
    display: flex;
}

.entry:not([compact]) {
    height: 6rem;
}
.entry:not([compact]) .entry-logo {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0.5rem;
    flex: 0 0 8rem;
    cursor: pointer;
}
.entry:not([compact]) .entry-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
}
.entry:not([compact]) .entry-title {
    font-family: Tahoma, sans-serif;
    font-size: 1.5rem;
}
.entry:not([compact]) .entry-developer {
    font-size: 0.7rem;
    margin-left: 0.1rem;
}
.entry:not([compact]) .entry-type,
.entry:not([compact]) .entry-tags {
    font-size: 0.9rem;
}
.entry:not([compact]) .entry-tags {
    color: #000a;
}
.entry:not([compact]) .entry-description {
    margin-top: 0.5rem;
    white-space: normal;
}
.entry:not([compact]) .entry-description[empty] {
    color: #000a;
    font-style: italic;
}

.entry[compact] {
    height: 1rem;
    overflow: hidden;
    align-items: center;
}
.entry[compact] :not(.entry-platform, .entry-library) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.entry[compact] :not(.entry-title) {
    font-size: 0.7rem;
}
.entry[compact] :not(.entry-description) {
    flex-shrink: 0;
}
.entry[compact] .entry-platform,
.entry[compact] .entry-library {
    width: 1.2rem;
    height: 1.2rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-right: 0.2rem;
}
.entry[compact] .entry-title {
    font-size: 0.9rem;
    padding: 0 0.5rem 0 0.2rem;
    max-width: calc(40% - 2.8rem);
}
.entry[compact] .entry-developer {
    padding-right: 0.5rem;
    max-width: calc(25% - 2.8rem);
}
.entry[compact] .entry-description {
    color: #000a;
    flex-grow: 1;
}
.entry[compact] .entry-tags {
    padding-left: 0.5rem;
    max-width: calc(35% - 2.8rem);
}

.viewer {
    flex-direction: column;
}
.viewer-header {
    display: flex;
}
.viewer-header + .common-subheader {
    margin-top: 0;
}
.viewer-back, .viewer-play {
    margin-bottom: 1rem;
}
.viewer-play {
    margin-left: auto;
}
.viewer-images {
    display: flex;
}
.viewer-logo, .viewer-screenshot {
    height: 15rem;
    border: 0.15rem solid #0002;
}
.viewer-logo {
    width: 100%;
}
.viewer-screenshot {
    width: 150%;
}
.viewer-logo img, .viewer-screenshot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.viewer .common-table :is(td, th):first-child {
    width: 30%;
    font-weight: bold;
}
.viewer .common-table :is(td, th):last-child {
    width: 70%;
}
.viewer-add-apps table:not(:first-child) {
    margin-top: 0.7rem;
}

.download-center {
    max-width: 70rem;
    margin: 0 auto;
}
.download-table :is(td, th) {
    text-align: center;
}
.download-table :is(td, th):nth-child(1) {
    width: 40%;
}
.download-table :is(td, th):is(:nth-child(2), :nth-child(4)) {
    width: 20%;
}
.download-table :is(td, th):nth-child(3) {
    width: 100%;
}

.stats-display {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    column-gap: 2em;
}
.stats-total {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 0 0 12rem;
}
.stats-total div:last-child {
    font-family: Tahoma, sans-serif;
    font-size: 2rem;
}
.stats-platforms, .stats-platforms :is(td, th) {
    width: auto !important;
}
.stats-platforms {
    margin: 1rem auto 0;
}
.stats-platforms :is(td, th) {
    text-align: center;
    padding: 0.5rem 1rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}