/*
	Typography mixin
 */
/* CSS Document */
#word-mat-container {
  font-family: twinkl, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; }

:focus {
  outline: none; }

.border-radius {
  border-radius: 8px; }

.text-button.play {
  width: 40%;
  line-height: 1.15;
  padding: 2.5% 1.5% 2.5% 1.5%;
  font-size: 2vw;
  border: none; }

#lets-go-button {
  width: 20%;
  font-size: 3vw;
  height: 12%;
  padding: 0.6%; }

.fit-me-button {
  height: 100%;
  width: 80%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.title-text {
  width: 70%;
  left: 15%;
  height: 40%;
  margin-top: 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

#subContainer {
  position: absolute;
  height: auto;
  top: 55%;
  width: 100%;
  color: white;
  padding: 1%;
  font-size: 3vw; }

.jodal .jodal-title {
  font-size: 5vw;
  margin: 0 auto; }

.jodal .jodal-text {
  font-size: 2.6vw; }

.jodal .answer-text {
  text-align: center;
  z-index: 100;
  width: 90%;
  height: 15%;
  margin: 0 auto;
  margin-bottom: 5%; }

.jodal .jodal-sub-text {
  font-size: 2.6vw; }

.panel {
  border-radius: 8px;
  position: absolute;
  top: 3%;
  padding: 2.5%;
  left: 1.75%;
  width: 25%;
  height: 94%;
  background-color: white; }

#mainPage {
  width: 93.5%;
  height: 100%; }

.grid-container {
  position: relative;
  width: 90%;
  left: 2%;
  height: 95%;
  top: 2.5%;
  grid-gap: 2%;
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-auto-rows: 1fr; }

.grid-item {
  max-height: 100%;
  position: relative;
  width: 100%;
  background-color: white;
  border-radius: 8px;
  padding: 12.5px;
  font-size: 1vw;
  text-align: center; }

.drop-area {
  height: 22%;
  background-color: lightgray;
  border-radius: 8px; }

.image-area {
  width: 100%;
  height: 72.5%;
  margin-bottom: 5%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; }

.inner-text {
  height: 80%;
  width: 95%;
  -ms-flex-item-align: center;
      align-self: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: auto; }
  .inner-text .div {
    height: auto; }

.word-mat-label {
  position: relative;
  width: 100%;
  height: 6.5%;
  z-index: 100;
  margin: 0 0 4% 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-color: white;
  color: black;
  border: black solid 2px;
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.grid-item-left {
  grid-row-start: 1;
  grid-row-end: 4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start; }

.word-label-active {
  height: 100%;
  margin: 0; }

.label-check-button {
  bottom: 2.5%;
  width: 87.5%;
  position: absolute;
  -ms-flex-item-align: center;
      align-self: center; }
  .label-check-button:hover {
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05); }

#play-again {
  position: relative;
  margin: 0 auto; }

.fraction-styling {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-size: smaller;
  width: 3em;
  vertical-align: middle !important;
  line-height: 1 !important;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex; }
  .fraction-styling .top-num {
    height: 45%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: smaller; }
  .fraction-styling .mid-line {
    height: 2%;
    border-bottom: 2px solid black;
    width: 100%; }
  .fraction-styling .bottom-num {
    height: 45%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: smaller; }

.pages sup {
  line-height: 1 !important;
  height: 1em;
  vertical-align: super;
  top: -.2em; }
  .pages sup .fraction-styling {
    font-weight: 600;
    line-height: 1 !important; }

.fraction-styling {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-size: smaller;
  width: 3em;
  vertical-align: middle !important;
  line-height: 1 !important;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
  .fraction-styling .top-num {
    height: 45%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: smaller; }
    .fraction-styling .top-num sup {
      font-size: 60%;
      top: -0.1em !important; }
  .fraction-styling .mid-line {
    height: 2%;
    border-bottom: 2px solid black;
    width: 100%; }
  .fraction-styling .bottom-num {
    height: 45%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    font-size: smaller; }
    .fraction-styling .bottom-num sup {
      font-size: 60%;
      top: -0.1em !important; }

sup {
  line-height: 1 !important;
  height: 1em;
  vertical-align: super;
  top: -.2em; }
  sup .fraction-styling {
    font-weight: 600;
    line-height: 1 !important; }
