/* PHASE 0: Reset */

html,body,header,nav,h1,a,ul,li,
strong,main,button,i,section,img,div,h2,p,form,fieldset,label,input,textarea,span,article,footer,time,small {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
  box-sizing: inherit;
  background: transparent;
  font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif;
}

ul {
  list-style: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

input[type="password"],
input[type="email"],
input[type="text"],
input[type="submit"],
textarea,
button {
  /*
  Get rid of native styling. Read more here:
  http://css-tricks.com/almanac/properties/a/appearance/
  */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button,
input[type="submit"] {
  cursor: pointer;
}

/* Clearfix */

.group:after {
  content: "";
  display: block;
  clear: both;
}

#board {
  background-image: url('../images/background.jpg');
  width: 1000px;
  height: 800px;
  align-self: center;

}
header{
  width: 100%;
  display: flex;
  flex-direction: row;
  height: 50px;
  justify-content: space-between;
  background-color: black;
  border-bottom: 3px solid #23272A;
  
}
header > div {
  margin-left: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-family: 'Fugaz One', cursive;

}

body {
  display: flex;
  flex-direction: column;
  background-color: black;
  align-items: center;
}

header > ul{
  list-style: none;
  display: flex;
  flex-direction: row;
  font-size: 40px;
  align-items: flex-end;
  -webkit-padding-start: 0px;
  padding-top: 11px;
  text-decoration: none;
  margin-right: 20px;
}

.fab{
  color: #fff;
  margin-right: 10px;
}

.controls {
  position: absolute;
  top: 65px;
  font-size: 24px;
  color: #99AAB5;
  display: flex;
  flex-direction: row;
  width: 1000px;
  justify-content: space-between;
  align-content: center;
}

.controls-left{
  font-size: 30px;
  padding: 0;
}

#help > h3 {
  margin: 0 auto;
  font-size: 24px;
  color: plum;
}

.help-ul {

}

.help-img {
  width: 100px;
  height: 100px;
}

#win > h3 {
  margin: 0 auto;
  font-size: 24px;
  color: plum;
}

#died > h3 {
  margin: 0 auto;
  font-size: 24px;
  color: plum;
}

#retry{
  margin-right: 10px;
}

#retry:hover{
  color: #fff;
}

#restart:hover{
  color: #fff;
}

#help-button:hover{
  color: #fff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

#help{
  display: none;
}

#win{
  display: none;
}
#died{
  display: none;
}

.modal-content {
  color: #fff;
  background: #282b30;
  box-shadow: 0 0 1px rgba(0, 0, 0, .82),
  0 1px 4px rgba(0, 0, 0, .1);
  border-radius: 5px;
  margin: 10% auto;
  padding: 20px;
  width: 30%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
