@font-face {
	font-family: "digital";
	src: url("digital.woff2") format("woff2");
}

@keyframes shinny {
	from {
		background: rgb(0,130,200);
	}
	to {
		background: rgba(0,0,255, 0.5);
	}
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.05);
	overflow: hidden;
}

#current {
	display: none;
}

img {
	width: 315px;
}

#text {
	opacity: 0;
	position: fixed;
}

#submit, #reset {
	background: rgba(0,0,255, 0.9);
	color: white;
	font-size: 20px;
	font-family: 'digital';
	line-height: 20px;
	padding: 3px;
	padding-bottom: 1px;
	cursor: pointer;
	margin: 3px;
}

#submit:hover, #reset:hover {
	background: rgb(0,130,200);
}

.wrapper {
	top: 50%;
	position: relative;
	transform: translateY(-50%);
	text-align: center;
}

.lcd {
	width: 682px;
	border: 3px solid black;
	box-shadow: inset 2px 2px 3px 3px rgba(0,0,0,0.3), 5px 5px 15px 5px rgba(0,0,0,0);
	padding: 5px;
	border-radius: 5px;
	background: rgba(0,0,0,0.2);
	transform: scale(0.5) translateX(-50%);
	margin-left: calc(50% - 349px/2);
}

.letter {
	width: 672px;
	background: rgba(0,0,255, 0.8);
	padding: 5px;
	font-size: 0;
}

.letter > div {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	padding: 5px;
	vertical-align: top;
	text-align: center;
	font-size: 40px;
	font-family: 'digital';
	line-height: 37px;
	background: rgba(0,0,255, 0.5);
	color: white;
	border: 1px solid white;
	box-shadow: inset 2px 2px 1px 3px rgba(0,0,0,0.3), 5px 5px 15px 5px rgba(0,0,0,0);
}

.shine {
	animation-name: shinny;
	animation-duration: .5s;
	animation-iteration-count: infinite;
} 

.letter span {
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	line-height: 45px;
	opacity: 0.15;
}

@media screen and (min-width: 1000px) {
	img {
		width: 500px;
	}
	.lcd {
		width: 682px;
		border: 3px solid black;
		box-shadow: inset 2px 2px 3px 3px rgba(0,0,0,0.3), 5px 5px 15px 5px rgba(0,0,0,0);
		padding: 5px;
		border-radius: 5px;
		background: rgba(0,0,0,0.2);
		transform: scale(1) translateX(0);
		margin-left: calc(50% - 349px);
		margin-top: 30px;
		margin-bottom: 30px;
	}
	#submit, #reset {
		font-size: 40px;
		line-height: 40px;
	}
}