/* html {
  height: 100%;
} */

body {
  margin: 0;
  height: 1800px;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url("./assets/mahogny.jpg");
}

header {
  text-align: center;
  width: 100%;
  height: 56px;
  background: #000;
  position: absolute;
  top: 0;
}

h1 {
  color: #990000;
  font-family: 'Nosifer';
  font-size: 15px;
  padding: 15px 0;
  margin: 0;
}

h2 {
  color: #ccc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  text-align: center;
  margin: 0;
  padding: 15px;
}

main {
  position: absolute;
  top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.card-headers {
  font-family: 'Nosifer';
}

p {
  margin: 1px;
  font-weight: 300;
  font-size: 15px;
  background-color:rgba(255, 255, 255, 0.5);
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 5px;
}

.killer-image {
  width: 220px;
  height: 282px;
  display: none;
}

.weapon-image {
  width: 180px;
  margin: 50px 0;
  display: none;
}

.room-image {
  width: 180px;
  margin-top: 50px;
  display: none;
}

.loader {
  color: #fff;
  font-size: 80px;
  margin-top: 125px;
  display: none;
}

.cards {
  margin: 15px;
  width: 90%;
  background-image: url("./assets/poker-table.png");
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Nosifer';
  padding: 20px;
}

.killer-deck {
  width: 250px;
  height: 400px;
  background: #000;
  background-image: url("./assets/playing-card-back.png");
  background-position: 0 45px;
  background-size: contain;
  background-repeat: no-repeat;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  border-radius: 16px;
  box-shadow:10px 10px 5px 0px rgba(20,20,20,0.75);
}

.weapon-deck {
  width: 250px;
  height: 400px;
  background: #000;
  background-image: url("./assets/playing-card-back.png");
  background-position: 0 45px;
  background-size: contain;
  background-repeat: no-repeat;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  border-radius: 16px;
  box-shadow:10px 10px 5px 0px rgba(20,20,20,0.75);
}

.weapon-deck-clicked {
  background: #808080;
}

.room-deck {
  width: 250px;
  height: 400px;
  background: #000;
  background-image: url("./assets/playing-card-back.png");
  background-position: 0 45px;
  background-size: contain;
  background-repeat: no-repeat;
  text-align: center;
  padding-top: 20px;
  border-radius: 16px;
  box-shadow:10px 10px 5px 0px rgba(20,20,20,0.75);
}

.room-deck-clicked {
  background: #C0C0C0;
}

.mystery {
  margin-bottom: 30px;
}

.revelation {
  height: 100px;
}

button {
  padding: 8px 16px;
  background:#990000;
  border: none;
  color: #000;
  font-weight: bolder;
  font-size: 15px;
  border-radius: 8px;
  display: block;
  margin: 10px auto;
  box-shadow:5px 5px 5px 0px rgba(10,10,10,0.75);
}

footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #000;
  color: #ccc;
  text-align: center;
}

footer div {
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer p {
  background-color: #000;
  font-size: 12px;
  margin: 0 10px;
  width: 100%;
}

.attribution p {
  font-size: 10px;
}

a {
  text-decoration: none;
  color: #ccc;
}

/* MEDIA QUERIES */

@media (min-width: 768px) {
  body {
    height: 1300px;
  }
  
  header {
    height: 75px;
  }

  h1 {
    font-size: 25px;
  }

  main {
    top: 75px;
  }

  .cards {
    flex-direction: inherit;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .killer-deck {
    margin: 0 43px 40px 43px;
  }

  .weapon-deck {
    margin: 0 43px 40px 43px;
  }

  .revelation {
    height: 50px;
  }

  footer p {
    width: inherit;
  }
}

@media (min-width: 1024px) {
  body {
    height: 100vh;
  }

  header {
    height: 100px;
  }

  h1 {
    font-size: 35px;
  }

  main {
    top: 150px;
  }

  .killer-deck {
    margin: 0;
  }

  .weapon-deck {
    margin: 0;
  }

  .revelation {
    height: 50px;
  }
} 