@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;500&display=swap");

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes "blink" {
 from {
   	opacity: 0.05;
 }
 to {
   	opacity: 0.95;
 }

}

@-moz-keyframes blink {
 from {
   opacity: 0.05;
 }
 to {
   opacity: 0.95;
 }

}

@-webkit-keyframes "blink" {
 from {
   opacity: 0.05;
 }
 to {
   opacity: 0.95;
 }

}

@-ms-keyframes "blink" {
 from {
   opacity: 0.05;
 }
 to {
   opacity: 0.95;
 }

}

@-o-keyframes "blink" {
 from {
   opacity: 0.05;
 }
 to {
   opacity: 0.95;
 }

}

@keyframes "hovering" {
 from {
    top: -10px;
   	box-shadow: 0 10px 10px rgba(0,0,0,0.7);
 }
 to {
    top: 0;
   	box-shadow: none;
 }

}

@-moz-keyframes hovering {
 from {
   top: -10px;
   box-shadow: 0 10px 10px rgba(0,0,0,0.7);
 }
 to {
   top: 0;
   box-shadow: none;
 }

}

@-webkit-keyframes "hovering" {
 from {
   top: -10px;
   box-shadow: 0 10px 10px rgba(0,0,0,0.7);
 }
 to {
   top: 0;
   box-shadow: none;
 }

}

@-ms-keyframes "hovering" {
 from {
   top: -10px;
   box-shadow: 0 10px 10px rgba(0,0,0,0.7);
 }
 to {
   top: 0;
   box-shadow: none;
 }

}

@-o-keyframes "hovering" {
 from {
   top: -10px;
   box-shadow: 0 10px 10px rgba(0,0,0,0.7);
 }
 to {
   top: 0;
   box-shadow: none;
 }

}

body {
	font-family: "Poppins", Helvetica, Arial, sans-serif;
	background: linear-gradient(-30deg, #e96a43, #ee4f8c, #3e82e7, #1dabce, #16e45a);
  background-size: 400%, 400%;
  animation: gradient 35s ease infinite;
}

.ui-body-a {
	font-family: "Poppins", Helvetica, Arial, sans-serif !important;
}

.ui-overlay-a {
	background: linear-gradient(-30deg, #e96a43, #ee4f8c, #3e82e7, #1dabce, #16e45a);
  background-size: 400%, 400%;
}

.no-background {
	background: none;
}

.center {
	text-align: center;
}

.no-padding {
	padding: 0;
}

.thin-content {
	max-width: 500px;
	margin: 0 auto;
}

#game-page {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.screen-center {
	position: fixed;
	top: 40%;
	left: 50%;
	z-index: 99;
}

.fullscreen-wrapper>.screen-center {
	position: absolute;
}

.fullscreen-wrapper {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: transparent;
	display: none;
	z-index: 99;
}

.happy-face {
	margin-left: -240px;
  margin-top: -69px;
	box-shadow: 0 0 20px 10px #0000003b;
	border-radius: 10px;
}

.sad-face {
	margin-left: -221px;
	margin-top: -50px;
	width: 440px;
	box-shadow: 0 0 20px 10px #0000003b;
	border-radius: 10px;
}

.game-ult {
	position: absolute;
}

header.game-ult {
	left: 50%;
	margin-left: -100px;
	width: 200px;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	top: 0;
	color: #ffffff;
	font-family: "Poppins", Helvetica, Arial, sans-serif;
}

.thinking {
	top: 45px;
	margin-left: -132px;
	width: 240px;
	padding: 10px;
	display: none;
	background: white;
	border: 2px solid black;
	border-radius: 5px;

	box-shadow: 0 0 10px black;
	text-align: center;
	opacity: 0.8;

	-webkit-animation: thinking-glow 1s;
	-moz-animation: thinking-glow 1s;
	-ms-animation: thinking-glow 1s;
	-o-animation: thinking-glow 1s;
	animation: thinking-glow 1s;

	-webkit-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-o-animation-iteration-count: infinite;
	animation-iteration-count: infinite;

	-webkit-animation-direction: alternate;
	-moz-animation-direction: alternate;
	-ms-animation-direction: alternate;
	-o-animation-direction: alternate;
	animation-direction: alternate;
}

.thinking>h4 {
	font-size: 2em;
	margin: 0;
	font-family: sans;
}

.game-title {
	width: 800px;
	margin: 0 auto;
	border: none;

	-webkit-box-shadow: 0 0 10px #000000a4;
	box-shadow: 0 0 10px #000000a4;
	border-radius: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

a {
	color: white;
}

.button {
  display: block;
	text-align: center;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.699);
  font-weight: 500;
  text-decoration: none;
  padding: 6px;
  margin: 4px 20px;
  border-radius: 10px;
}

.button:hover {
  text-decoration: none;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.35);
  transition: 0.4s;
}

table.board,table.board td {
	border: none;
	border-collapse: collapse;
}

#game-region td {
	padding: 18px;
}

#game-region {
	position: absolute;
	padding: 24px;
	border-radius: 10px;
	background: #ffffff61;

	-webkit-box-shadow: inset 0 0 3px #ffffff2d, 0 0 10px #00000015;
	box-shadow: inset 0 0 3px #ffffff2d, 0 0 10px #00000015;
	left: 50%;
	top: 50%;
}

.go-board {
	position: absolute;
	top: 6px;
	left: 6px;
	right: 6px;
	bottom: 6px;
	border-spacing: 0;
	border-collapse: collapse;
	color: transparent;
}

.go-darkdot::before {
	content: ' ';
	background: #ffffff;
	display: block;
	position: absolute;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	margin-left: -5px;
}

.go-smalldot::before {
	content: ' ';
	background: #ffffff9a;
	display: block;
	position: absolute;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	width: 5px;
	height: 5px;
	margin-top: -3px;
	margin-left: -3px;
}

.go {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 1000px;
	position: absolute;
	left: 0;
}

.go-board .go-place.last-move>.go {
	box-shadow: 0 0 2px rgba(0,0,0,0.5), 0 0 10px 3px rgba(255, 255, 255, 0.5) !important;
}

#game-info>.go {
	border-radius: 1000px;
	display: block;
	float: left;
	height: 1em;
	width: 1em;
	margin-right: 0.2em;

	-webkit-transform: none !important;
	-moz-transform: none !important;
	-o-transform: none !important;
	-ms-transform: none !important;
	transform: none !important;
	position: static;
}

#game-info {
	text-align: left;
	text-shadow: none;
	font-size: 1.1em;
}

.blinking {
	-webkit-animation: blink 0.7s;
	-moz-animation: blink 0.7s;
	-ms-animation: blink 0.7s;
	-o-animation: blink 0.7s;
	animation: blink 0.7s;

	-webkit-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-o-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	
	-webkit-animation-direction: alternate;
	-moz-animation-direction: alternate;
	-ms-animation-direction: alternate;
	-o-animation-direction: alternate;
	animation-direction: alternate;
}

.black.go-board.playing .go-place:not(.set):hover>.go,.go-board .go-place.black>.go,#game-info>.go.black {
	background: black;

	background: -webkit-radial-gradient(30% 25%, circle closest-corner, #207681,#004852);
	background: -moz-radial-gradient(30% 25%, circle closest-corner, #207681,#004852);
	background: -o-radial-gradient(30% 25%, circle closest-corner, #207681,#004852);
	background: -ms-radial-gradient(30% 25%, circle closest-corner, #207681,#004852);
	background: radial-gradient(30% 25%, circle closest-corner,  #207681,#004852);

	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-o-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
}

.white.go-board.playing .go-place:not(.set):hover>.go,.go-board .go-place.white>.go,#game-info>.go.white {
	background: white;

	background: -webkit-radial-gradient(30% 25%, circle closest-corner, #ffffff,#ebebeb);
	background: -moz-radial-gradient(30% 25%, circle closest-corner, #ffffff,#ebebeb);
	background: -o-radial-gradient(30% 25%, circle closest-corner, #ffffff,#ebebeb);
	background: -ms-radial-gradient(30% 25%, circle closest-corner, #ffffff,#ebebeb);
	background: radial-gradient(30% 25%, circle closest-corner,#ffffff,#ebebeb);

	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-o-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
}

.go-board .go-place.set>.go {
	top: 0;
}

.go-board.playing .go-place:not(.set):hover>.go {
	top: -4px;

	box-shadow: inset 0 -2px 15px rgba(255,255,255,0.3), inset -2px -1px 40px rgba(0,0,0,0.4), 0 10px 10px rgba(0, 0, 0, 0.233) !important;
	opacity: 0.7;

	-webkit-animation: none !important;
	-moz-animation: none !important;
	-ms-animation: none !important;
	-o-animation: none !important;
	animation: none !important;
}

.warning>.go {
	-webkit-box-shadow: 0 0 20px #00ffff;
	box-shadow: 0 0 20px #00ffff;
	background: #00d5e4;
	height: 100%;
	width: 100%;

	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-o-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);

	-webkit-animation: blink 1s;
	-moz-animation: blink 1s;
	-ms-animation: blink 1s;
	-o-animation: blink 1s;
	animation: blink 1s;

	-webkit-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	-o-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	
	-webkit-animation-direction: alternate;
	-moz-animation-direction: alternate;
	-ms-animation-direction: alternate;
	-o-animation-direction: alternate;
	animation-direction: alternate;
}