body {
	background-color: #2d2e31;
	color: white;
	font-family: monospace;
	margin: 0;
  padding: 0;
	text-align: center;
}

#container {
	margin: 30px auto;
	width: 50%;
}

.buttons {
	text-align: center;
}

.buttons button {
	background-color: #99a1de;
  border: 2px outset #99a1de;
  cursor: pointer;
  margin: 5px;
  font-family: monospace;
}

.buttons button:hover {
  border: 2px inset #99a1de;
}

.wrapper {
	line-height: 1.5rem;
	margin: 30px auto;
	width: 90%;
	max-width: 2000px;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: #2d2e31;
	border: 1px #505473 solid;
	display: table;
    table-layout: fixed;
}

td div {
  display: table-cell;
  vertical-align: middle;
}

h1 {
	margin: 20px;
	font-size: 5rem;
}

th {
  background-color: #99a1de;
  font-weight: bold;
  white-space: nowrap;
}

th.rank {
	width: 5%;
}

th.user {
	width: 80%;
}

th.count {
	width: 15%;
}

td, th {
  padding: 1rem 1.5rem;
  text-align: left;
  display: table-cell;
}

td.user {
	overflow-wrap: anywhere;
}

tbody tr:nth-child(2n-1) {
  background-color: #242526;
  transition: all .125s ease-in-out;
}

td.rank {
	text-transform: capitalize;
}

table img {
	width: 32px;
	height: 32px;
}

#wordSearchWrapper th {
	background-color: #5c9560;
}

#wordSearchWrapper table {
	border: 1px #5c9560 solid;
}

#wordSearch {
	font-size: 1.4rem;
	background-color: #28292c;
	border: 1px solid #5c9560;
	color: white;
	padding: 5px 15px;
}

.wordHeader {
	font-size: 1.5rem;
}

#wordSearchWrapper .resultArea {
	width: 60%;
 	margin: 0 auto;
	min-height: 400px;
}

#wordSearchWrapper .resultArea .loading {
	width: 300px;
	height: auto;
}

#subtitle {
	font-size: 1.4em;
}

#subtitle .highlight {
	color: #fe8686;
}

.meme-area .memes-header {
	font-size: 3em;
	font-weight: bold;
}

#memes {
	display: flex;
	flex-direction: row;
	justify-content: center;
    column-gap: 10vw;
    flex-wrap: wrap;
}

.meme .media {
	max-height: 300px;
	max-width: 300px;
}

#map {
	position: relative;
	width: 100%;
	height: 0%;
	border: none;
	transition: 200ms height;
	z-index: 1;
}

#map.expand {
	height: 80%;
}

#mapbutton {
	position: relative;
	display: inline-block;
	padding: 3px 6px;
	cursor: pointer;
	background-color: white;
	color: black;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	box-shadow: 0px 0px 10px black;
	z-index: 0;
}

#mapbutton:hover {
	background-color: #babdc4;
}

@media (max-width: 550px) {
	th.user {
		width: 45%;
	}
	td, th {
		padding: 0.5rem 0.75rem;
	}
	h1 {
		margin: 20px;
		font-size: 3.5rem;
	}
	#container {
		width: 90%;
	}
}
