html, body {
	height: 100%;
	width: 100%;
	background-image: url("images/bg.webp");
	background-size: cover;
	color: white;
	display: flex;
	flex-direction: column;
}

.centerwrapper {
	flex: 1;
	display: flex;
	align-items: center;
  	justify-content: center;
  	text-align: center;
  	width: 100%;
}

.centered {
  	max-width: fit-content;
}

.container-fluid:not(.centered) {
	height: 100%;
}

.text-bold {
	font-weight: bold;
}

.big-btn {
	display: block;
	text-decoration: none;
	width: 400px;
	height: 120px;
	color: white;
	text-align: center;
	align-content: center;
	border: 5px solid white;
	background: radial-gradient(circle,rgba(0, 0, 255, 1) 0%, rgba(0, 0, 89, 1) 100%);
	border-radius: 20px;
}

.big-btn:hover {
	color: black;
	background: radial-gradient(circle,rgba(251, 255, 0, 1) 0%, rgba(88, 89, 1, 1) 100%);
}

.sm-btn {
	border: 2px solid white;
	background: radial-gradient(circle,rgba(0, 0, 255, 1) 0%, rgba(0, 0, 89, 1) 100%);
	border-radius: 10px;
	color: white;
	padding: 10px;
	font-weight: bold;
}

.sm-btn:hover {
	color: black;
	background: radial-gradient(circle,rgba(251, 255, 0, 1) 0%, rgba(88, 89, 1, 1) 100%);
}

.code-input {
	border-radius: 10px;
	width: 300px;
	padding: 5px;
	text-align: center;
}

.w-250px {
	width: 250px !important;
}

table.board {
	width: 100%;
	table-layout: fixed;
}

table.board thead tr th {
	text-align: center;
	font-size: 36px;
}

table.board tbody tr td {
	height: 120px;
	border: 2px solid gray;
	text-align: center;
	font-size: 12px;

	@media (max-width: 768px) {
		font-size: 10px;
	}
}

table.board tbody tr td:hover {
	cursor: pointer;
}

.red {
	background: rgba(255,0,0,0.5);
}

.blue {
	background: rgba(0,0,255,0.5);
}

.toggle-back {
	position: relative;
	z-index: 0;
	margin-inline: auto;
	height: 100px;
	width: 300px;
	border-radius: 50px;
	overflow: hidden;
	background: radial-gradient(circle,rgba(255, 0, 0, 1) 0%, rgba(89, 1, 1, 1) 100%);
	border: 5px solid white;
	font-size: 24px;
	align-content: center;
	text-align: center;

	@media (max-width: 768px) {
		width: 150px;
		height: 50px;
		border: 2px solid white;
		font-size: 18px;
	}
}

.toggle-back span {
	position: relative;
	right: 50px;

	@media (max-width: 768px) {
		right: 25px;
	}
}

.toggle-front {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	height: 90px;
	width: 290px;
	border-radius: 50px;
	background: radial-gradient(circle,rgba(0, 0, 255, 1) 0%, rgba(0, 0, 89, 1) 100%);
	font-size: 24px;
	align-content: center;
	text-align: center;
	transition: left 200ms;

	@media (max-width: 768px) {
		width: 146px;
		height: 46px;
		font-size: 18px;
	}
}

.toggle-front span {
	position: relative;
	left: 50px;

	@media (max-width: 768px) {
		left: 25px;
	}
}

.toggle-switch {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	height: 90px;
	width: 90px;
	border-radius: 50px;
	background: radial-gradient(circle,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(89, 89, 89, 1) 100%);
	border: 4px solid gray;

	@media (max-width: 768px) {
		width: 46px;
		height: 46px;
		border: 2px solid gray;
	}
}

.toggle-switch:hover {
	cursor: pointer;
}

.toggled {
	left: 200px;

	@media (max-width: 768px) {
		left: 100px;
	}
}

.btn-copy {
	background-color: blue;
	border-radius: 10px;
	padding: 8px;
	border: none;
}

.btn-copy:hover {
	background-color: #00009B;
}

.responsive-font {
	font-size: 18px;

	@media (min-width: 768px) {
		font-size: 36px;
	}
}

.footer{
	margin-top: auto;
	margin-bottom: 30px;
	left: 0;
	right: 0;
	margin-inline: auto; 
  	width: fit-content;
}