body {
	margin: 0px;
	background-image:url("bg_main.png");
	color: #e0d0d0;
	font-family: sans-serif;
}
a {
	color: #aaaaff;
}
header {
	height:44px;
	background-image:url('bg_top.png');
	vertical-align: center;
	padding-top: 4px;
}
.mainh {
	margin-bottom:180px;
	margin-left:auto;
	margin-right:auto;
	padding-left:30px;
	padding-right:30px;
	max-width:1000px
}
.main {
	display:flex;
	place-content: center;
	column-gap: 2em;
	row-gap: 2em;
	max-width: 62.5em;
	margin: auto;
	padding-left:30px;
	padding-right:30px;
}
.button {
  background: linear-gradient(#9e9e9e, #4e4e4e);
  color: white;
  font-weight: bold;
  text-align: center;
  display: flex;
  place-items: center;
  place-content: center;
  border-radius: 0.25em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  text-decoration: none;
  width: 50%;
}
.button--orange {
  background: linear-gradient(#f7942b, #b36b1f);
}
.big__button {
  font-size: larger;
  margin-top: 2.25em;
}
hr {
  height: 0.1em;
  margin-top: 2em;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-top: 2px dashed gray;
  width: 75%;
}
.nav {
  position: relative;
  font-weight: bold;
  padding: 0.5em;
  bottom: 10px;
  color: white;
  text-decoration: none;
}
footer {
  margin: 2em;
  text-align: center;
  color: #595959;
  font-size: smaller;
}

#outer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#grid {
	width: 400px;
}

.grid-element {
  background-color: #8b8b8b;
  border-top: thick double #373737;
  border-left: thick double #373737;
  border-right: double #FFFFFF;
  border-bottom: double #FFFFFF;
  width: 36px;
  height: 36px;
  float: left;
}

img.displayed {
  display: block;
  margin: auto;
  max-height:100%;
  max-width:100%;
}

.grid-element .tooltiptext {
  visibility: hidden;
  bottom: 100%;
  left: 50%;
  margin-left: 10px;
  background-color: rgba(0, 0, 0, .75);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  bottom: 60px;
  font-size: 16pt;
  white-space:nowrap;

  /* Position the tooltip */
  position: relative;
  z-index: 1;
}

.grid-element:hover .tooltiptext {
  visibility: visible;
}