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

body {
  background: #0095dd;
  font-family: Arial, Helvetica, sans-serif; }

h1, p, h2 {
  color: white;
  font-size: 3rem;
  margin: auto;
  text-align: center; }

p {
  font-size: 1.5rem; }

h2 {
  font-size: 2rem; }

button {
  background-color: black;
  padding: .5rem .9rem;
  border-radius: 5px;
  display: inline-block;
  color: #fff;
  border: none;
  font-size: 1rem;
  text-transform: capitalize; }
  button:hover {
    cursor: pointer;
    background: #333; }

header {
  display: flex;
  justify-content: left;
  align-items: center;
  height: 10vh;
  margin-top: 1.5rem;
  position: relative; }
  header .show-rule-btn {
    position: absolute;
    left: 5rem; }

.left-slider {
  height: 100vh;
  width: 20%;
  background: #333;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  transition: transform;
  transition-duration: 1s;
  transition-delay: ease-in-out; }
  .left-slider h2 {
    text-transform: capitalize;
    text-align: left;
    font-size: 1.5rem;
    margin: 1rem;
    margin-bottom: 2rem; }
  .left-slider p {
    font-size: 1rem;
    margin: .5rem;
    text-align: left;
    line-height: 1.4rem; }
  .left-slider button {
    margin-top: 1rem; }

canvas.game-area {
  margin: auto;
  display: block;
  position: fixed;
  left: calc((100vw - 900px)/2);
  bottom: 0;
  border-radius: 8px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  margin-top: 2rem;
  width: 900px;
  height: 80vh;
  background: #fff;
  border-radius: 6px; }

/*# sourceMappingURL=style.css.map */
