@import url('https://fonts.googleapis.com/css?family=Forum|Mali');
* {
  font-family: Georgia, Arial, sans-serif;
}
h1,
h2 {
  font-family: 'Mali', cursive;
}
h1 {
  font-size: 1.2em;
  margin: 0;
}
h2 {
  font-size: 1.05em;
  text-align: center;
  margin: 0;
}

body {
  margin: 8% 4%;
}

.header,
#quiz-score {
  border-radius: 60px;
  text-align: center;
  background: #eee;
  border: 6px solid gold;
  font-size: 0.7em;
}

input,
button,
select {
  padding: 10px;
  font-size: 1.1em;
  vertical-align: text-bottom;
}
.header button {
  font-size: 0.4em;
  padding: 0.1em;
}
.positive-btn {
  background-color: darkgreen;
  color: #eee;
  padding: 10px;
  vertical-align: text-bottom;
  font-size: 1.1em;
  line-height: 1.1em;
}
.logout-btn {
  float: right;
  font-size: 0.3em;
  border-radius: 80%;
}
p,
.the_task {
  vertical-align: text-bottom;
  line-height: 1.1em;
  font-size: 1.1em;
}

.class-code-label {
  text-align: center;
  font-size: 1.2em;
  background: #eee;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
}

p.instruksjon,
#log {
  font-size: 0.8em;
  text-align: justify;
}

.predef #current {
  font-size: 1.1em;
  margin-top: 1em;
  margin-bottom: 1em;
}

div#count {
  font-size: 3em;
}
.quiz div#count {
  font-size: 1.5em;
}
div#timer {
  font-size: 0.4em;
  border-top: 1px solid #eee;
}

.statslink {
  font-size: xx-small;
}

@keyframes jumpy {
  30% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes shaky {
  30% {
    transform: translateX(-12px);
  }
  50% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-12px);
  }
  100% {
    transform: translateX(0px);
  }
}

#stars.bounce span {
  animation-name: jumpy;
}

#stars span,
.the_task input {
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  animation-duration: 150ms;
  animation-iteration-count: 4;
}

#stars {
  font-size: 1.8em;
  text-align: center;
}

#stars span {
  display: inline-block;
}

#stars span.first {
  animation-delay: 0.2s;
}
#stars span.second {
  animation-delay: 0.3s;
}
#stars span.third {
  animation-delay: 0.4s;
}
#stars span.fourth {
  animation-delay: 0.5s;
}

.the_task input {
  width: 35%;
}

#tasks textarea {
  width: 100%;
  min-height: 12em;
}

.shaky input {
  animation-name: shaky;
}

.flash {
  position: fixed;
  top: 5%;
  left: 20%;
  right: 20%;
  background: yellow;
  opacity: 0.7;
  border-radius: 40px;
}

.grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.grid button {
  flex: 1 1 30%;
  font-size: 1em;
}

.grid-2 button {
  flex-basis: 45%;
}
.grid-4 button {
  flex-basis: 22%;
}

.gridbtn {
  background: transparent;
  border-radius: 5px;
  padding: 10px;
  border-style: solid;
}

.gridbtn.selected {
  border-color: green;
  border-width: 5px;
  background: #eee;
}

.bingo p.instruksjon {
  text-align: center;
}

.bingo #students {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.bingo #students li {
  list-style-type: none;
  flex: 0 1 20%;
}
#thecloud {
  display: flex;
  gap: 1em;
  width: 100%;
  align-content: space-between;
  flex-flow: row wrap;
}

.wordcloud-answer {
  border-top: 3px solid gold;
  border-bottom: 3px solid gold;
  padding: 0.3em;
  border-radius: 2em;
}
.quiz-answer {
  border: 3px solid gold;
  padding: 0.3em;
  border-radius: 2em;
  margin: 0.5em;
  float: left;
}
hr {
  clear: both;
}
/*.mini-bingo-board {
  display: inline-block;
  max-width: 260px;
}*/

@media screen and (min-width: 1200px) {
  body {
    font-size: 3em;
    margin: 5% 20%;
  }
  #stars {
    font-size: 1em;
    letter-spacing: 0.4em;
  }
  .col1 {
    float: left;
    width: 45%;
    margin-right: 4%;
    border-right: 1px solid #eee;
  }
  .col2 {
    float: right;
    width: 45%;
    margin-left: 5%;
  }
}

.correct {
  border-color: darkgreen;
}
.correct::after {
  content: '⭐';
}
.wrong {
  border-color: darkred;
}
.wrong::after {
  content: '✖';
}

#page-bg {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  left: 0;
  top: 0;
}

#page-content {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  padding: 1rem;
  color: inherit;
  overflow: hidden;
  background-clip: padding-box;
  will-change: backdrop-filter;
}
