#overlay
{
    background:rgba(0,0,0,0.7);
    position: absolute;
    left:0;
    top:0;
    width:1920px;
    height:1080px;
    display:none;
    will-change:opacity;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    z-index:6667;
}

#overlay .modal
{
    position: absolute;
    top: 50%;
    left: 50%;
    padding:70px;
    margin-top: -200px;
    margin-left: -300px;
    width: 600px;
    height: 400px;
    background:#ededed;
    display:none;
}

#overlay .modal.modalbig
{
    margin-top: -350px;
    margin-left: -450px;
    width: 900px;
    height: 700px;
}

#overlay .modal .close
{
    position: absolute;
    right:0;
    top:0;
}

#overlay .modal .centerimg
{
    margin:0 auto;
    display:block;
}

#overlay .modal .leftimg
{
    width:345px;
    text-align: center;
    float:left;
    margin-right:70px;
    display:block;
    padding:15px 20px 0 20px;
}


#background
{
  width:1920px;
  height:1080px;
  overflow:hidden;
  position:absolute;
  top:0;
  left:0;
  z-index:2;
  background-image:url("../imgs/ozadje_angl.jpg"); 
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}



.cev-zgoraj
{
 width: 225px;
 height: 279px;
 left: 65px;
 position: absolute;
 top: 0;
 background-image: url("../imgs/cev-gornja.jpg");
 z-index: 2;
 -webkit-transform: translate3d(0, 0, 0);
 -webkit-transform: translateZ(0);
 -webkit-backface-visibility: hidden;
 -webkit-perspective: 1000;
}

.cev-desna
{
     bottom: 335px;
    right: 0px;
    position: absolute;
    width: 53px;
    height: 173px;
    background-image: url("../imgs/cev-desna.jpg");
    z-index: 2;
}

.predmet
{
  width:125px;
  height:125px;
  left: 110px;
  position: absolute;
  top:620px;
  z-index:-1;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.senzor
{
  width:197px;
  height:181px;
  left: 405px;
  position: absolute;
  top: 570px;
  background-image:url("../imgs/senzor.png");
  z-index:2;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.anti-stekanje
{
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

#ovira1
{
  width: 40px;
  height: 170px;
  position: absolute;
  left: 820px;
  top: 579px;
  /*border: solid 1px black;*/
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}


#ovira2
{
  width: 40px;
  height: 170px;
  position: absolute;
  left: 1100px;
  top: 579px;
/*border: solid 1px black;*/
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

#ovira3
{
  width: 40px;
  height: 170px;
  position: absolute;
  left: 1378px;
  top: 579px;
 /*border: solid 1px black;*/
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.vrata1
{
  position: relative;
  width: 176px;
   height: 98px;
  background-image: url("../imgs/vrata1.jpg");
  z-index:1000;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

#obmocje1
{
 /*border: solid 1px black;*/
  position: absolute;
  left: 790px;
  bottom: 185px;
  width: 176px;
  height: 150px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.vrata2
{
  position: relative;
  width: 176px;
  height: 98px;
  z-index:1000;
   background-image: url("../imgs/vrata2.jpg");
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

#obmocje2
{
  /*border: solid 1px black;*/
  position: absolute;
  left: 1070px;
  bottom: 185px;
  width: 176px;
  height: 150px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}


.vrata3
{
  position: relative;
  width: 176px;
   height: 98px;
  background-image: url("../imgs/vrata3.jpg");
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

#obmocje3
{
  /*border: solid 1px black;*/
  position: absolute;
  left: 1355px;
  bottom: 185px;
  width: 176px;
  height: 150px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.izpis-tock
{
  font-size:30px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.info
{
  position: absolute;
  top: 170px;
  left: 350px;
  background-color: rgba(82, 82, 82, 0.94);
  width: 1200px;
  height: 800px;
  font-size: 55px;
  border-radius: 14px;
  z-index: 100;
  opacity:0;
  text-align: center;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

.opis-slika
{
  float: left;
  width: 20%;
  position: relative;
  height: 200px;
  background-color: white;
  border-radius: 25px;
  margin: 5px 5px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}

#stevec
{
  background-image: url("../imgs/stevec.png");
  position: absolute;
  left: 430px;
  top: 400px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index: 10;
  width: 158px;
  height: 170px;
}

#kazalec
{
  background-image: url("../imgs/kazalec.png");
      background-repeat: no-repeat;
  position: absolute;
  left: 445px;
  top: 650px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index: 200;
  width: 126px;
  height: 12px;
}

@keyframes animacijaDesno {
    0% { background-position: 0 0; }
    100% { background-position: 52px 0; }
}

@keyframes animacijaLevo {
    0% { background-position: 0 0; }
    100% { background-position: -52px 0; }
}

.animirajDesno
{
   animation: animacijaDesno 0.5s linear infinite;
}

.animirajLevo
{
   animation: animacijaLevo 0.5s linear infinite;
}

#tekoci-trak1
{
  position: absolute;
  width: 840px;
  height: 58px;
  background-image: url("../imgs/trak.png");
  left: -40px;
  top: 765px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index:98;
}

#tekoci-trak1-zgoraj
{
  position:absolute;
  width: 840px;
  height: 20px;
  left: -40px;
  top: 745px;
  z-index:98;
  background-image: url("../imgs/trak-zgoraj.png");
  background-position: 0px 0px;
}

#tekoci-trak1-spodaj
{
  position:absolute;
  width: 840px;
  height: 20px;
  left: -40px;
  top: 823px;
  z-index:98;
  background-image: url("../imgs/trak-spodaj.png");
  background-position: 0px 0px;
}

#tekoci-trak2
{
  position: absolute;
  width: 120px;
  height: 58px;
  background-image: url("../imgs/trak.png");
  left: 965px;
  top: 765px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index:98;
}


#tekoci-trak2-zgoraj
{
  position:absolute;
  width: 120px;
  height: 20px;
  left: 965px;
  top: 745px;
  z-index:98;
  background-image: url("../imgs/trak-zgoraj.png");
  background-position: 0px 0px;
}

#tekoci-trak2-spodaj
{
  position:absolute;
  width: 120px;
  height: 20px;
  left: 965px;
  top: 823px;
  z-index:98;
  background-image: url("../imgs/trak-spodaj.png");
  background-position: 0px 0px;
}

#tekoci-trak3
{
  position: absolute;
  width: 120px;
  height: 58px;
  background-image: url("../imgs/trak.png");
  left: 1245px;
  top: 765px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index:98;
}

#tekoci-trak3-zgoraj
{
  position:absolute;
  width: 120px;
  height: 20px;
  left: 1245px;
  top: 745px;
  z-index:98;
  background-image: url("../imgs/trak-zgoraj.png");
  background-position: 0px 0px;
}

#tekoci-trak3-spodaj
{
  position:absolute;
  width: 120px;
  height: 20px;
  left: 1245px;
  top: 823px;
  z-index:98;
  background-image: url("../imgs/trak-spodaj.png");
  background-position: 0px 0px;
}

#tekoci-trak4
{
  position: absolute;
  width: 500px;
  height: 58px;
  background-image: url("../imgs/trak.png");
  left: 1530px;
  top: 765px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index:98;
}

#tekoci-trak4-zgoraj
{
  position:absolute;
  width: 500px;
  height: 20px;
  left: 1530px;
  top: 745px;
  z-index:98;
  background-image: url("../imgs/trak-zgoraj.png");
  background-position: 0px 0px;
}

#tekoci-trak4-spodaj
{
  position:absolute;
  width: 500px;
  height: 20px;
   left: 1530px;
  top: 823px;
  z-index:98;
  background-image: url("../imgs/trak-spodaj.png");
  background-position: 0px 0px;
}


.kolo
{
  background-image: url("../imgs/kolo.png");
  position:relative;
  float:left;
  width:60px;
  height:60px;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  z-index:99;
}

#nogica1
{
    bottom: 80px;
    left: 550px;
}

#nogica2
{
    bottom: 80px;
    left: 200px;
}

#nogica3
{
    bottom: 80px;
    left: 980px;
}

#nogica4
{
    bottom: 80px;
    left: 1260px;
}

#nogica5
{
    bottom: 80px;
    left: 1650px;
}

#start
{
 text-align: center;
    padding: 23px;
    font-size: 27px;
    position: absolute;
    bottom: 30px;
    left: 400px;
    width:100px;
    height:100px;
    background-image:url("../imgs/play1.png");
    border-radius: 100px;
}

#start.clicked
{
  background-image:url("../imgs/play2.png");
}

#noga
{
  position:absolute;
  width:1920px;
  height:238px;
  background-image:url("../imgs/noga.png");
  z-index:50;
  top: 842px;
}

.rob
{
  width:20px;
  height:99px;
  background-image:url("../imgs/rob.png");
}

#rob1
{
  position:absolute;
  top:745px;
  left:945px;
}

#rob2
{
  position:absolute;
  top:745px;
  left:1225px;
}

#rob3
{
  position:absolute;
  top:745px;
  left:1510px;
}

.posastObleka {
    background-image: url("../imgs/posast/obleka.png");
    position: absolute;
    z-index: 101;
    top: 270px;
    left: 380px;
    width: 240px;
    height: 300px;
}

.posastTelo {
    background-image: url("../imgs/posast/telo.png");
    position: absolute;
    z-index: 99;
    top: 316px;
    left: 460px;
    width: 90px;
    height: 193px;
}

.posastUcek {
    background-image: url("../imgs/posast/oko.png");
    position: absolute;
    z-index: 100;
    top: 360px;
    left: 494px;
    width: 14px;
    height: 15px;
}


.animirajOko
{
  animation: oko 9s 5s infinite;
}

@keyframes oko {
  0%   
  { 
      transform: translate(0,0);
  }
  15%
  {
     transform: translate(-10px,10px);
  }
  30%
  {
     transform: translate(0,0);
  }
  45% 
  { 
     transform: translate(10px,10px);
  }
  60%
  {
     transform: translate(0,0);
  }
  100%
  {
     transform: translate(0,0);
  }
}


#ura {
    width: 100px;
    height: 100px;
    background-color: green;
    position: absolute;
    top: 200px;
    right: 270px;
    border:solid 3px;
    border-radius:50px;
  
}

.animirajUro
{
    animation: animacijaBarve 120000ms linear;
}

@keyframes animacijaBarve {
    from {background-color: #006D00;}
    to {background-color: #800000;}
}

#timer
{
    position: absolute;
    top: 220px;
    right: 286px;
    font-size: 40px;
    font-weight: 700;
    text-align:center;
    width:68.5px;
    height:55px;
    color: #D0D0D0;
}

.textcloud
{
  padding:10px;
    background: rgba(255,255,255,0.7);
    border-radius:20px;
    border:10px solid white;
    text-align: center;
}

.textcloud.textcloud1
{
    position:absolute;
    width: 90px;
    height: 84px;
    bottom: auto;
    left: 604px;
    top: 324px;
    z-index: 100;
}

.slide1arrow
{
  position: absolute;
    left: -36px;
    top: -1px;
}
