/* FONT ZA NAVIGACIJU */

@import url(https://fonts.googleapis.com/css?family=Raleway:400,500);

/* NAVIGACIJA */

.navigacija_rad {
  font-family: 'Raleway', Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 20px;
}

.navigacija_rad * {
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.navigacija_rad li {
  display: inline-block;
  list-style: outside none none;
  margin: 0 1.5em;
  overflow: hidden;
}

.navigacija_rad a {
  padding: 0.3em 0;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  margin: 0;
  text-decoration: none;
}

.navigacija_rad a:before,
.navigacija_rad a:after {
  position: absolute;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.navigacija_rad a:before {
  top: 100%;
  display: block;
  height: 3px;
  width: 100%;
  content: "";
  background-color: #c0392b;
}

.navigacija_rad a:after {
  padding: 0.3em 0;
  position: absolute;
  top: 100%;
  left: 0;
  content: attr(data-hover);
  color: white;
  white-space: nowrap;
}

.navigacija_rad li:hover a,
.navigacija_rad .current a {
  transform: translateY(-100%);
}


@media (max-width: 768px) {
  .navigacija_rad li {
    display: block;
    margin-right: 70px;
    text-align: center;
  }


  .navigacija_rad a {
    display: block;
    padding: 1em 0;
    font-size: 16px;

  }

  .navigacija_rad a:before {
    top: 0;
  }


  .navigacija_rad li:hover a,
  .navigacija_rad .current a {
    transform: none;
  }
}






/* NAVIGACIJA KRAJ */


/* SKRIVANJE SCROLLBARA */

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  scroll-behavior: smooth;
}



body {
  background: #212121;
  margin: 0;
  padding: 0;
}


.sekcija1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/game.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

@media (max-width: 768px) {
  .sekcija1 {
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
  }
}





.naslov {

  font-size: 70px;
  text-align: center;
  padding-top: 20%;
  color: white;
  font-family: 'Press Start 2P', cursive;
  user-select: none;
}

@media only screen and (max-width: 600px) {
  .naslov {
    font-size: 50px;
    padding-top: 80%;
  }
}

.podnaslov {
  font-size: 55px;
  color: white;
  text-align: left;
  padding-left: 85px;
  user-select: none;
  font-family: 'Press Start 2P', cursive;
}

@media (max-width: 768px) {
  .podnaslov {
    font-size: 30px;
    text-align: center;
    padding: 20px;
    margin: 0;
  }
}

.opis {
  font-size: 26px;
  color: white;
  padding-left: 85px;
  width: 65%;
  font-family: Tahoma, Verdana, sans-serif;
}

@media only screen and (max-width: 767px) {
  .opis {
    font-size: 18px;
    padding-left: 20px;
    width: 90%;

  }
}

.opisindex {
  font-size: 22px;
  color: white;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  font-family: Tahoma, Verdana, sans-serif;
}

@media only screen and (max-width: 767px) {
  .opisindex {
    font-size: 18px;
    padding-left: 20px;
    width: 90%;
  }
}

.podnaslovindex {
  font-size: 40px;
  color: white;
  padding-left: 85px;
  user-select: none;
  text-align: center;
  padding-top: 8vw;
  font-family: 'Press Start 2P', cursive;
}

@media (max-width: 768px) {
  .podnaslovindex {
    font-size: 35px;
    text-align: center;
    padding: 20px;
    margin: 0;
    color: white;
  }
}



.sekcija2 {
  background-image: url("slike/pocetna.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}


.naslovsimulator {
  font-size: 70px;
  text-align: center;
  padding-top: 20%;
  color: white;
  font-family: 'Press Start 2P', cursive;
  user-select: none;
}

@media only screen and (max-width: 600px) {
  .naslovsimulator {
    font-size: 40px;
    padding-top: 80%;
  }
}

.podnaslovsimulator {
  font-size: 40px;
  color: white;
  text-align: left;
  padding-left: 85px;
  user-select: none;
  font-family: 'Press Start 2P', cursive;
}

@media (max-width: 768px) {
  .podnaslovsimulator {
    font-size: 25px;
    text-align: center;
    padding: 20px;
    margin: 0;
    color: white;
  }
}











/* RPG */

.sekcija1rpg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/rpghero.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija2rpg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url("slike/skyrim.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija3rpg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url("slike/witcher.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.sekcija4rpg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/fnv.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.sekcija5rpg {

  height: 936px;
  overflow: hidden;
}


@media screen and (max-width: 768px) {

  .sekcija1rpg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/rpghero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }


  .sekcija2rpg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/skyrim.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija3rpg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/witcher.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija4rpg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/fnv.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija5rpg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/cyber.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}


/* AKCIJA */

.sekcija1akcija {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/akcijahero.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija2akcija {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/justcause.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija3akcija {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/farcry.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija4akcija {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/uncharted.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija5akcija {

  height: 936px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}



@media screen and (max-width: 768px) {

  .sekcija1akcija {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/akcijahero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }


  .sekcija2akcija {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/justcause.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija3akcija {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/farcry.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija4akcija {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/uncharted.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija5akcija {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/mw2.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.video-container-akcija {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  object-fit: contain;
}

.video-container-akcija::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.video-container-akcija h2,
p {
  position: relative;
  /* add this line to position the text element relative to the container */
  z-index: 1;
  /* add this line to set the z-index of the text above the gradient */
}




/* HOROR */

.sekcija1horor {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/hororhero.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}


.sekcija2horor {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/alien.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}


.sekcija3horor {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/stalker.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija4horor {
  background-image: url("slike/deadspace.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija5horor {
  height: 936px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}


@media screen and (max-width: 768px) {

  .sekcija1horor {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/hororhero.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }


  .sekcija2horor {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/alien.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija3horor {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/stalker.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija4horor {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/deadspace.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija5horor {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/outlast.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}



/* SIMULATOR */

.sekcija1simulator {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/kamion.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}


.sekcija2simulator {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/citiesskylines.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}


.sekcija3simulator {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/eurotruck.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija4simulator {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/sims.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija5simulator {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/pc.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

@media screen and (max-width: 768px) {

  .sekcija1simulator {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/kamion.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }


  .sekcija2simulator {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/citiesskylines.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija3simulator {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/eurotruck.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija4simulator {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/sims.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija5simulator {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/pc.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}



/* STEALTH */

.sekcija1stealth {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/stealth.jpeg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija2stealth {

  height: 936px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.video-container-stealth {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  object-fit: contain;
}

.video-container-stealth::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.video-container-stealth h2,
p {
  position: relative;
  /* add this line to position the text element relative to the container */
  z-index: 1;
  /* add this line to set the z-index of the text above the gradient */
}


.sekcija3stealth {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/metalgear.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija4stealth {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/hitman.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}

.sekcija5stealth {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/thief.jpg");
  height: 1080px;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  background-size: cover;
}


@media screen and (max-width: 768px) {

  .sekcija1stealth {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/stealth.jpeg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }


  .sekcija2stealth {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/dishonored.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija3stealth {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/metalgear.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija4stealth {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/hitman.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sekcija5stealth {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("slike/thief.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}



/* VIDEO POZADINA */

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

}

.video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.video-container h2,
p {
  position: relative;
  /* add this line to position the text element relative to the container */
  z-index: 1;
  /* add this line to set the z-index of the text above the gradient */
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#myVideo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}



@media screen and (max-width: 768px) {
  .video {
    height: auto;
  }
}


/* BACK TO TOP GUMB */

.top-link {
  z-index: 1;
  position: fixed;
  right: 30px;
  bottom: 30px;

  background-color: rgb(255, 255, 255);
  padding: 0;
  margin: 0;

  border-radius: 50%;
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);

  transition: transform 0.3s ease-in-out;
}

.top-link svg {
  height: 3.00rem;
  width: auto;
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');