* {
	box-sizing: border-box;
}

body {
	position: relative;
	background-image: linear-gradient(#000000ea, #000000ea),
		url("./images/hyperspace.gif");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	/* height: 100vh; */
	color: #fff;
	margin: 0;
}

a {
	color: #fff;
}

p {
	margin: 0;
}

ul {
	margin: 5px 0 0 0;
	padding-left: 1.5rem;
}

ul li {
	padding: 0.2rem 0;
}

header {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid #a8a8a8;
}

#logo {
	filter: grayscale(1);
	width: 375px;
	min-width: 320px;
}

.label {
	color: #a8a8a8;
	font-size: 1rem;
	text-transform: uppercase;
	margin: 0;
}

.value {
	word-wrap: break-word;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.5rem;
	margin: 0;
}

.container {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	padding-bottom: 2rem;
}

.cell {
	grid-column: span 12;
	padding: 1rem;
}

.value.character {
	line-height: 1;
}

footer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 1rem 1rem 0.5rem 1rem;
	font-weight: bold;
	text-align: center;
}

#refresh {
	cursor: pointer;
	color: #a8a8a8;
	font-size: 2rem;
	background-color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #a8a8a8;
	border-radius: 50%;
	padding: 0.5rem;
	margin-bottom: 1rem;
}

#refresh:hover {
	color: #000;
	background-color: #a8a8a8;
}

@media (min-width: 320px) and (max-width: 640px) {
	.cell {
		grid-column: span 6;
		border-bottom: 1px solid #a8a8a8;
	}

	.cell:first-child {
		grid-column: 1/13;
	}

	.cell:nth-child(2) {
		border-bottom: none;
		border-right: 1px solid #a8a8a8;
		border-bottom: 1px solid #a8a8a8;
	}

	/* .cell:nth-child(3) {
	border-bottom: 1px solid #a8a8a8;
} */

	.cell:nth-child(4) {
		grid-column: span 6;
		border-right: 1px solid #a8a8a8;
	}

	.cell:nth-child(6),
	.cell:nth-child(7) {
		grid-column: span 12;
		border-bottom: 1px solid #a8a8a8;
	}

	.cell:nth-child(7) {
		border-bottom: 1px solid #a8a8a8;
	}

	.value {
		font-size: 1.5rem;
	}

	.value.character {
		font-size: 2.5rem;
	}
}

@media (min-width: 768px) and (max-width: 1536px) {
	body {
		min-height: 100vh;
	}

	.cell {
		border-bottom: 1px solid #a8a8a8;
	}

	.cell:first-child {
		grid-column: span 6;
		border-right: 1px solid #a8a8a8;
	}

	.cell:nth-child(2) {
		border-right: 1px solid #a8a8a8;
	}

	.cell:nth-child(2),
	.cell:nth-child(3) {
		grid-column: span 3;
	}

	.cell:nth-child(4) {
		border-right: 1px solid #a8a8a8;
	}

	.cell:nth-child(4),
	.cell:nth-child(5),
	.cell:nth-child(6),
	.cell:nth-child(7) {
		grid-column: span 6;
	}

	.cell:nth-child(6) {
		border-right: 1px solid #a8a8a8;
	}

	.value {
		font-size: 2rem;
	}

	.value.character {
		font-size: 3.5rem;
	}
}
