@import url('https://fonts.googleapis.com/css?family=Rubik+Mono+One&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}


body {
  background: #1d1d1d;
}

#header-logo {
  display: block;
  margin: 0 auto;
  padding-top: 2rem;
  width: 300px;
}

#instructions {
  position: absolute;
  top: 0;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  align-items: center;
  color: #fff;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#rules {
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid #fff;
}

#instructions p {
  margin: .3rem 0;
  font-size: 1.5rem;
}

#game-controls {
  display: flex;
}

#game-controls li {
  list-style: none;
  margin: .3rem 0;
}

.controls-player {
  margin: 1rem 2rem;
}

b {
  margin-right: .5rem;
}

h5 {
  font-size: 4rem;
  color: #f5563e;
  font-family: 'Rubik Mono One', sans-serif;  
}

h6 {
  font-size: 1rem;
  color: #f5563e;
  font-family: 'Rubik Mono One', sans-serif;  
}

#start-btn {
margin-top: 2rem;
}

#canvas-container {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;;
  justify-content: center;
  align-items: center;  
  display: none;
  font-family: 'Rubik Mono One', sans-serif;
}

canvas {
  margin: 0 1rem;
  background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url('../img/grass-bg.jpg');
}

#score1, #score2 {
  width: 400px;
  margin: .5rem 1rem;
  padding: .8rem;
  background: #000;
  color: #f5563e;
  font-size: 1.5rem;
}

.player-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 10rem;
}

h3 {
  color: #fff;
  margin: 0 auto;
  padding: 1rem 3rem;
  border: 1px solid #fff;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
}

#winner-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  height: 630px;
  width: 850px;
  transform: translateY(-50%);
  background: #fff;
  font-size: 60px;
  text-align: center;
}

#winner-message button, #start-btn {
  padding: .5rem 1rem;
  font-family: 'Rubik Mono One', sans-serif;
  border: 1px solid #f5563e;
  background: #fff;
  font-size: 20px;
  margin-top: 2rem;
  border-radius: .5rem;
  transition: .3s ease;
}

#winner-message button:hover, #start-btn:hover {
  background: #f5563e;
  color: '#fff';
  cursor: pointer;
  transform: scale(1.1);
  transition: .1s ease;
}

#winner-message button:active, #winner-message button:focus, #start-btn:active, #start-btn:focus {
  outline:none;
}

h4 {
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: 3rem;
  text-align: center;
  position: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 4rem;
  background: rgba(0, 0, 0, .3);
  color: #fff;
  z-index: 2;
}

h2 {
  font-size: 4rem;
}

h2 span {
  color: #f5563e;
  font-size: 2rem;
}

aside {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
  border: 3px solid #f5563e;
  border-radius: 0 25px 25px 0;
  border-left: none;
  padding: 1rem;
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Rubik Mono One', sans-serif;
  z-index: 3;
  transition: .25s ease;
}

aside li {
  list-style: none;
  cursor: pointer;
}

aside li:hover, .active {
  color: #f5563e;
}
