html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.okvir {
  z-index: -1;
}

figure {
  margin: 0;
}


.absolute-bg {
  position: absolute;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  opacity: 0.4;
}

.fog {
  position: relative;
  height: 100vh;
  width: 100%;
  background-color: #000;
}

.fog__container {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.fog__img {
  position: absolute;
  height: 100vh;
  width: 300vw;
}

.fog__img--first {
  background: url("../img/fog-1.png") repeat-x;
  background-size: contain;
  background-position: center;
  -webkit-animation: marquee 60s linear infinite;
  animation: marquee 60s linear infinite;
}

.fog__img--second {
  background: url("../img/fog-2.png") repeat-x;
  background-size: contain;
  background-position: center;
  -webkit-animation: marquee 40s linear infinite;
  animation: marquee 40s linear infinite;
}

@-webkit-keyframes marquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(-200vw, 0, 0);
    transform: translate3d(-200vw, 0, 0);
  }
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-200vw, 0, 0);
    -webkit-transform: translate3d(-200vw, 0, 0);
    -moz-transform: translate3d(-200vw, 0, 0);
    -ms-transform: translate3d(-200vw, 0, 0);
    -o-transform: translate3d(-200vw, 0, 0);
  }
}

.logatec {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  font-size: 14vh;
  font-family: 'Miss Fajardose',
  cursive;
  font-style: italic;
  font-weight: bolder;
  color: #13b3ff;
  text-shadow: 2px 8px 6px orange,
               0px -5px 35px grey;
  text-align: center;
  letter-spacing: 1vw;
  z-index: 0;
  opacity: 0.6;
}

.vecje{
  font-size: 19vh;
}