html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 116px;
  background-image: url("../images/flag-background.jpg");
}

h1 {
	margin: 0;
	padding: 0;
}

#nav {
	width: 100%;
	height: 50px;
	border-radius: unset;
  	background-color: #eeeeee;
}

#hangman-nav {
	margin: 0 auto;
	max-width: 960px;
	width: 95%;
	font-weight: bold;
	font-size: 28px;
	color: #000654;
	padding-top: 5px;
}

.jumbotron {
	margin: 0 auto;
	margin-top: 15px;
	max-width: 960px;
	width: 95%;
	text-align: center;
	border: 2px solid black;
	border-radius: 5px;
	padding: 20px;
	margin-bottom: 15px;
}

#word-to-guess {
	font-size: 48px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 15px;
}

img {
	padding-top: 30px;
	display: block;
	margin: auto;
	width: 200px;
}

#status {
	padding-top: 60px;
}

#reset-button {
	float: right;
	background-color: #000654;
	margin-top: 5px;
}

#reset-button:hover {
	background-color: #d42729;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 126px;
  background-color: transparent;
}

.key-container.top{
	margin: 0 auto;
	width: 382px;
	padding: 0;
}

.key-container.middle{
	margin: 0 auto;
	width: 343.25px;
	padding: 0;
}

.key-container.bottom{
	margin: 0 auto;
	width: 267.25px;
	padding: 0;
	margin-bottom: 10px;
}

.key {
	display: block;
	position: relative;
	float: left;
	width: 36px;
	height: 36px;
	margin-top: 1.75px;
	margin-left: .875px;
	margin-right: .875px;
	border: 1px solid #000000;
	border-radius: 6px;
	background-color: #ffffff;
	text-align: center;
	font-size: 18px;
	color: #000000;
	padding: 0;
	padding-top: 4.5px;
}

#pop-up-key {
    position: absolute;
    top: -50px;
    left: -8px;
	width: 48px;
	height: 48px;
	font-size: 24px;
	padding-top: 5.5px;
}

.btn.btn-primary.btn-sm.key:hover {
	background-color: #000654;
	color: #ffffff;
}

.btn.btn-primary.btn-sm.key:focus {
	background-color: #ffffff;
	color: #000000;
}

.btn.btn-primary.btn-sm.key:active {
	background-color: #ffffff;
	color: #000000;
}

.btn.btn-primary.btn-sm.key:visited {
	background-color: #ffffff;
	color: #000000;
}

@media (min-width: 768px) {

	.navbar {
		border-radius: unset;
		background-color: #ffffff;
	}

}