@import url("https://fonts.googleapis.com/css?family=Muli:300,700&display=swap");

* {
	box-sizing: border-box;
}

body {
	font-family: "Muli", sans-serif;
	background-color: #fbfcfe;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	overflow: hidden;
	margin: 0;
}

.back {
	position: absolute;
	top: 2vh;
	left: 5vw;
	color: black;
	font-size: 2rem;
	font-family: initial;
}

.container {
	background-color: white;
	border: 3px black solid;
	border-radius: 10px;
	padding: 30px;
	max-width: 1000px;
	text-align: center;
	position: relative;
}

.code-container {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 40px 0;
}

.code {
	border-radius: 5px;
	font-size: 75px;
	height: 120px;
	width: 100px;
	border: 1px solid #eeeeee;
	margin: 1%;
	text-align: center;
	font-weight: 300;
	-moz-appearance: textfield;
}

.code::-webkit-outer-spin-button,
.code::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.code:valid {
	border-color: #3498db;
	box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

.btn {
	width: 70%;
	border-radius: 5px;
	background-color: transparent;
	font-size: 1rem;
	padding: 20px;
	border: 2px solid black;
	cursor: pointer;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.btn:hover {
	border: 2px dashed black;
}

.info {
	background-color: #eaeaea;
	margin-top: 100px;
	display: inline-block;
	padding: 10px;
	line-height: 20px;
	max-width: 400px;
	color: #777777;
	border-radius: 5px;
}

@media (max-width: 600px) {
	.code-container {
		flex-wrap: wrap;
	}
	.code {
		font-size: 60px;
		height: 80px;
		max-width: 70px;
	}
}
