:root {
  --colbg: #faf4d0;
  --coltheme: #3f5919;
  --col3: #fa2a10;
}
@font-face {
font-family: Font;
src: url('images/fighting_spirit.otf');
}
@font-face {
font-family: Font2;
src: url('images/framd.ttf');
}
html, body {
  height: 100%;
}
body {
  background: var(--colbg) url('images/bg.jpg');
  background-attachment: fixed;
  font-family: Verdana;
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  color: var(--coltheme);
}
body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
div {
  box-sizing: border-box;
}
body::-webkit-scrollbar {
  background: var(--colbg);
}
body::-webkit-scrollbar-thumb {
  background: var(--coltheme);
}
p {
  margin: 0;
}
img {
  border: 0;
}
a {
  color: var(--coltheme);
  text-decoration: none;
}
a:hover {
  color: var(--col3);
  text-decoration: none;
  filter: contrast(130%);
}
h1, h2, h3, h4, h5, h6 {
  font-family: Font;
  font-size: 36px;
  color: var(--col3);
  font-weight: normal;
  margin: 0 0 15px 0;
  text-align: center;
}
h2 {font-size: 36px;}
h3 {font-size: 30px;}
h4 {font-size: 24px;}

input, textarea {
  background-color: #addc72;
  border-radius: 13px;
  color: #000;
  font-family: Verdana;
  font-size: 18px;
  height: 40px;
  padding: 0 0 0 10px;
  border: 2px solid var(--coltheme);
}
.p12 {font-size: 12px;}
.p14 {font-size: 14px;}
.p16 {font-size: 16px;}
.p18 {font-size: 18px;}
.p20 {font-size: 20px;}
.p21 {font-size: 21px;}
.p22 {font-size: 22px;}
.p24 {font-size: 24px;}
.p25 {font-size: 25px;}
.p26 {font-size: 26px;}
.p30 {font-size: 30px;}
.p36 {font-size: 36px;}
.p40 {font-size: 40px;}
.p48 {font-size: 48px;}

.pred {color: var(--col3);}

.smaller {scale: 0.7;}

.panel {
  width: 100%;
  height: 98px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
.panel > div:nth-child(1) {
  height: 100%; width: 41px;
  background: url('images/panel_left.png') no-repeat;
  flex-shrink: 0;
}
.panel > div:nth-child(2) {
  height: 100%; width: 100%;
  background: url('images/panel_center.png') repeat-x;
}
.panel > div:nth-child(3) {
  height: 100%; width: 41px;
  background: url('images/panel_right.png') no-repeat;
  flex-shrink: 0;
}
.dot {
  width: 32px; height: 30px;
  background: url('images/dot.png') no-repeat;
  margin: 0 3%;
  flex-shrink: 0;
}
#menu {
  width: 100%;
  height: 90px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  font-size: 21px;
  position: absolute; top: 0;
  padding: 0 90px 0 0;
  font-family: Font;
  z-index: 2;
}
.button_menu, .button_menu2 {
  display: none;
  width: 80px; height: 80px;
  background: url('images/button_menu.png') no-repeat;
  position: absolute; top: 7px; left: 7px;
  z-index: 3;
}
.button_menu2 {
  display: block;
}
.button_home {
  display: block;
  width: 80px; height: 80px;
  background: url('images/button_home.png') no-repeat;
  position: absolute; top: 0; right: 7px;
  z-index: 1;
}
.button_search {
  display: block;
  width: 80px; height: 80px;
  background: url('images/button_search.png') no-repeat;
  position: absolute; top: 7px; right: 7px;
  z-index: 3;
}
.button_like {
  display: block;
  width: 80px; height: 80px;
  background: url('images/button_like.png') no-repeat;
}
.button_dislike {
  display: block;
  width: 80px; height: 80px;
  background: url('images/button_dislike.png') no-repeat;
}
.jaqly {
  display: none;
  width: 100px; height: 100px;
  background: url('images/jaqly.png') no-repeat;
  position: absolute; top: 4px;
  left: 50%;
  margin-left: -50px;
  z-index: 3;
}

#bottom {
  width: 100%;
  height: 90px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  position: absolute; top: 0;
  text-transform: uppercase;
  padding: 0 30px;
}
#bottom > div:nth-child(1) {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: 0 0 5px 0;
}
#bottom > div:nth-child(2) {
  font-weight: bold;
  text-transform: none;
}
.bottom {
  position: relative;
  bottom: 0;
}
#content {
  display: inline-block;
  width: 100%;
  max-width: 1600px;
  min-height: calc(100vh - 196px);
}
.logo {
  display: inline-block;
  width: 480px; height: 117px;
  background: url('images/logo.png') no-repeat;
}
.games {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.games > a {
  display: block;
  width: 240px; height: 181px;
  background: url('images/frame_small.png') no-repeat;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: 5px;
  position: relative;
}
.games > a img {
  border-radius: 10px;
  width: 208px; height: 151px;
  margin: -2px 0 0 -2px;
}
.games > a p {
  color: #fff;
  position: absolute; top: 15px;
  padding: 0 15px;
  text-shadow: -1px -1px 0 var(--coltheme), 1px -1px 0 var(--coltheme), -1px  1px 0 var(--coltheme), 1px  1px 0 var(--coltheme);
  font-size: 14px;
}
.bigframe {
  display: block;
  width: 401px; height: 302px;
  background: url('images/frame.png') no-repeat;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  zoom(0.7);
}
.bigframe img {
  border-radius: 10px;
  width: 350px; height: 254px;
  margin: -3px 0 0 -2px;
}
.text {
  font-size: 14px;
  padding: 0 10px;
}
.text2 {
  display: inline-block;
  font-size: 14px;
  padding: 0 10px;
  max-width: 800px;
}
.white {
  padding: 20px;
  border-radius: 25px;
  background-color: rgba(255,255,255,0.7);
}
.gamedesc {
  display: inline-block;
  max-width: 1000px;
  font-size: 16px;
  font-style: italic;
  text-align: justify;
}
.gamedesc img {
  width: 200px; height: 143px;
  border-radius: 15px;
  float: left;
  margin: 0 10px 3px 0;
}
.b336 {
  float: right;
  width: 336px;
  min-height: 310px;
  border: 1px solid #fafafa;
  margin: 0 0 10px 10px;
  text-align: center;
}
.b336 p {
  font-size: 12px;
  text-transform: uppercase;
}
.double {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.gameinfo {
  max-width: 580px;
  width: 100%;
  margin: 0 10px;
  font-family: Font;
  font-size: 24px;
}
.pcol3 {
  color: var(--col3);
}
.fle {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}
.playbutton {
  width: 282px; height: 70px;
  background: url('images/playbutton.png') no-repeat;
  font-family: Verdana;
  color: var(--coltheme);
  font-size: 30px;
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: 15px 0 0 0;
  font-weight: bold;
}
.tags {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.tags a, .tags div {
  height: 76px;
  background: url('images/tag_center.png') repeat-x;
  padding: 18px 0 0 0;
  margin: 5px 66px 0 66px;
  font-family: Font;
  color: var(--coltheme);
  font-size: 24px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}
.tags a::before, .tags div::before {
  content: "";
  display: block;
  width: 66px; height: 76px;
  background: url('images/tag_left.png') no-repeat;
  position: absolute; top: 0; left: -65px;
}
.tags a::after, .tags div::after {
  content: "";
  display: block;
  width: 66px; height: 76px;
  background: url('images/tag_right.png') no-repeat;
  position: absolute; top: 0; right: -65px;
}
.tags div p {
  font-family: Font;
  color: var(--col3);
  font-size: 32px;
}
#preloader {
  width: 100%; height: 100%;
  background: #faf4d0 url('images/bg.jpg');
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  z-index: 10;
}
#preloader .loader {
  width: 140px; height: 140px;
  border-radius: 70px;
  border: 12px dashed var(--col3);
  animation: spin 4s linear infinite;
  position: absolute;
}
#gamemenu {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%; top: 7px;
}
#gameplaymenu {
  display: none;
  width: 100%;
  position: absolute; top: 0; left: 0;
  z-index: 1;
}
.adad {
	display: none;
	text-transform: uppercase;
	font-size: 14px;
	width: 100%;
	padding: 10px;
  color: var(--coltheme);
}
#game {
  width: 100%; height: 100%;
  position: fixed; top: 0; left: 0;
}
#game iframe {
  width: 100%; height: 100%;
}
.off {
  pointer-events: none;
  opacity: 0.6;
}
#search {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
#searchpanel {
  display: none;
  width: 100%;
  padding: 10px 10px;
  background-color: var(--coltheme);
  position: relative; top: -1px;
}
#searchpanel input {
  width: 100%;
  margin: 0 5px 2px 0;
}
.searchbut {
  display: block;
  width: 33px; height: 32px;
  background: url('images/find.png') no-repeat;
  flex-shrink: 0;
}
#txt {
  width: 350px; height: 150px;
  padding: 5px 10px;
}
#out {
  text-transform: uppercase;
  font-size: 15px;
  color: var(--coltheme);
  margin: 10px 0 0 0;
}
.nofound {
  font-size: 20px;
  padding: 10px 25px;;
  line-height: 200%;
}
.nofound a {
  color: var(--col3);
}
.blog {
  display: inline-block;
  max-width: 800px;
  text-align: justify;
  font-size: 14px;
  margin: 0 0 15px 0;
}
.blog img {
  float: left;
  margin: 0 10px 2px 0;
  border-radius: 15px;
  width: 200px; height: auto;
}
.but {
  display: inline-block;
  background-color: var(--col3);
  border-radius: 10px;
  padding: 5px 10px;
  color: #fff;
  float: right;
  position: relative; top: 10px; left: 10px;
}
.but2 {
  display: inline-block;
  background-color: var(--col3);
  border-radius: 10px;
  padding: 5px 10px;
  color: #fff;
}
.bloim {
  float: right;
  margin: 0 10px 2px 0;
  border-radius: 15px;
}

@keyframes spin {
    100% {-webkit-transform: rotate(360deg); transform:rotate(360deg);}
}
@media (max-width:780px) {
  #menu {
    display: none;
    width: 250px; height: auto;
    flex-flow: column nowrap;
    background-color: #acdb71;
    top: 98px;
    padding: 20px;
    border-radius: 0 0 15px 0;
    border-right: 3px solid var(--coltheme);
    border-bottom: 3px solid var(--coltheme);
    line-height: 200%;
    font-size: 26px;
  }
  .button_menu {display: block;}
  .b336 {
    clear: both;
    width: 100%;
    margin: 10px 0 0 0;
  }
  .jaqly {display: block;}
  .adad {display: block;}
  .gameinfo {line-height: 260%;}
}
