:root {
  --colbg: #85e0ef;
  --coltheme: #035e97;
  --col3: #3099c2;
}
@font-face {
font-family: Font;
src: url('images/ADELIA.otf');
}
@font-face {
font-family: Font2;
src: url('images/leelaw.woff2');
}
@font-face {
font-family: Font3;
src: url('images/starlight.ttf');
}
html, body {
  height: 100%;
}
body {
  background: url('images/bg.jpg') 50% 100% #bbf4fd no-repeat;
  background-attachment: fixed;
  font-family: Font2;
  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(--col3);
}
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: 32px;
  color: var(--coltheme);
  font-weight: normal;
  margin: 0 0 15px 0;
  text-align: center;
}
h2 {font-size: 28px;}
h3 {font-size: 24px;}
h4 {font-size: 21px;}

input, textarea {
  background: #fff;
  border-radius: 20px;
  color: var(--coltheme);
  font-family: Font2;
  font-size: 16px;
  height: 40px;
  padding: 0 0 0 10px;
  border: none;
  min-width: 250px;
}
.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;}

.pwhite {color: #fff !important;}
.smaller {scale: 0.7;}

#content {
  display: inline-block;
  width: 100%;
  max-width: 1500px;
  min-height: calc(100vh - 245px);
}
#preloader, #preloader2 {
  width: 100%; height: 100%;
  background: url('images/bg.jpg') 50% 100% #bbf4fd no-repeat;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  z-index: 10;
}
#preloader .loader, #preloader2 .loader {
  width: 180px; height: 180px;
  border-radius: 90px;
  border: 12px dotted var(--col3);
  animation: spin 4s linear infinite;
  position: absolute;
}
.button_menu {
  display: block;
  width: 99px; height: 99px;
  background: url('images/button_menu.png') no-repeat;
  position: absolute; top: 5px; left: 5px;
  z-index: 8;
}
.button_close {
  display: none;
  width: 99px; height: 99px;
  background: url('images/button_close.png') no-repeat;
  position: absolute; top: 5px; right: 5px;
  z-index: 9;
}
.button_find {
  display: block;
  width: 99px; height: 99px;
  background: url('images/button_find.png') no-repeat;
}
.bf {
  position: absolute; top: 5px; right: 5px;
}
.logo {
  display: inline-block;
  width: 480px; height: 108px;
  background: url('images/logo.png') no-repeat;
  margin: 10px 0;
}
#findform {
  display: none;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}
#find {
  width: 386px; height: 87px;
  background: url('images/find_bar.png') no-repeat;
  padding: 0 0 0 30px;
  font-family: Font;
  color: var(--col3);
  font-size: 18px;
  box-sizing: border-box;
}
#menu {
  display: none;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: fixed; top: 0; left: 0;
  z-index: 8;
}
#menu a, #menu_pause a, #bottom {
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  width: 460px; height: 79px;
  background: url('images/line.png') no-repeat;
  color: #fff;
  font-family: Font;
  font-size: 24px;
  margin: 3px 0;
}
#bottom {
  margin: 20px 0 10px 0;
  font-family: Font3;
}
.games {
  display: inline-flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.games a, .frame_small {
  display: block;
  width: 230px; height: 180px;
  background: url('images/frame.png') no-repeat;
  margin: 5px;
}
.games a img, .frame_small img {
  width: 214px; height: 153px;
  border-radius: 15px;
  margin: 9px 0 0 0px;
}
.text {
  font-family: Font2;
  font-size: 15px;
  color: #fff;
  padding: 0 15px;
}
.three {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
}
.frame_big {
  width: 377px; height: 295px;
  background: url('images/frame_big.png') no-repeat;
}
.frame_big img {
  width: 351px; height: 252px;
  border-radius: 28px;
  margin: 14px 0 0 0;
}
.white {
  border-radius: 30px;
  background-color: rgba(255,255,255,1.0);
  padding: 20px;
}
.ph {
  font-size: 12px;
  color: var(--coltheme);
  margin: 0 0 5px 0;
  font-family: Font;
}
.ad {
  margin: 0 2%;
  padding: 10px 20px !important;
}
.space {
  width: 30px; height: 100%;
}
.b336 {
  width: 336px; min-height: 300px;
  float: left;
  margin: 0 10px 7px 0;
}
.play {
  display: inline-block;
  width: 233px; height: 102px;
  background: url('images/play.png') no-repeat;
}
.stat {
  text-align: center;
}
.panel {
  width: 400px; height: 151px;
  background: url('images/panel.png') no-repeat;
  margin: 0 0 20px 0;
  font-family: Font3;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 9px;
}
#mark {
  color: #fff;
  font-size: 63px;
  width: 90px;
  margin: 0 20px;
  font-family: Font3;
}
.likes, .plays {
  width: 120px;
  line-height: 160%;
  position: relative; top: -25px;
}
.likes p:nth-child(1) {
  color: var(--col3);
  font-size: 21px;
  position: relative; right: -40px;
}
.likes p:nth-child(2) {
  color: var(--coltheme);
  font-size: 32px;
}
.plays p:nth-child(1) {
  color: var(--col3);
  font-size: 21px;
  position: relative; left: -35px;
}
.plays p:nth-child(2) {
  color: var(--coltheme);
  font-size: 26px;
}
.tags {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin: 15px 0 0 0;
  line-height: 180%;
}
.tags p {
  font-family: Font2;
  text-transform: uppercase;
  font-weight: bold;
}
.tags a {
  font-family: Font;
  font-size: 14px;
  margin: 0 20px;
}
#pause {
  width: 100%; height: 100%;
  position: fixed; top: 0; left: 0;
  background-color: rgba(0,0,0,0.8);
  z-index: 8;
  display: none;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
#menu_pause {
  max-width: 480px;
  margin: 20px 0;
}
.arrow_left {
  display: block;
  width: 79px; height: 79px;
  background: url('images/arrow_left.png') no-repeat;
  flex-shrink: 10;
}
.arrow_right {
  display: block;
  width: 79px; height: 79px;
  background: url('images/arrow_right.png') no-repeat;
  flex-shrink: 10;
}
#like {
  display: block;
  width: 127px; height: 130px;
  background: url('images/like.png') no-repeat;
  flex-shrink: 0;
  position: relative; top: -20px;
}
#dislike {
  display: block;
  width: 127px; height: 130px;
  background: url('images/dislike.png') no-repeat;
  flex-shrink: 0;
  position: relative; top: -20px;
}
.panel_big {
  display: inline-block;
  width: 452px; height: 170px;
  background: url('images/panel_big.png') no-repeat;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.panel_big > * {
  position: relative; left: 5px;
}
.mark {
  margin: 0 43px 0 40px !important;
}
.nowrap {
  flex-wrap: nowrap;
}
.baba {
	display: none;
	text-transform: uppercase;
	font-size: 14px;
	width: 100%;
	padding: 10px;
  color: var(--coltheme);
}
#txt {
  width: 350px; height: 160px;
  margin: 0 0 10px 0;
  padding: 10px;
}
.button {
  height: 50px;
  border-radius: 30px;
  background-color: var(--coltheme);
  color: #fff;
  font-family: Font;
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
}
#out {
  text-transform: uppercase;
  font-size: 15px;
  color: var(--coltheme);
  margin: 10px 0 0 0;
  font-weight: bold;
}
.nofound {
  font-size: 20px;
  padding: 10px 25px;;
  line-height: 200%;
}
.nofound a {
  color: var(--col3);
}
#game {
  width: 100%; height: 100%;
  position: fixed; top: 0; left: 0;
}
#game iframe {
  width: 100%; height: 100%;
}
.off {
  pointer-events: none;
  filter: contrast(150%);
  filter: brightness(150%);
}

.flegame {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin: 0 0 20px 0;
}
.sidel {
  width: 132px;
  text-align: left;
  height: 600px;
  overflow: hidden;
  padding: 0 5px 0 0;
  flex-shrink: 0;
}
.sider {
  width: 132px;
  text-align: right;
  height: 600px;
  overflow: hidden;
  padding: 0 5px 0 0;
  flex-shrink: 0;
}
.advert300, .advert160 {
  height: 600px;
}
.advert300 > p, .advert160 > p {
  text-transform: uppercase;
  font-size: 13px;
  color: #fff;
  position: absolute;
  margin-top: -15px;
  text-align: center;
}
.advert300 > p {width: 300px;}
.advert160 > p {width: 160px;}
.advert300 {
  width: 300px;
  flex-shrink: 0;
}
.advert160 {
  width: 160px;
  flex-shrink: 0;
}
#gamepl {
  max-width: 1100px;
  height: 600px;
  width: 100%;
}
.fleg {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  height: 60px;
  background-color: #67c8e7;
}
.gai {
  height: 600px;
  background-color: #000;
}
.smallgames a {
width: 112px; height: 80px;
position: relative;
background: none;
}
.smallgames a img {
width: 112px; height: 80px;
border: 3px solid var(--coltheme) !important;
margin: 0;
}
.smallgames a div {
visibility: hidden;
}
.smallgames a:hover img {
filter: brightness(130%);
}
.bigban {
	width: 100%;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
}

@keyframes spin {
    100% {-webkit-transform: rotate(360deg); transform:rotate(360deg);}
}
@media (max-width:780px) {
  .logo {scale: 0.6; margin-top: -5px;}
  .ad {
    margin: 2% 0;
    width: 100%;
    padding: 10px 20px 20px 20px !important;
  }
  .b336 {
    width: 100%;
  }
  .baba {display: block;}
}

@media (max-width:1400px) {
  .sider {display: none;}
  .advert300 {margin: 0 0 0 10px;}
}
@media (max-width:1200px) {
  .sidel {display: none;}
  .advert160 {margin: 0 10px 0 0;}
}
@media (max-width:1000px) {
  .advert160 {display: none;}
}
@media (max-width:800px) {
  .advert300 {display: none;}
}
