body {
    background-color:#000;
}

/* format playing grid elements */
table {
  margin: 0 auto;
  cursor: url('https://cur.cursors-4u.net/others/oth-1/oth24.cur'), auto !important; /* End https://www.cursors-4u.com */
}


.play-sq{
  text-align:center;
  vertical-align:middle;
	width: 200px;
	height: 200px;
	border: 1px solid yellow !important;
  background-color:rgba(70,10,10,.5);
  margin:0px;
  padding:0px;
  z-index:9;
  }

  .container .play-sq:hover{
    background: rgba(50,50,50,.5);
    color: red;
  }

  /* change background of winning squares */
  .win-sq{
    background-color:rgba(0,0,255,.3);
  }
 
.hidden {
  display:none;
}

.visible{
  display:block;
}

.p1img, .p2img{
  display:flex;
  justify-content: center;  
  align-items: center;
  z-index:1;
}

#info-box {
  text-align:center;
  color:goldenrod;
  border: 2px solid goldenrod;
  width:31.2%;
  margin: 0 auto;
}

#playing-grid{
    z-index:1;
}
 #play-again{
    margin: 0 auto;
}

.img-responsive{
    display:inline-block;
    height:auto;
    max-width: 100%;
}

/*-- TYPOGRAPHY -- */
h1, h2, h3, h4 {
    font-family:'StarJedi';
}

/*-- FONT FACE KITS --*/
@font-face {
    font-family: 'StarJedi';
    src: url('fonts/starjedi-webfont.woff2') format('woff2'),
         url('fonts/starjedi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/**** Media Queries ****/
@media screen and (max-width: 1280px){
   .container .play-sq{
        width: 200px;
        height: 200px;
    }

    #playing-grid{
        width: 1100px;
    }
}

@media screen and (max-width: 640px){
    .footer-logo{
        display:none;
    }  

    .p1img, .p2img{
        margin-top:-90px;
    }
    
    .container .play-sq{
        width: 100px;
        height: 100px;
    }

    #playing-grid{
        width: 435px;
    }
}


/* BACKGROUND AND ANIMATION
    https://codepen.io/keithclark/pen/DQdKbg
*/

/* Stars 
------------------------------------- */

#space, .stars {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index:-1;
}

.stars {
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: zoom 10s infinite;
  opacity: 0;
}

.stars:nth-child(1) {
  background-position: 50% 50%;
  animation-delay: 0s;
}
.stars:nth-child(2) {
  background-position: 20% 60%;
  animation-delay: 1s;
}
.stars:nth-child(3) {
  background-position: -20% -30%;
  animation-delay: 2s;
}
.stars:nth-child(4) {
  background-position: 40% -80%;
  animation-delay: 3s;
}
.stars:nth-child(5) {
  background-position: -20% 30%;
  animation-delay: 4s;
}

@keyframes zoom {
  0% {
    opacity: 0;
    transform: scale(0.5);
    animation-timing-function: ease-in;
  } 
  85% {
    opacity: 1;
    transform: scale(2.8);
    animation-timing-function: linear;
  }
  100% {
    opacity: 0;
    transform: scale(3.5);
  }
}

/* Demo syles 
------------------------------------- */

body {
  background: black;
}
