body {
  margin: 0;
  background: #CAE4AB;
  font-family: 'Trebuchet MS', sans-serif;
  overflow: overlay;
}

.header {
  width: 100%;
  position: fixed;
  z-index: 2;
}
.navbar {
  box-shadow: 4px 4px 0px 0px #000000;
  margin: auto;
  position: relative;
  margin-top: 10px;
  max-width: 600px;
  padding: 10px;
  box-sizing: border-box;
  height: 64px;
  background: #33A331;
  transform: skewX(15deg);
}

.nav-item {
  transform: skewX(-15deg);
  z-index: 2;
  text-decoration: none;
  color: #EEF3E8;
  font-weight: bold;
}
.nav-item:hover {
  color: #D7E7C4;
}
.nav-item-right {
  float: right;
  line-height: 80px;
  padding-left: 14px;
}
#page-title {
  width: 100%;
  position: relative;
  font-weight: bold;
  float: left;
  font-family: monaco,Consolas,Lucida Console,monospace;
}
#page-title img {
  padding-top: 5px;
  display: block;
  width: 374px;
  margin: auto;
}

#search-input {
  z-index: 1;
  display: block;
  margin: auto;
  font-size: 20px;
  transform: skewX(-15deg);
  box-shadow: 4px 4px 0px 0px #000000;
  border: 4px solid #33A331;
  border-radius: 0;
  background: #F1F5ED;
  padding-left: 10px;
  top: 80px;
  height: 40px;
  width: 280px;
}
#search-input, select {
  outline: none;
}
#search-input::placeholder {
  color: #A9B1A0;
}

.content-align {
  width: 100%;
  position: absolute;
}

.content {
  margin: auto;
  margin-top: 140px;
  max-width: 1332px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.Game {
  position: relative;
  margin: 8px;
  padding: 0;
  height: 365px;
  box-shadow: 4px 4px 0px 0px #00000044;
  transition: box-shadow .3s;
}
.Game:hover{
  box-shadow: 4px 4px 0px 2px #00000077;
}

.banner {
  cursor: pointer;
  width: 650px;
  height: 365px;
}

.Game .status-not-working {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: block;
  padding: 6px;
  font-weight: 600;
  color: #752219;
  background-color: #d16559;
  box-shadow: 2px 2px 0px 0px #752219;
}
.Game .status-not-working a {
  font-weight: bold;
  color: #752219;
  text-decoration: underline 2px;
}

.back-boubles {
  position: fixed;
  z-index: -1;
  width: 100%;
  margin-top: -10px;
}
.discord-sign {
  z-index: 2;
  position: fixed;
  bottom: -200px;
  right: 20px;
  transition: bottom 1s cubic-bezier(0.7, 0, 0.3, 1);
}
.discord-sign img {
  height: 140px;
}

.loaded .discord-sign {
  bottom: -10px;
}

.foot {
  max-width: 1316px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.foot-item {
  color: #232520;
  margin-right: 10px;
  text-decoration: none;
  display: inline;
}
a.foot-item:hover {
  text-decoration: underline;
}

#game-view {
  z-index: 2;
  position: fixed;
  width: 100%;
  height: 100vh;
  transition: opacity 1s;
  background: rgba(0, 0, 0, .9);
  display: none;
  opacity: 0;
}
#game-view.game-init {
  display: inherit;
}
#game-view.game-active {
  display: inherit;
  opacity: 1;
}
#game-box {
  padding-top: 20px;
  margin: auto;
  width: 768px;
}
#game-iframe {
  border: none;
}
#game-close {
  position: absolute;
  color: #aaa;
  font-size: 60px;
  float: right;
  right: 30px;
  top: 10px;
  cursor: pointer;
}
#game-close:hover {
  color: #fff;
}


@media only screen and (max-width: 1400px) {
  .content {
    max-width: 666px;
    grid-template-columns: repeat(1, 1fr);
  }
  .foot {
    margin: 20px;
  }
}
@media only screen and (max-width: 900px) {
  .navbar {
    max-width: calc(100% - 60px);
  }
  .discord-sign {
    bottom: -200px;
  }
}
@media only screen and (max-width: 720px) {
  .banner {
    width: calc(100%);
    height: auto;
    margin-bottom: -4px;

  }
  .Game {
    height: auto;
    margin: 8px 16px;
  }
}
@media only screen and (max-width: 490px) {
  #page-title img {
    width: 100%;
  }
  #search-input {
    max-width: 60%;
  }
}
 ::-webkit-scrollbar {
     width: 14px;
}
 ::-webkit-scrollbar-track {
     box-shadow: inset 0 0 14px 14px transparent;
     border: solid 4px transparent;
}
 ::-webkit-scrollbar-thumb {
     box-shadow: inset 0 0 14px 14px #808b7350;
     border: solid 4px transparent;
     border-radius: 14px;
}
 ::-webkit-scrollbar-button {
     display: none;
}
