@import url('https://fonts.googleapis.com/css?family=Pangolin');
.content {
	background: url('../img/paper5.jpg');
	max-width: 640px;
	margin: 0 auto;
	font-family: 'Pangolin', cursive;
	color: #4169E1;
}
.info {
	margin: 15px 0;
}
	.info-game {
		padding-bottom: 10px;
		border-bottom: 2px dashed #4169E1;
	}
	.info-row {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		flex-wrap: wrap;
		padding: 5px;
	}
	.info-header {
		margin: 5px 0;
	}
.bg {
	/*padding-bottom: 15px;*/
}
#btn-start {
	color: #4169E1;
	border: 2px dashed #4169E1;
	font-size:2rem;
	transition: .3s ease;
	padding: 5px;
}
#btn-start:hover {
	background-color: rgba(0, 35, 102,.1);
	cursor: pointer;
	transition: .3s ease;
}
.bg-row {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin: 10px 0;
}
	.bg-cell {
		width: 9vh;
		height: 9vh;
		text-align: center;
		border:2px solid #4169E1;
	}
	.bg-i {
		font-family: 'Pangolin', cursive;
		color: #4169E1;
		line-height: 9vh;
		font-size: 2rem;
		border: none;
	}
	.bg-g {
		transition: .3s ease;
	}
	.bg-g:hover {
		transition: .3s ease;
		cursor: pointer;
		background-color: rgba(0, 35, 102,.2);

	}
	.bg-cell img {
		width: 80%;
		height: 80%;
		margin-top: 10%;
		box-sizing: border-box;
	}

.about {
	padding-top: 15px;
	border-top: 2px dashed #4169E1;
	justify-content: space-between;
}

	.about-link {
		color: #4169E1;
		transition: .3s ease;
		margin: 0 5px;
		text-decoration: none;
	}

	.about-link:hover {
		text-decoration: underline;
		transition: .3s ease;
	}

	.about-link img {
		height: 30px;
	}

#btn-restart:hover {
	cursor: pointer;
}

	.bg-form {
		display: flex;
		flex-direction: row;
		justify-content: center;
		color: #4169E1;
	}

	.bg-form__label {

	}
	.bg-form__input {
		border: none;
		background: none;
		border-bottom: 2px solid #4169E1;
		font-family: 'Pangolin', cursive;
		color: #4169E1;
		margin: 0 5px;
		font-size: 1rem;
		width: 30px;
	}
	.bg-form__button {
		border: 2px dashed #4169E1;
		background: none;
		margin: 0 5px;
		font-family: 'Pangolin', cursive;
		color: #4169E1;
		font-size: 1rem;
	}
	.bg-form__button:hover {
		cursor: pointer;
		background-color: rgba(0, 35, 102,.1);
		transition: .3s ease;
	}
/*.total {
	display: flex;
	flex-direction: column;
	position: relative;
}
	.total-score {
		position: absolute;
		z-index: 1;
		left: 10%;

		display: block;
		padding: 5px;
		border: 2px dashed #4169E1;
		border-left: none;
		
		background-color: rgba(255,255,255,.8);
		
		text-align: center;
	}
	.total-img {
		max-width: 80%;
		height: auto;
		margin: 0 auto;
		border: 2px dashed #4169E1;
	}*/
.total {
	display: flex;
	flex-direction: row;
	justify-content: center;
}
	.total-score {
		height: 20vh;
		border: 2px dashed #4169E1;
		padding: 5px;
	}
	.total-img {
		height: 20vh;
		width: auto;
		border: 2px dashed #4169E1;
		border-right: none;
		padding: 5px;
	}
	.total-link {
		color: #4169E1;
		transition: .3s ease;
		margin: 0 5px;
		text-decoration: none;
		border: 1px dashed #4169E1;
	}

	.total-link:hover {
		text-decoration: underline;
		transition: .3s ease;	
		
	}

/*

	Анимации

*/
span:hover {
	cursor: default;
}
.pulse {
  display: block;
  margin: 3vh;
  width: 3vh;
  height: 3vh;
  border-radius: 50%;
  background: #4169E1;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(65,105,225, 0.4);
  animation: pulse 1s infinite;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(65,105,225, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 0 10px rgba(65,105,225, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba(65,105,225, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(65,105,225, 0.4);
    box-shadow: 0 0 0 0 rgba(65,105,225, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(65,105,225, 0);
      box-shadow: 0 0 0 10px rgba(65,105,225, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(65,105,225, 0);
      box-shadow: 0 0 0 0 rgba(65,105,225, 0);
  }
}

.miss {
	display: block;
/*
	margin: 3vh;
	width: 3vh;
	height: 3vh;
	border-radius: 50%;
	background: #4169E1;
	cursor: pointer;
	box-shadow: 0 0 0 rgba(65,105,225, 0.4);
	animation: miss 1s;
	-webkit-animation-fill-mode: forwards; */

}

/*
@-webkit-keyframes miss {
	100% {
		background: none;
		margin: 2vh;
		width: 5vh;
  		height: 5vh;
		box-shadow: 0 0 0 0.9vh rgba(65,105,225, 1);
	}
}


@keyframes miss {
	100% {
		background: none;
		margin: 2vh;
		width: 5vh;
  		height: 5vh;
		box-shadow: 0 0 0 0.9vh rgba(65,105,225, 1);
	}
}
*/

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 5vh;
  height: 5vh;
  margin: 1vh;
  border-radius: 50%;
  border: 3px solid #4169E1;
  border-color: #4169E1 transparent #4169E1 transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

