@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --pry-color: #f3f3fd;
  --sec-color: #ffffff;
  --text-color: #2c3345;
  --btn-color: #2d69ff;
  --rubik-font: "Rubik", sans-serif;
}

* {
  font-family: var(--rubik-font), Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  color: var(--text-color);
}

body {
  background-color: var(--pry-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  padding: 1em;
}

.container {
  background-color: var(--sec-color);
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.315);
}

.c-row {
  padding: 1em;
}

.border-bottom {
  border-bottom: 2px solid #d9dadf;
}

.options li {
  margin-bottom: 12px;
  padding: 8px 0px;
}

.options label {
  margin-left: 8px;
  font-weight: bold;
  cursor: pointer;
}

.mb {
  margin-bottom: 1em;
}

.c-btn {
  background-color: var(--btn-color);
  color: #f7feff;
  padding: 1em;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.c-btn:hover {
  background-color: #1666dd;
}

.flex-end {
  display: flex;
  justify-content: end;
}

.score {
  font-weight: bolder;
  display: none;
}

.counter {
  background-color: var(--btn-color);
  width: max-content;
  padding: 8px;
  border-radius: 4px;
  color: var(--pry-color);
  font-weight: bold;
}

.question {
  padding-top: 1em;
}

.result {
  padding: 1em;
  text-align: center;
}

.result button {
  margin-top: 1em;
}

.incorrect {
  color: #dc3545;
}

.correct {
  color: green;
}

.warning {
  color: #fd7e14;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
  }
}

@media (min-width: 601px) {
  .container {
    width: 600px;
  }
}
