@font-face {
  font-family: Play;
  src: url(/workflows/fonds/Play-Regular.ttf);
}

body {
  font-family: 'Arial', sans-serif;
  background-image: url(img/achtergrond_game.png);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.card {
  margin-top: 20px;
  font-size: 30px;
  width: 80px;
  height: 120px;
  border: 2px solid black;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  cursor: pointer;
}

#deck {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.deck div {
  margin: 0;
  width: 90px;
  height: 160px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
  cursor: pointer;
  font-size: 70px;
}

.achterkant {
  width: 90px;
  height: 161px;
  background-color: rgb(0, 0, 0);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}
.achterkant > p {
  padding-top: 50px;
  padding-left: 5px;
}

.player,
.cpu {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
h2 {
  text-align: center;
  font-size: 24px;
  margin: 0;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.activepla-area {
  position: fixed;
  top: 80px;
  left: 50px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}
.activecpu-area {
  position: fixed;
  top: 240px;
  left: 50px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.score-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f4f4f4;
  border-bottom: 2px solid #ccc;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scorepla,
.scorecpu {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

