img, h1, h2, h3, p, li, ul {
  margin: 0;
  padding : 0;
}

table, th, td {
	border: 1px solid;
}

td {
	padding: 5vmin;
}




#messages {
	list-style: none;
}

.centered-text {
	justify-content: center;
	align-items:center;
	text-align:center;
	width: inherit;
	color:black;
}

#navbar {
	border: 1px solid blue;
	padding: 15px 0 15px;
	display:flex;
	background: linear-gradient(0deg, #7271ee, #9e72ee);
	background-size: 200% 200%;
	animation: navbar_color_background 3s ease infinite;
}
#navbar ul {
	list-style:none;
	//float: center;
}
#navbar ul li {
	display: inline-block;
}

@keyframes navbar_color_background {
	0% {
		background-position: 10% 0%;
	}
	50% {
		background-position: 91% 100%;
	}
	100% {
		background-position: 10% 0%;
	}
}

#navbar li a {
	padding: 2px;
	text-decoration:none;
}

@media (max-width: 1000px) {

	#mainbody {
		margin:auto;
		border: 1px solid black;
		width: 100%;
		font-size: 5vw;
	}
	#navbar {
		margin:auto;
		width:100%;
		justify-content:left;
		align-items: left;
		display:inline-block;
	}
	#navbar li {
		font-size: 2em;
		width:100%;
		display:inline-block;
		border: 10px;
		text-align:center;
		animation: navbar_size_change 3s infinite normal;
		&:hover {
			animation-play-state: paused;
		}
	}
}

@media (min-width: 1001px) {

	#mainbody {
		margin:auto;
		border: 1px solid black;
		width: 80%;
	}
	#navbar {
		margin:auto;
		width:100%;
		justify-content: center;
		align-items: center;
	}
	#navbar li {
		border-right: 1px solid black;
		padding: 0 15px;
	}
	#navbar li:last-child {
		border: none;
	}
}

#scan_canvas {
	width:100%;
}

.scan_item {
	margin:auto;
	border: 1px solid white;
	width: 150px;
	display:inline-block;
	text-align:center;
	text-decoration: none;
	color: black;
}
.scan_item_animation0 {
	animation: scan_list_item_color_change 10s infinite;
	animation-direction: alternate;
	&:hover {
		animation-play-state: paused;
		background-color:black;
	}
}
.scan_item_animation1 {
	animation: scan_list_item_color_change 10s infinite;
	animation-direction: alternate-reverse;
	&:hover {
		animation-play-state: paused;
		background-color:black;
	}
}
@keyframes scan_list_item_color_change {
	0% { background-color: #e35454; }
	20% { background-color: #dce354; }
	40% { background-color: #65e354; }
	60% { background-color: #54e1e3; }
	80% { background-color: #6c54e3; }
	100% { background-color: #e354cb; }
}

@keyframes navbar_size_change {
	0% {
		/*font-size: 2em;*/
		transform: skew(5deg,5deg)
	}
	50% {
		/*font-size: 5em;*/
		transform: skew(-5deg,-5deg)
	}
	100% {
		transform: skew(5deg,5deg)
	}
}

#scan_list {
	display:inline-block;
	width:fill;
}
