
#board {
  width: 575px;
  height: 350px;
  border: 0;
  color: #fff;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
  font-size: 100%;
  background: url(img/doska_2.png) center center no-repeat;
  margin: 0;
  padding: 0;
}

#game, #board, #game tr, #game td {
  border:none !important;
  margin: 0;
  padding: 0;
}
#game_box, #start_box {
  position: relative;
  width: 575px;
  height: 350px;
  margin: 0;
  padding: 0;
}
#game_box {
  display: none;
}

/* //////////////////////////// Button-Start //////////*/

#game .brd_btn {
  text-align: center;
  margin: 0;
  padding: 0;
  border:none;
}
#btn_box {
  position: relative;
  width: 32%;
  margin: 3px auto;
  padding: 0;
  text-align: center;
  border:none;
}
#btn_hover {
  display: none;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border:none;
}
#btn_box img, #btn_hover img {
  width: 99%;
  margin: 0;
  padding: 0;
  border:none;
}

#btn_box:hover #btn_hover {
  display: block;
}


/* ///////////////////////// Maine, Table &... ////////////*/

#game {
  margin: 0;
  padding: 0;
}
#game td {
  color: #fff;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
  margin: 0;
  padding: 0;
}
#game .head_s {
  font-size: 4vh;
  text-align: center;
  padding-top: 4%;
  padding-bottom: 3%;
  font-family: Arial;
}
#game .head_l {
  font-size: 2vh;
  text-align: left;
  padding-top: 5%;
}
#game .head_r {
  font-size: 2vh;
  text-align: center;
  padding-top: 5%;
}
#game .string {
  font-size: 14px;
  text-align: left;
}
.example {
  color: #fff;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
  font-size: 2.1rem;
  text-align: center;
  margin: 0;
  padding: 0;
}
#game .border {
  border:none !important;
  width: 6%;
}
.circle {
  display: block;
  width: 52px;
  height: 52px;
  float: left;
  margin: 0 5px;
  border: 3px solid;
  border-radius: 50%;
  color: #fff;
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
  font-size: 28px;
  line-height: 46px;
  text-align: center;
  cursor: pointer;
}
.circle2 {
  display: inline-block;
  width: 52px;
  height: 52px;
  border: 1px solid;
  border-radius: 50%;
  line-height: 42px;
  text-align: center;
  background: #34604b;
}
#droppable {
  position: absolute;
  top: 0;
  left: 250px;
}
.rotation {
  transform: rotate(0deg);
}
#result, #helper {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
}
#helper {
  background: url(img/doska_2.png) center center no-repeat;
}
#helper img {
  display: block;
  height: 85%;
  margin-top: 3%;
  margin-left: auto;
  margin-right: auto;
}
#back {
  float: left;
  cursor: pointer;
}
#help {
  float: right;
  text-align: right;
  cursor: pointer;
}
#backer {
  z-index: 1000;
  position: absolute;
  bottom: 10.5%;
  right: 7%;
  width: 20%;
  margin: 0;
  padding: 0;
  text-align: right;
  cursor: pointer;
}
/* //////////////////////////////// intro //////////*/

/* ////////// background //////////*/

#intro_main {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(-45deg, #FFFF00, #9932CC, #23A6D5, #23E9AB);
  background-size: 400% 400%;
  -webkit-animation: Gradient 6s ease infinite;
  -moz-animation: Gradient 6s ease infinite;
  animation: Gradient 6s ease infinite;
}
@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
    opacity: 0.1;
  }
  50% {
    background-position: 100% 60%;
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 1;
  }
}
@-moz-keyframes Gradient {
  0% {
    background-position: 0% 50%;
    opacity: 0.1;
  }
  50% {
    background-position: 100% 60%;
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 1;
  }
}
@keyframes Gradient {
  0% {
    background-position: 0% 50%;
    opacity: 0.1;
  }
  50% {
    background-position: 100% 60%;
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 1;
  }
}
/* ////////// logo //////////*/

.intro_box {
  animation-name: fadeIn;
  -webkit-animation-name: fadeIn;
  animation-duration: 8s;
  -webkit-animation-duration: 8s;
  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
  visibility: visible !important;
  z-index: 1000;
}
.intro_box img {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
}
@keyframes fadeIn {
  0% {
    transform: scale(0.1);
    opacity: 0.3;
    margin-top: 20%;
  }
  20% {
    transform: scale(1.0);
    opacity: 1;
    margin-top: 20%;
  }
  60% {
    transform: scale(1.2);
    opacity: 0.9;
    margin-top: 20%;
  }
  100% {
    transform: scale(15);
    opacity: 0;
    margin-top: 4%;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    -webkit-transform: scale(0.1);
    opacity: 0.3;
    margin-top: 20%;
  }
  20% {
    -webkit-transform: scale(1.0);
    opacity: 1;
    margin-top: 20%;
  }
  60% {
    -webkit-transform: scale(1.2);
    opacity: 0.9;
    margin-top: 20%;
  }
  100% {
    -webkit-transform: scale(15);
    opacity: 0;
    margin-top: 4%;
  }
}
/* //////////////////////////////// ANIMATE Result //////////*/

#clouds {
  width: 575px;
  height: 350px;
  overflow: hidden;
}
.yes {
  background: url(img/fon_yes.png) center center no-repeat;
}
.no {
  background: url(img/fon_no.png) center center no-repeat;
}
#clouds div {
  width: 99%;
  margin: 0;
  padding: 0;
}
#clouds div img {
  display: block;
  width: 37%;
  padding: 0;
  margin: 0 auto;
  border: 0;
}
.modal_result {
  animation: moveclouds 3s linear forwards;
  -webkit-animation: moveclouds 3s linear forwards;
  -moz-animation: moveclouds 3s linear forwards;
  -o-animation: moveclouds 3s linear forwards;
}
@keyframes moveclouds {
  0% {
    transform: translate(0px, 350px);
  }
  45%, 60% {
    transform: translate(0px, 145px);
  }
  100% {
    transform: translate(0px, -60px);
  }
}
@-webkit-keyframes moveclouds {
  0% {
    -webkit-transform: translate(0px, 350px);
  }
  45%, 60% {
    -webkit-transform: translate(0px, 145px);
  }
  100% {
    -webkit-transform: translate(0px, -60px);
  }
}
@-moz-keyframes moveclouds {
  0% {
    -moz-transform: translate(0px, 350px);
  }
  45%, 60% {
    -moz-transform: translate(0px, 145px);
  }
  100% {
    -moz-transform: translate(0px, -60px);
  }
}
@-o-keyframes moveclouds {
  0% {
    -o-transform: translate(0px, 350px);
  }
  45%, 60% {
    -o-transform: translate(0px, 145px);
  }
  100% {
    -o-transform: translate(0px, -60px);
  }
}
/* //////////////////////////////// ripple //////////*/

.ripple-effect {
  background-color: rgb(255, 255, 255);
  width: 60px;
  height: 60px;
  padding-bottom: 1vh;
  border-radius: 50%;
  animation: ripple 700ms linear infinite;
  transform: translate(-500, -50%);
}
@keyframes ripple {
  0% {
    transform: scale(0.0);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}
/* //////////////////////////////// time-out //////////*/

#time-out {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
}
#time-out-modal {
  position: absolute;
  left: 17%;
  bottom: 17%;
  right: 17%;
  top: 17%;
  background-color: #efefef;
  color: #000;
  text-align: center;
}
.time-out-btn {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  display: inline-block;
  width: 80%;
  text-align: center;
  text-decoration: none;
  margin: 2% auto;
  border: solid 1px transparent;
  border-radius: 4px;
  padding: 0.5em 1em;
  color: #ffffff;
  background-color: #00751C;
  font-size: 100%;
}
.time-out-btn:active {
  transform: translateY(1px);
  filter: saturate(150%);
}
.time-out-btn:hover, .time-out-btn:focus {
  color: #00751C;
  border-color: currentColor;
  background-color: white;
  text-decoration: none;
}
.time-out-btn::-moz-focus-inner {
  border: none;
  text-decoration: none;
}