@import url('https://fonts.googleapis.com/css?family=Open+Sans');
*{
	margin: 0;
	padding: 0;
	font-family:'Open Sans', sans-serif;
}
body{
	text-align: center;
	background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
section{
	width: 100%;
}
.tower{
	border-bottom: 5px solid #009efc;
	width: 30%;
	height: 350px;
	display: inline-block;
	border-radius: 7px;
	text-align: center;
	position: relative;
	cursor: pointer;
	box-sizing: border-box;
	transition: 0.1s;
}
.tower:hover{
	background: rgba(0, 158, 252, 0.1)
}
.tower:nth-of-type(2){
	margin: auto 1% auto 1%;
}
.disk{
	height: 30px;
	margin: auto;
	border-radius: 50px;
	position: absolute;
	box-sizing: border-box;
	background-image: linear-gradient(to right, #434343 0%, black 100%);
}
.upToMove{
	position: absolute;
	top: 0px;
}
.size1{
	width: 10%;
	left: 45%;
}
.size2{
	width: 20%;
	left: 40%;
}
.size3{
	width: 30%;
	left: 35%;
}
.size4{
	width: 40%;
	left: 30%;
}
.size5{
	width: 50%;
	left: 25%;
}
.size6{
	width: 60%;
	left: 20%;
}
.size7{
	width: 70%;
	left: 15%;
}
.size8{
	width: 80%;
	left: 10%;
}
.size9{
	width: 90%;
	left: 5%;
}
.size10{
	width: 100%;
	left: 0;
}
.alert{
	width: 550px;
  max-width: 90%;
  margin: 20px auto;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  bottom: 20px;
  left: -600px;
  color: #333;
	background-color: #fff;
  box-shadow: 0 0 53px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.025em;
  line-height: 1.8;
  z-index: 5;
	transition: 0.4s;
}
.alert h1 {
	float: left;
  line-height: 1;
  background: orange;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  margin-right: 10px;
}
.alert h2{
	float: left
}
.clearfix{
	clear: both;
}
.tower:after{
	content: " ";
	color: #fff;
	width: 5px;
	height: 100%;
	background: #009efc;
	position: absolute;
	z-index: -999999;
	border-radius: 10px;
}
.won{
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:white;
	text-align:center;
	z-index: 3;
}
.congrate {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px);
	position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.congrate * {
    margin-bottom: 30px;
}
.won h1{
	background:#1bcc87;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.won h2{
	color: #1bcc87;
	letter-spacing: 0.1em;
  font-size: 37px;
}
.won p{
	font-size:20px;
	line-height:30px;
	color: #525252;
  letter-spacing: 0.05em;
}
ul{
	list-style: none;
	position: absolute;
	top: 20px;
	z-index: 2;
}
ul li{
	display: inline-block;
	margin-bottom: 19px;
}
ul li> *,
.next-level,
.replay{
	top: 2em;
	left: 2em;
	font-size: 18px;
	color: #000;
	border: 3px solid #009efc;
	padding: 10px 20px;
	border-radius: 5px;
	box-shadow: 0 0 0 4px #ddd;
	margin-right: 15px;
	background: #fff;
}
.next-level,
.replay{
	font-size: 60px;
  line-height: 10px;
  padding: 16px 30px 30px 30px;
  color: #009efc;
  outline: none;
	cursor: pointer;
}
.replay{
	padding: 21px 35px 29px 35px;
}
ul li button{
	cursor: pointer;
	outline: none;
}
.lock{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px);
}
.level{
	background: none;
	border: none;
	font-size: 18px;
	color: #000;
	width: 20px;
}
.card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 200px;
  background: #fff;
  z-index: 999;
  padding: 10px;
	text-align: left;
	color: #333;
}
.card img {
  float: left;
  width: 69px;
  height: 69px;
	margin-right: 10px
}
@media only screen and (max-width: 991px) {
	.card{
		display: none;
	}
	.tower{
		height:300px;
	}
}
