@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --text: white;
  --background: rgb(22, 22, 22);
  --border: white;
  --card-background: black;
  --card-url: url("cardWhite.png");
}

body {
  font-size: 16px;
  text-align: center;
  background-color: var(--background);
  color: var(--text);
  font-family: Roboto, sans-serif;
  overflow: hidden;
}

button, select, .stats {
  background-color: transparent;
  color: var(--text);
  border: solid var(--border) 2px;
  border-radius: 16px;
  height: 6vh;
  width: 196px;
  font-size: 2.5vh;
  text-align: center;
  margin: 0 8px;
}

#card-grid {
  display: grid;
  gap: 16px;
  max-width: 78vh;
  margin: 0 auto;
}

.card-container {
  display: inline-block;
  position: relative;
  width: 100%;
}

.card-dummy {
  margin-top: 100%;
}

.card {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: solid var(--border) 2px;
  border-radius: 16px;
}

#counter-display {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 12vh;
}

.stats {
  display: flex;
  justify-content: center;
  align-items: center;
}

#tries-counter, #correct-counter, #time-counter {
  font-weight: bold;
}