body, html {
  margin: 0 auto;
  width: 100%;
  height: 100%;
background-color: #c7c7c7;
background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23404040' fill-opacity='0.4'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/*#container {
  width: 835px;
  height: 400px;
  padding: 0;
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translate(-48%, -0%);
}*/

.me {
  position: relative;
  background-size: 800px 400px;
  background-repeat: no-repeat;
  display: inline-block;
  margin: 2.2px;
  margin-top: -0.5px;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  transition: .2s;
}
.full {
  height: 400px;
  width: 800px;
  border-radius: 15px;
}

$i : 0;
		$top : 0;
		$left: 0;
		@for $i from 0 through 17 {	
			@if $left == 799.98{
				$left : 0;
				$top : $top + 133.33;
			}	
		.me_#{$i}{
			height: 133.33px;
			width: 133.33px;
			background-position: -#{$left}px  -#{$top}px;
			}
		$left : $left + 133.33;
}

.prevent_click{
    pointer-events: none;
}
.correct {
  border-radius: 0px;
  box-shadow: 0 0 0 transparent, 0 0 0 transparent;
  animation: corect .5s ease;
  animation-delay: .2s;
}

@keyframes corect {
  0% {
    transform: scale(1);
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  }
  50% {
    transform: scale(1.25);
    border-radius: 5px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  }
  100% {
    transform: scale(1);
    border-radius: 0px;
    box-shadow: 0 0 0 transparent, 0 0 0 transparent;
  }
}
.pre_img li i{
	    font-size: 100px;
	    text-align: center;
	    display: block;
}
.pre_img{
    /*margin-top: 10px; */
    width: 100%;
    text-align: center;
    /*position: absolute;*/
    /*left: 100px;*/
  }

  .pre_img li {
    display: inline-block;
    list-style: none;
    margin: 10px 10px 10px 10px;
    width: 15%;
    background: white;
    border-radius: 25px;
    box-shadow: 5px 10px #888888;
  }
  .pre_img li img{
    /*width: 150px;*/
    height: 75px;
    position: relative;
    cursor: pointer;

        position: relative;
    /* float: left; */
    width: 85px;
    /* height: 100px; */
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto;
    /* float: left; */
    /* width: 30%; */
    /* height: auto; */
    z-index: 0;




  }

.cover{
  display: none;
  position: absolute;
  background-color: rgba(0,0,0,0.38);
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.score{
  margin: 13% auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #666;
  width: 300px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
  position: relative;
}

#scr_head{
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  font-family: cursive;
  color: #3d3d3d;
}

#scr_time{
  text-align: center;
  font-weight: 600;
  font-size: 22px;
  font-family: cursive;
  color: #3d3d3d;
}

#scr_moves{
  text-align: center;
  font-weight: 600;
  font-size: 22px;
  font-family: cursive;
  color: #3d3d3d;
}
.start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 18px 45px;

}

.reset{
  position: absolute;
  margin: 0 auto;
  padding: 18px 45px;
  left: 50%;
  transform: translate(-50%,120px);
}

.OK{
  padding: 8px 25px;
  float: right;
  cursor: pointer;
}


.button{ 
  margin: 0px 10px 10px 0px;
  border-radius: 10px;
  font-family: cursive;
  font-size: 25px;
  color: #FFF;
  text-decoration: none;
  background-color: #E74C3C;
  border-bottom: 5px solid #BD3E31;
  text-shadow: 0px -2px #BD3E31;
  z-index: 999;
  transition: all 0.1s;
  -webkit-transition: all 0.1s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.button:active {
  border-bottom: 1px solid #BD3E31;
}

.i{
	text-align: center;
	font-family: cursive;
	font-weight: 550;
	color: #3c3c3c3;
}
.inner_img{
	display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    margin-top: 5%;
}

/*loader*/
#loading {
  width: 100%;height: 100%;top: 0px;left: 0px;position: fixed;display: block; z-index: 99;
  background: #151515a6;
}

#loading-image {position: absolute;top: 40%;left: 45%;z-index: 100} 
/*loader*/

.top_hed{
 /*margin: 30px 0px 25px 35px;*/
        /*margin: 20px 0px 5px 35px;*/
        margin: 0 0px 0 35px;
}
.st_btn{
  padding: 20px;
}

@media (max-width: 770px)
{
.pre_img .red li , .pre_img .blue li ,.pre_img .green li{
      width: 13%;
}
.pre_img li i{
  font-size: 30px;
}
.pre_img li img {
    width: 30px;
    height: 30px;
}

}



@media (min-width: 768px)
{
  .pre_img li i {
    font-size: 75px;
}
}

@media (min-width: 400px) AND (max-width: 768px)
{
  }

@media (min-width: 400px) AND (max-width: 540px)
{
.pre_img li{
  margin:2px 2px 10px 10px;
}
}



/*popup*/
/*html,body {
  font-family: 'Raleway', sans-serif;
  padding: 0 2em;
  font-size: 18px;
  background: #222;
  color: #aaa;
  text-align:center;
}

h1 {
  font-size: 3em;
  font-weight: 200;
  margin: 0.5em 0 0.2em 0;
}

p {
  margin: 1.5em 0;
  color: #888;
}*/

.thumbnail {
  max-width: 40%;
}

.italic { font-style: italic; }
.small { font-size: 0.8em; }

/** LIGHTBOX MARKUP **/

.lightbox {
  /** Default lightbox to hidden */
  display: none;

  /** Position and style */
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
}

.lightbox img {
  /** Pad the lightbox image */
  max-width: 90%;
  max-height: 80%;
  margin-top: 10%;
}

.lightbox:target {
  /** Remove default browser outline */
  outline: none;

  /** Unhide lightbox **/
  display: block;
}
/*popup*/

@media (max-width: 770px){
  .center_tit h3{
    font-size: 13px !important;
  }
  .tit h3{
    font-size: 14px !important;
  }
  .st_btn{

  }
}



