/* rubik-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/rubik-v28-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rubik-v28-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/rubik-v28-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/rubik-v28-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-600italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/rubik-v28-latin_latin-ext-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-800 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/rubik-v28-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-900 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/rubik-v28-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  box-sizing: border-box;
}
html {
  font-family: "Rubik", sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  gap: 0rem;
  background: linear-gradient(45deg, #F5D39D, #F5C49D);
/*  color: #2E4336;*/
  color: #111;
  margin: 0;
}

h1 {
  font-weight: 800;
  font-size: 4rem;
}
main {
  width: min(800px, 90%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.2rem;
}
main .question {
  padding: 1rem;
  border-radius: 1rem;
  background: #f2f2f2;
  text-align: center;
  font-size: 1.4rem;
  box-shadow: 1px -1px 10px 1px #fefefe;
}

main .responses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  text-align: center;
  gap: 2rem;
}
@media screen and (max-width: 700px) {
  main .responses {
    grid-template-columns: 1fr;
  }
}
main .responses span {
  flex: 1;
  background-color: #f2f2f2;
  transition: all 0.2s;
  padding: 1rem;
  border-radius: 1rem;
  user-select: none;
  box-shadow: 1px -1px 10px 1px #fefefe;
}

main .responses span:hover {
  background-color: #fefefe;
  cursor: pointer;
}

.responses .correct {
  background-color: #6DA085;
  color: #fefefe;
  box-shadow: 1px -1px 10px 1px #6DA085;
}
.responses .correct:hover {
  background-color: #6DA186;
  color: #fefefe;
}

.responses .wrong {
  background-color: #F56756;
  color: #fefefe;
  box-shadow: 1px -1px 10px 1px #F56756;
  animation: skew-x-shakeng 0.1s infinite;
}
.responses .wrong:hover {
  background-color: #F56756;
  color: #fefefe;
}
.responses .wrong-correct {
  outline: 4px solid #6DA186;
}

@keyframes skew-x-shakeng{
 0% { transform: skewX(-15deg); }
 5% { transform: skewX(15deg); }
 10% { transform: skewX(-15deg); }
 15% { transform: skewX(15deg); }
 20% { transform: skewX(0deg); }
 100% { transform: skewX(0deg); }
}

@keyframes skew-y-shakeing{
 0% { transform: skewY(-15deg); }
 5% { transform: skewY(15deg); }
 10% { transform: skewY(-15deg); }
 15% { transform: skewY(15deg); }
 20% { transform: skewY(0deg); }
 100% { transform: skewY(0deg); }
}
