@font-face {
  font-family: 'HeydingsControlsRegular';
  src: url('fonts/heydings_controls-webfont.eot');
  src: url('fonts/heydings_controls-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/heydings_controls-webfont.woff') format('woff'), url('fonts/heydings_controls-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

a {
  text-decoration: none;
  color: black;
}

video {
  border: 1px solid black;
  width: 1100px;
  /* width: 960px; */
}

.tasks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* position:relative; */
  /* top:300px;
  left:300px; */
  /* zoom:100%; */
  visibility: hidden;
  /* background-color:aliceblue; */
  width: 1500px;
  /* transition: all .5s ease; */
}

.confirm {
  position: relative;
  float: right;
  /* top: 100px;
  left: 300px; */
  width: 150px;
}

.message {
  position: relative;
  border: 1pt solid red;
  border-radius: 5px;
  padding: 5px;
  visibility: hidden;
  /* top: 300px;
  left: 500px; */
  width: 450px;
  background: rgba(254, 209, 55, 0.9);
  float: left;
  margin-left: 400px;
  transition: all .5s ease;
}

figure.taskfigure {
  width: 250px;
  height: 250px;
  float: left;
  margin: 0px;
}

.respimage {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin: 10px;
  border: 1px solid gray;
}

.round {
  width: 80%;
  height: 80%;
  padding-top: 0%;
  overflow: hidden;
  position: relative;
  border-radius: 50%;
}

img {
  position: absolute;
  top: 50%;
  left: 50%;
  /* min-width:100%;*/
  height: 100%;
  transform: translate(-50%, -50%);
  transition: 1s ease;
}

img:hover {
  height: 110%;
  width: 110%;
}

.selans, .selans figcaption {
  color: #111;
  background: #fffc2f;
  box-shadow: 0 0 100px #fffc2f;
  border: 2px solid rgb(255, 252, 47);
}

.disans {
  color: #111;
  background: #e48f1f;
  box-shadow: 0 0 100px #e48f1f;
  border: 2px solid rgb(255, 0, 0);
}

.corans {
  color: #111;
  background: #cffabd;
  box-shadow: 0 0 50px rgb(0, 128, 81);
  border: 4px solid rgb(0, 128, 81);
}

.othans {
  /* filter:grayscale(70%)  blur(10px); */
  filter: blur(3px) brightness(1) contrast(0.6) opacity(0.6) sepia(0.5);
  box-shadow: 0 0 50px rgb(209, 209, 209);
  border: 4px solid rgb(209, 209, 209);
  transition: 1s ease-in-out;
}

.wroans {
  color: #111;
  background: #e9c7be;
  box-shadow: 0 0 50px rgb(205, 51, 50);
  border: 4px solid rgb(205, 51, 50);
}

.player {
  position: absolute;
  visibility: hidden;
  display: none;
}

.controls {
  visibility: hidden;
  opacity: 0.9;
  width: 500px;
  border-radius: 10px;
  position: absolute;
  bottom: -15px;
  left: 50%;
  margin-left: -200px;
  background-color: black;
  box-shadow: 3px 3px 5px black;
  transition: 1s all;
  display: flex;
}

button, .controls {
  background: linear-gradient(to bottom, #222, #666);
}

.player:hover .controls, player:focus .controls {
  opacity: 1;
}

.guess:hover, guess:focus {
  opacity: 1;
}

.submit:hover, submit:focus, .corrects:hover, corrects:focus, .refvideo:hover, .refvideo:focus, again:hover, again:focus {
  opacity: 1;
}

button:before {
  font-family: HeydingsControlsRegular;
  font-size: 20px;
  position: relative;
  content: attr(data-icon);
  color: #aaa;
  text-shadow: 1px 1px 0px black;
}

.play:before {
  font-size: 22px;
}

button, .timer {
  height: 38px;
  line-height: 19px;
  box-shadow: inset 0 -5px 25px rgba(0, 0, 0, 0.3);
  border-right: 1px solid #333;
}

button {
  position: relative;
  border: 0;
  flex: 1;
  outline: none;
}

.play {
  border-radius: 10px 0 0 10px;
}

.guess, .submit, .corrects, .refvideo, .again {
  border-radius: 10px;
  color: #aaa;
  opacity: 0.9;
}

.guess {
  left: 1300px;
  bottom: -15px;
  width: 150px;
}

.submit, .corrects, .refvideo, .again {
  /* left:250px;
  bottom:50px; */
  width: 150px;
  visibility: hidden;
}

.fwd {
  border-radius: 0 10px 10px 0;
}

.timer {
  line-height: 38px;
  font-size: 10px;
  font-family: monospace;
  text-shadow: 1px 1px 0px black;
  color: white;
  flex: 5;
  position: relative;
}

.timer div {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
  left: 0;
  top: 0;
  width: 0;
  height: 38px;
  z-index: 2;
}

.timer span {
  position: absolute;
  z-index: 3;
  left: 19px;
}

.timer span.speed {
  position: absolute;
  z-index: 3;
  left: 175px;
}

button:hover, button:focus {
  box-shadow: inset 1px 1px 2px black;
}

button:active {
  box-shadow: inset 3px 3px 2px black;
}

.active:before {
  color: red;
}

/* gradient ja taustad */

.st1 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #FFF381;
}

.st2 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #9F915A;
}

.st3 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #E7ECD9;
}

.st4 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #FFCC00;
}

.st5 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #BFC776;
}

.st6 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #A7C83B;
}

.st7 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #9EBE39;
}

.st9 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #DCCF70;
}

.st10 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #BCBE7A;
}

.st11 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #B1AC7E;
}

.st11 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: #ece596;
}

.st12 {
  fill-rule: evenodd;
  clip-rule: evenodd;
  fill: none;
  stroke: #EDEBDD;
  stroke-width: 0.5669;
  stroke-miterlimit: 22.9256;
}

.gradalg {
  color: #C4CA76
}

.gradkesk {
  color: #B1B869
}

.gradlop {
  color: #4B592A
}

h1 {
  color: #FED137;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  text-align: center;
  font-size: 100px;
  margin: 10px 200px;
  font-family: 'Original Woody', sans-serif
}

body {
  background-image: url('taust1.jpg');
  /* height: 100%; */
  /* height:1200px;  */
  /* height:800px;  */
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100%;
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
}

.menu {
  background: linear-gradient(to bottom, #ece596 0%, #B1B869 100%);
  /* height: 100%; */
  margin: 0;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  border: 1px solid #E7ECD9;
  border-radius: 5px;
  /* max-width: 1550px; */
  /* max-width: 550px; */
  /* max-height: 120px; */
  max-height: auto;
  text-align: center;
  vertical-align: middle;
  /* column-count: 2; */
  transition: all .5s ease;
  margin-bottom: 30px;
}

.homDiv {
  column-count: 3;
  max-height: 600px;
}

figure.homefig {
  margin-top: 0px
}

.homefigure {
  width: 400px;
  position: relative;
  top: 0px;
  left: 0px;
  height: auto;
  transform: none;
  transition: none;
  margin-top: 10px;
}

.homefigure:hover {
  width: 400px;
  height: auto;
  cursor: pointer;
}

.animated .homefigure {
  height: 30px;
  width: auto;
  transition: all .5s ease;
  border-radius: 5px;
}

.animated .homefig {
  margin: 0px 0px 5px 5px;
  padding: 0px 0px 0px 0px;
}

.animated .homDiv {
  width: fit-content;
  margin: 0px 35px;
}

.animated figcaption {
  visibility: hidden;
  display: none;
}

ul {
  list-style: none;
  padding: 0px;
  /* column-count:3; */
}

ul li:before {
  /* content: '🐝'; */
  margin: 0 1em;
}

ul li.film:before {
  /* content: '🎥'; */
  margin: 0 1em;
}

ul li.pilt:before {
  /* content: '📷'; */
  margin: 0 1em;
}

li {
  line-height: 24px;
}

.animated ul li {
  line-height: 16px;
}

p {
  text-align: left;
  margin: 10px 40px;
  column-span: all;
}

ul li a {
  text-decoration: none;
  color: black;
}

.tekst {
  background: linear-gradient(to bottom, rgba(236, 229, 150, 0.9) 0%, rgba(177, 184, 105, 0.7) 25%, rgba(75, 89, 42, 0.5) 100%);
  width: 1467px;
  /*1380px */
  height: 800px;
  margin: 0px 200px 100px 200px;
  padding: 30px 30px;
  border: 2px solid #E7ECD9;
  border-radius: 5px;
  /* transition: all .5s ease; */
}

.animated {
  height: auto;
  /* padding: 0px 0px; */
  /* font-size: 8px;  */
  max-width: 1500px;
  /* column-count:6; */
}

.smaller {
  /* float:right; */
  /* opacity: 0.5; */
  /* background-color:rgba(255,255,255,0.9); */
  /* width:300px; */
  /* border-radius:2px; */
  float: right;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  animation: nurka 1s forwards;
}

@keyframes nurka {
  0% {
    max-width: 100%;
    zoom: 100%;
    opacity: 1;
  }
  100% {
    max-width: 950px;
    zoom: 30%;
    opacity: 0.5;
  }
  /*1500px*/
}

.bigger {
  /* border-radius:0px; */
  animation: suureks 1s forwards;
}

@keyframes suureks {
  0% {
    zoom: 30%;
    opacity: 0.5;
  }
  100% {
    zoom: 100%;
    opacity: 1;
  }
}

@keyframes mediumiks {
  0% {
    zoom: 30%;
    opacity: 0.5;
  }
  100% {
    zoom: 70%;
    opacity: 0.9;
  }
}

.medium {
  float: right;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  zoom: 70%;
  opacity: 0.6;
  max-width: 1500px;
  background: rgba(236, 229, 150, 0.9);
  animation: all 1s forwards;
}

html {
  height: 100%
}

figcaption {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1pt solid rgba(150, 150, 150, 0.2);
  border-radius: 2px;
  /* max-width:200px; */
  width: 200px;
  height: 30px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  margin: 0px 0px 0px 20px;
  font-size: 14px;
}

img.scr {
  width: 200px;
  height: 100px;
  position: relative;
  top: 5px;
}