@import url("https://fonts.googleapis.com/css?family=Ubuntu|Trirong");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

body {
  font-family: Trirong, serif;
  margin: 0;
}

.light-mode {
  background: #fff;
  color: #000;
}

* {
  box-sizing: border-box;
}

div {
	padding: 50px;
}

p {
	text-align: center;
}

h1 {
	margin-bottom: 5px;
	font-family: Ubuntu, sans-serif;
}

a {
	font-family: Trirong, serif;
	color: SlateBlue;
}

a:hover {
	color: lightblue;
}

ul {
	list-style-type: none;
	padding: 0;
	margin: auto;
	text-align: center;
}

li {
	display: inline;
}

i {
	color: SlateBlue;
	padding: 10px;
}

i:hover {
	color: lightblue;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	text-align: center;
	font-size: 10px;
	width: 100%;
}

#laskuri {
	text-align: center;
	font-size: 20px;
	color: red;
}

input {
	text-align: center;
}

input:hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
