/* General styles */
@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/PressStart2P-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Russo One';
  src: url('../fonts/RussoOne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Russo One', sans-serif;
  font-size: 5vh;
  color: #FF9F0F;
  overflow: hidden;
  margin: 0;
  padding: 0;
  text-shadow: 
    -2px -2px 0 black,
    2px -2px 0 black,
    -2px 2px 0 black,
    2px 2px 0 black;
}

body {
  background-color: #f7f8fa;
  background-image: url('../img/bg.gif');
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
}

#timer_placeholder {
  position: absolute;
  width: 24vh;
  right: 0;
  bottom: 0;
  font-size: 2vh;
  z-index: 10;
  padding: 1vh;
  opacity: 0.2;
}

#level_board {
  position: relative;
  width: 60vh;
  height: 60vh;
  overflow: hidden;
  margin-bottom: -15vh;
}

#pointer {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5vh solid transparent;
  border-right: 5vh solid transparent;
  border-bottom: 30vh solid black;
  transform-origin: bottom center;
  transition: transform 0.5s ease;
  transform: translateX(-50%) rotate(0deg);
}

.description-text {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 3vh;
  line-height: 5vh;
  width: 90%;
  text-align: center;
  padding: 2vh;
  border-radius: 2vh;
}

.description-text p.header {
  font-family: 'Press Start 2P', cursive;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.result-text {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 4vh;
  line-height: 6vh;
  width: 90%;
  text-align: center;
  padding: 2vh;
  border-radius: 2vh;
}

.result-text p.header {
  font-family: 'Press Start 2P', cursive;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.result-text p.data-options {
  padding-top: 3vh;
  font-size: 3.5vh;
  line-height: 4.5vh;
}

.data-question-text {
  max-width: 90%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 4vh;
  border-radius: 2vh;
  text-align: center;
}

.data-question-text table {
  margin: 0 auto;
  text-align: left;
}

#face {
  position: absolute;
  width: 34vh;
  height: 34vh;
  top: 11vh;
  left: 11vh;
  border-radius: 100%;
  background-color: white;
  border: 2vh solid black;
  z-index: 10;
  overflow: hidden;
}

#face img {
  width: 100%;
  height: 100%;
}

div.question {
  font-size: 5vh;
  width: 90%;
  height: 25vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.result_header {
  font-family: 'Press Start 2P', cursive;
  font-size: 3.5vh;
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.demographic_question {
  font-size: 4.5vh;
  margin-top: 8vh;
}

.gap-5 {
  gap: 5vh;
}

#data_screen span.question {
  width: 90%;
  min-height: 10vh;
  text-align: center;
}

.thankyou {
  font-size: 5vh;
  line-height: 10vh;
  text-align: center;
  width: 90%;
}

.full {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rows {
  display: flex;
  flex-direction: column;
}

.expand {
  width: 100%;
  flex-grow: 1;
}

.grid {
  width: 100%;
  display: grid;
}

.grid-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.grid-cols-9 {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

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

.wrap {
  flex-wrap: wrap;
}

.min-height {
  min-height: 25vh;
}

.circle-button {
  font-family: 'Press Start 2P', cursive;
  width: 8vh;
  height: 8vh;
  font-size: 3vh;
  line-height: 8vh;
  border-radius: 50%;
  margin: 5vh auto;
  text-align: center;
  transition: background-color 0.1s ease;
  cursor: pointer;
}

.circle-button-big {
  font-family: 'Press Start 2P', cursive;
  width: 16vh;
  height: 16vh;
  font-size: 4vh;
  line-height: 4vh;
  border-radius: 50%;
  margin: 2vh auto;
  text-align: center;
  transition: background-color 0.1s ease;
  cursor: pointer;
}

.game-button-font {
  font-size: 2.5vh;
  line-height: 3.5vh;
}

#question_text {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2vh;
  border-radius: 2vh;
}

.color-1 {
  background-color: #222222;
  border: 0.5vh solid #000401;
}

.color-2 {
  background-color: #222222;
  border: 0.5vh solid #000401;
}

.color-3 {
  background-color: #222222;
  border: 0.5vh solid #000401;
}

.color-4 {
  background-color: #222222;
  border: 0.5vh solid #000401;
}

.color-5 {
  background-color: #222222;
  border: 0.5vh solid #000401;
}

.color-6 {
  background-color: #007fff;
  border: 1vh solid #000401;
}

.color-7 {
  background-color: #e30022;
  border: 1vh solid #000401;
}

.color-6p {
  background-color: #7cbdff;
}

.color-7p {
  background-color: #db586b;
}

.color-pressed {
  background-color: #8a8a8a;
}
