body {
    background-color: #fafafa !important;
    text-align: center;
    perspective: 800px;
}

* {
	transition: 0.854s;
}

.tile-container {
	width: 270px;
	margin: 1em auto;
	overflow: visible;
}

.tile-container > .tile {
	margin: 5px;
	width: 80px;
	height: 80px;
	box-shadow: 0 0 5px 5px #33333325;
	background-color: #333333;
	float: left;
	border-radius: 5%;
	overflow: inherit;
	cursor: pointer;
}

.tile-container > .tile > .ui.icon {
	padding: 10px 0;
}

.rotated {
  transform: rotate3d(0, 1, 0, 180deg);
}

#time {
	color: #333333;
	font-size: 5em;
	margin: 0.5em auto !important;
}

#matches {
	color: #333333;
	font-size: 2em;
	margin: 1em auto !important;
}

.modal-background {
	width: 100vw;
	height: 100vh;
	background: #00000010;
	position: absolute;
	z-index: 999;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
}


.modal {
	width: 350px;
	height: 80vh;
	margin: 10vh auto;
	text-align: inherit;
}

.modal > input {
	width: 90%;
	margin: 1em auto;
}

.ui.dimmer.modals.page.transition.visible.active {
	background-color: #00000000 !important;
}