﻿@import url("https://fonts.googleapis.com/css2?family=Zalando+Sans+Expanded&display=swap");

html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background-position: center top;
  padding: 0px;
  margin: 0px;
  overflow-x: hidden;
  background-image: url("../theme/bgnd-top.jpg");
  background-repeat: repeat-x;
  background-color: #43515e;
  font-family: "Zalando Sans Expanded", Geneva, Tahoma, sans-serif;
  font-size: 0.8em;
}
a {
  color: #171c20;
}
#wrapper {
  max-width: 980px;
  width: 100%;
  position: relative;
  padding: 0px;
  margin: 0px auto;
  overflow: hidden;
  flex-grow: 1;
}
#head {
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 115px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#logo {
  padding: 0px;
  margin: 0 15px;
  height: 110px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
#logo img {
  height: 110px !important;
}
#head-mid {
  padding: 0px;
  margin: 0 15px;
  height: 80px;
  overflow: hidden;
  text-align: center;
  align-content: center;
}
.header-line1 {
  padding: 4px;
  margin: 0px;
  position: relative;
  overflow: hidden;
  font-size: 140%;
  font-weight: bold;
  color: #f0f0f0;
}
.header-line2 {
  padding: 4px;
  margin: 0px;
  position: relative;
  overflow: hidden;
  font-size: 120%;
  font-weight: bold;
  color: #a4b9be;
}
.header-line3 {
  padding: 4px;
  margin: 0px;
  position: relative;
  overflow: hidden;
  font-size: 110%;
  font-weight: normal;
  font-style: italic;
  color: #b1c2c7;
}

#head-right {
  padding: 0px;
  margin: 0 15px;
  width: 117px;
  height: 35px;
  position: relative;
  list-style-type: none;
}
#plus1 {
  padding: 0px;
  margin: 10px auto 0px auto;
  width: 50px;
  height: 60px;
  position: relative;
}

#main {
  margin: 15px 0;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #43515e;
}
#foot-fillin {
  background-color: #171c20;
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
}
#col-R {
  margin: 0px;
  padding: 0px;
  position: relative;
  width: 250px;
  overflow: hidden;
  float: right;
}
#col-L {
  padding: 0px;
  margin: 0px;
  width: calc(100% - 280px);
  max-width: 700px;
  position: relative;
  float: left;
  overflow: hidden;
}

.col-ft-r1-p {
  margin: 0px;
  padding: 4px;
}

#footer {
  background-color: #171c20;
  width: 100%;
  position: relative;
  color: #c0c0c0;
  font-size: 86%;
  flex-shrink: 0;
}
.footer-column .col-ft-r1-p.brand {
  font-weight: bold;
  font-size: 120%;
  font-style: normal;
}

#foot-info {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 15px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

#col-ft-l1,
#col-ft-l2,
#col-ft-r1 {
  flex: 1;
  min-width: 180px;
}

.ft-title {
  font-size: 120%;
  padding: 0px;
  margin: 0px 0px 5px 0px;
  position: relative;
  font-weight: bold;
  color: #a4b9be;
  text-decoration: none;
}
.ft-links {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
.ft-links ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
.ft-links ul li {
  padding: 0px;
  margin: 0px 0px 4px 0px;
  list-style-type: none;
  line-height: 180%;
}
.ft-links ul li a {
  background-position: 0px 0px;
  margin: 0px;
  display: inline-block;
  padding: 0px 0px 0px 20px;
  color: #a4b9be;
  text-decoration: none;
  font-size: 95%;
  position: relative;
  background-repeat: no-repeat;
  background-image: url("../theme/ft-nav-link.jpg");
  font-weight: normal;
}

.ft-links li a:hover {
  color: #d8e0e2;
  text-decoration: underline;
  background-position: -200px 0px;
  background-image: url("../theme/ft-nav-link.jpg");
  background-repeat: no-repeat;
}
#nav-H {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 980px;
  height: 35px;
  position: relative;
  z-index: 10;
}

#menu-toggle {
  display: none;
  background-color: #2a353f;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 24px;
  padding: 5px 15px;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: -50px;
  z-index: 11;
}

#nav-H-Box {
  margin: 1px auto 0 auto;
  padding: 0px;
  width: 722px;
  height: 34px;
  position: relative;
  background-image: url("../theme/h-nav.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  transition: max-height 0.3s ease-in-out;
}

#butn-block {
  padding: 0px;
  margin: 0px auto 0px auto;
  width: 720px;
  height: 34px;
  position: relative;
  overflow: hidden;
  list-style-type: none;
}
#butn-block ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
#butn-block ul li {
  padding: 0px;
  margin: 0px;
  width: 120px;
  height: 34px;
  position: relative;
  overflow: hidden;
  float: left;
  text-align: center;
  line-height: 250%;
  font-size: 100%;
}
#butn-block ul li a {
  color: #e1ebf4;
  text-decoration: none;
  font-weight: bold;
}
#butn-block ul li a:hover {
  color: #ffffff;
}
.Butn1 {
  padding: 0px;
  margin: 0px;
  display: block;
  width: 120px;
  height: 60px;
  background: url("../theme/h-butns.jpg") no-repeat 0px 0px;
  overflow: hidden;
  position: relative;
}
.Butn1:hover {
  background: url("../theme/h-butns.jpg") no-repeat 0px -34px;
}
.nav-box {
  padding: 0px;
  margin: 0px 0px 20px 0px;
  width: 250px;
  position: relative;
  overflow: hidden;
}
.nav-head {
  background-image: url("../theme/nav-top.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  padding: 0px;
  margin: 0px;
  width: 250px;
  height: 60px;
  position: relative;
  overflow: hidden;
}
.nav-filler {
  background-image: url("../theme/nav-fill.jpg");
  background-repeat: repeat-y;
  background-position: center top;
  padding: 0px;
  margin: 0px;
  width: 250px;
  position: relative;
  overflow: hidden;
}
.nav-info {
  font-size: 100%;
  font-weight: normal;
  color: #22282f;
  text-align: left;
  padding: 0px;
  margin: 0px auto 0px auto;
  width: 192px;
  position: relative;
  overflow: hidden;
}
.nav-info-C {
  font-size: 100%;
  font-weight: normal;
  color: #22282f;
  text-align: center;
  padding: 0px;
  margin: 0px auto 0px auto;
  width: 192px;
  position: relative;
  overflow: hidden;
}
.nav-ft {
  padding: 0px;
  margin: 0px;
  background-image: url("../theme/nav-btm.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  width: 250px;
  height: 42px;
  position: relative;
  overflow: hidden;
}
.nav-links {
  padding: 0px;
  margin: 0px auto;
  width: 204px;
  position: relative;
  overflow: hidden;
  list-style-type: none;
}
.nav-links ul {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
.nav-links ul li {
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  width: 204px;
  height: 26px;
  position: relative;
  text-align: left;
  text-indent: 5px;
  line-height: 170%;
}
.nav-links ul li a {
  background-position: 0px 0px;
  margin: 0px;
  display: block;
  padding: 0px;
  color: #22282f;
  text-decoration: none;
  font-size: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-image: url("../theme/v-nav-butn.png");
  width: 204px;
  height: 26px;
  list-style-type: none;
  font-weight: normal;
}
.nav-links li a.current {
  background-position: left top;
  color: #22282f;
  list-style-type: none;
}
.nav-links li a:hover {
  background-position: -204px 0px;
  color: #1f1f1f;
  background-image: url("../theme/v-nav-butn.png");
  background-repeat: no-repeat;
  list-style-type: none;
  font-weight: normal;
  text-indent: 16px;
}
.clear-L {
  clear: left;
  margin: 0px;
  padding: 0px;
}
.clear-R {
  clear: right;
  margin: 0px;
  padding: 0px;
}
.clear-B {
  clear: both;
  margin: 0px;
  padding: 0px;
}
.float-R {
  padding: 0px;
  margin: 0px 0px 4px 4px;
  float: right;
  overflow: hidden;
  position: relative;
}
.float-L {
  padding: 0px;
  margin: 0px 4px 4px 0px;
  float: left;
  overflow: hidden;
  position: relative;
}
.cnt-box {
  padding: 0px;
  margin: 0px 0px 20px 0px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.cnt-head {
  background-image: url("../theme/cnt-top.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
}
.cnt-filler {
  background-image: url("../theme/cnt-filler.jpg");
  background-repeat: repeat-y;
  background-position: center top;
  padding: 0px;
  margin: 0px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.cnt-info {
  font-size: 100%;
  font-weight: normal;
  color: #22282f;
  text-align: left;
  padding: 0px;
  margin: 0px auto 0px auto;
  width: 95%;
  max-width: 642px;
  position: relative;
  overflow: hidden;
}
.cnt-info-quote {
  background-position: left top;
  font-size: 100%;
  font-weight: normal;
  color: #22282f;
  text-align: left;
  padding: 0px;
  margin: 0px auto 0px auto;
  width: 95%;
  max-width: 642px;
  position: relative;
  overflow: hidden;
  background-image: url("../theme/quote.jpg");
  background-repeat: no-repeat;
}
.cnt-ft {
  padding: 0px;
  margin: 0px;
  background-image: url("../theme/cnt-btm.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
  height: 42px;
  position: relative;
  overflow: hidden;
}
.cnt-sub-topic {
  width: 100%;
  height: 50px;
  position: relative;
  margin: 4px 0px 6px 0px;
  padding: 0px;
  background-image: url("../theme/cnt-sub-topic.jpg");
  background-repeat: no-repeat;
  background-position: left top;
  font-size: 108%;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  line-height: 310%;
  text-align: left;
  text-indent: 30px;
}
.cnt-col-info {
  padding: 0px;
  margin: 2px auto 0px auto;
  width: 204px;
  position: relative;
  overflow: hidden;
  list-style-type: none;
}
.cnt-ST {
  height: 42px;
  position: relative;
  margin: 4px auto 6px;
  padding: 0px;
  font-size: 108%;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  line-height: 280%;
  text-align: left;
  width: 95%;
  max-width: 642px;
}
.cnt-ST-L {
  background-image: url("../theme/cnt-sub-L.jpg");
  background-repeat: no-repeat;
  background-position: left top;
  margin: 0px;
  padding: 0px;
  width: 35px;
  height: 42px;
  position: relative;
  float: left;
  list-style-type: none;
}
.cnt-ST-C {
  background-image: url("../theme/cnt-sub-C.jpg");
  background-repeat: repeat-x;
  background-position: left top;
  padding: 0px 5px 0px 0px;
  margin: 0px;
  height: 42px;
  position: relative;
  float: left;
  list-style-type: none;
  font-size: 120%;
  color: #ffffff;
  line-height: 240%;
  text-align: left;
  text-indent: 5px;
}
.cnt-ST-R {
  background-image: url("../theme/cnt-sub-R.jpg");
  background-repeat: no-repeat;
  background-position: left top;
  margin: 0px;
  padding: 0px;
  width: 20px;
  height: 42px;
  position: relative;
  overflow: hidden;
  float: left;
}

img {
  border: 0px;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-weight: bold;
  color: #2d353e;
  text-decoration: none;
  text-align: left;
  margin: 20px auto 0px auto;
  padding: 0px;
  width: 100%;
  max-width: 660px;
  height: 20px;
  position: relative;
  overflow: hidden;
  list-style-type: none;
  line-height: 100%;
}
h1 {
  font-size: 112%;
}
h2,
h3,
h4 {
  font-size: 115%;
}

h5,
h6 {
  font-size: 115%;
  font-weight: bold;
  color: #2d353e;
  text-decoration: none;
  text-align: left;
  margin: 20px auto 0px auto;
  padding: 0px;
  width: 100%;
  max-width: 210px;
  height: 20px;
  position: relative;
  overflow: hidden;
  list-style-type: none;
  line-height: 100%;
}

@media screen and (max-width: 980px) {
  #col-L,
  #col-R {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-box {
    margin: 20px auto;
  }

  #head {
    height: auto;
    background-image: none;
    background-color: #2e3a44;
    padding-bottom: 15px;
    position: relative;
  }
  #logo,
  #head-mid,
  #head-right {
    float: none;
    width: 100%;
    text-align: center;
    margin: 15px 0;
  }
  #logo img {
    display: inline-block;
    height: 110px;
  }
  #head-mid {
    width: 95%;
    margin: 10px auto;
  }
  .header-line1,
  .header-line2,
  .header-line3 {
    text-align: center;
  }
  #head-right {
    margin-top: 0;
    height: auto;
  }

  #nav-H {
    height: auto;
    padding-bottom: 0;
  }

  #menu-toggle {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 11;
  }

  #nav-H-Box {
    width: 100%;
    height: auto;
    background-image: none;
    background-color: #2a353f;
    overflow: hidden;
    max-height: 0;
    position: static;
  }

  #nav-H-Box.active {
    max-height: 500px;
  }

  #butn-block {
    width: 100%;
    height: auto;
  }
  #butn-block ul li {
    float: none;
    width: 100%;
    margin: 0;
  }
  .Butn1,
  .Butn1:hover {
    background: #43515e;
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin: 0;
    border-bottom: 1px solid #2a353f;
  }

  .cnt-info,
  h1,
  h2,
  h3,
  h4 {
    width: 100%;
    padding: 0 4%;
    box-sizing: border-box;
    height: auto;
  }
  .cnt-ST-C {
    line-height: 150%;
    padding-top: 5px;
  }

  #foot-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #col-ft-l1,
  #col-ft-l2,
  #col-ft-r1 {
    text-align: center;
    width: 100%;
  }

  .ft-links ul li a {
    padding: 0;
    background-image: none;
    display: block;
  }
}

.styled-image {
  margin-top: 5px;
  border-radius: 5px;
  border: 2px solid #2d353e;
}

.contact-form {
  width: 100%;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: bold;
  color: #2d353e;
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #2d353e;
  background-color: #f0f0f0;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: "Zalando Sans Expanded", Geneva, Tahoma, sans-serif;
}
.form-group textarea {
  height: 150px;
  resize: vertical;
}
.submit-btn {
  padding: 10px 20px;
  background-color: #2d353e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Zalando Sans Expanded", Geneva, Tahoma, sans-serif;
}
.submit-btn:hover {
  background-color: #43515e;
}
#form-messages {
  display: none;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
}

.arcade-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  padding: 15px;
  background-color: #c8d0d7;
  border-radius: 5px;
  border: 1px solid #43515e;
}
.search-bar {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #2d353e;
  background-color: #f0f0f0;
  border-radius: 4px;
  font-family: "Zalando Sans Expanded", Geneva, Tahoma, sans-serif;
  font-size: 1em;
}
.genre-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.genre-btn {
  padding: 8px 15px;
  background-color: #43515e;
  color: white;
  border: 1px solid #2d353e;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: "Zalando Sans Expanded", sans-serif;
  text-transform: capitalize;
}
.genre-btn:hover {
  background-color: #2d353e;
}
.genre-btn.active {
  background-color: #a4b9be;
  color: #2d353e;
}
#game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.game-card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 5;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #2d353e;
  background-size: cover;
  background-position: center;
  background-color: #22282f;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.game-card h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px;
  padding-top: 20px;
  font-size: 1.2em;
  color: #fff;
  text-align: left;
  text-transform: capitalize;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
.pin-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background-color 0.2s;
}
.pin-button svg {
  fill: white;
  width: 18px;
  height: 18px;
}
.game-card.pinned .pin-button {
  background-color: #a4b9be;
}
.game-card.pinned .pin-button svg {
  fill: #2d353e;
}
.no-games-found {
  color: #22282f;
  grid-column: 1 / -1;
  text-align: center;
  display: none;
}

#lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lab-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #2d353e;
  background-size: cover;
  background-position: center;
  background-color: #22282f;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  text-decoration: none;
}
.lab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.lab-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}
.lab-card-content {
  position: relative;
  z-index: 2;
}
.lab-card h2 {
  margin: 0;
  font-size: 1.5em;
  color: #fff;
  text-transform: capitalize;
}
.lab-card p {
  margin: 5px 0 0;
  color: #a4b9be;
}

.app-container {
  width: 90%;
  margin: 0 auto 25px auto;
  padding: 15px;
  background-color: #a4b9be;
  border-radius: 5px;
  border: 2px solid #2d353e;
  box-sizing: border-box;
}
.app-container iframe,
#app-container-inner iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 5px;
  background-color: #000;
  display: block;
}
.player-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  padding: 10px 20px;
  background-color: #43515e;
  color: white;
  border: 1px solid #2d353e;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Zalando Sans Expanded", Geneva, Tahoma, sans-serif;
  transition: background-color 0.2s;
}
.action-btn:hover {
  background-color: #2d353e;
}
.action-btn svg {
  fill: white;
  width: 18px;
  height: 18px;
}
.reborn-xp-boot-message {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d353e;
}

#place-container {
  width: 90%;
  margin: 0 auto 25px auto;
  height: 80vh;
  background-color: #171c20;
  border-radius: 5px;
  border: 2px solid #171c20;
}
#place-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 5px;
}

#disqus_thread {
  padding: 20px;
}

@media screen and (max-width: 980px) {
  #game-grid {
    grid-template-columns: 1fr;
  }
  #lab-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 10px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  font-family: "Zalando Sans Expanded", Geneva, Tahoma, sans-serif;
  color: #2d353e;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.5em;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.faq-answer p {
  padding: 0px 15px 15px;
  margin: 0;
}

.legal-links {
  margin-top: 10px;
}

.legal-links ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .legal-links ul {
    flex-direction: column;
    gap: 5px;
  }
}
