@font-face {
  font-family: "pixelfont";
  src: url("assets/bigblue.ttf") format("truetype");
}

::selection {
  background: #b0cfc3;
}

::-moz-selection {
  background: #b0cfc3;
}

p {
  font-family: pixelfont;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
}

div, img {
  image-rendering: crisp-edges;
  image-rendering: optimize-contrast;
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
}

#test {
  top: 590px;
}

#pageheader {
  position: absolute;
  margin: auto;
  top: 101px;
  left: 0;
  right: 0;
  width: 936px;
  background-color: #199414;
  padding: 2px;
}

#pagecontent {
  position: absolute;
  margin: auto;
  top: 346px;
  left: 0;
  right: 0;
  width: 936px;
  background-color: #199414;
  padding: 2px;
}

#header {
  width: 100%;
  height: 243px;
  background-color: rgba(0, 0, 0, 0.85);
  background-image: url(assets/logo_light.png);
  background-repeat: no-repeat;
  background-size: contain, cover;
  background-position: center;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #199414;
  width: 8px;
  height: 8px;
}

#navbar {
  background-color: #199414;
  padding: 2px;
  width: 930px;
  height: 10px;
}

#content {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 25px;
  width: 886px;
  height: 180px;
}

#content p {
  color: #199414;
  line-height: 20px;
}

#bgcolor {
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #2e4b3f;
  width: 100%;
  height: 100%;
}

body {
  background-color: #222222;
  overflow: hidden;
}

#nav {
  position: absolute;
  margin: auto;
  top: 1px;
  left: 2px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.85);
}

#nav a {
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  padding: 0 30px;
  transition: all 200ms linear;
}

#nav a:hover {
  color: #74c771;
}

#content a {
  color: #199414;
  text-decoration: none;
  transition: all 200ms;
}

#content a:hover {
  color: #74c771;
  padding-left: 6px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    margin-top: 100px;
  }
  100% {
    opacity: 1;
    margin-top: 0px;
  }
}

#page {
  position: relative;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
  animation-fill-mode: forwards;
  transition: all 20ms linear;
}

.indent {
  margin-left: 25px;
}

#term {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  width: 920px;
  transition: all 300ms;
  transition-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
}

#term p {
  position: absolute;
  margin: auto;
  top: 2px;
  left: 0;
  right: 0;
  height: 221px;
  resize: none;
  border: none;
  line-height: 16px;
  background-color: rgba(0, 0, 0, 0.85);
  padding-left: 2px;
  padding-right: 170px;
  width: 764px;
}

#term p::-webkit-scrollbar {
  width: 0;
}

#term input {
  position: absolute;
  margin: auto;
  bottom: 2px;
  padding-left: 18px;
  border: none;
  line-height: 22px;
  background-color: rgba(0, 0, 0, 0.98);
  width: 918px;
}

#term::after {
  position: absolute;
  margin: auto;
  top: 226px;
  left: 2px;
  content: ">";
  font-family: pixelfont;
  font-size: 16px;
  color: #199414;
}

#term p, #term input {
  font-family: pixelfont;
  font-size: 16px;
  text-transform: uppercase;
  color: #199414;
}

#term input:focus, #term p:focus {
  outline: none;
}

.projekti {
  display: inline-flex;
  padding: 14px;
}

.projekti p:hover {
  color: #74c771 !important;
}

.jazjaz {
  color: #74c771;
}