@font-face {
  font-family: 'ModernSans';
  src: url('ModernSans-Light.otf');
}

* {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica;
  background: #121c33;
  color: white;
  overflow-x: hidden;
}

.okvir {
  width: 101%;
  overflow: hidden;
  position: relative;
  top: -20px;
  margin: 0;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  transition: all .5s;
}

.logo {
  float: left;
  padding: 5px;
  margin-left: 20px;
  margin-top: 5px;
  transition: all .3s;
}

.logo:hover {
  filter: drop-shadow(0 0 5px white);
  cursor: pointer;
}

.header-grid {
  float: right;
  margin-right: 10px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
}

.header-grid a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 17px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  position: relative;
}

.header-grid a:after, footer a:after {
	background: none repeat scroll 0 0 transparent;
  bottom: 0;
 	content: "";
  display: block;
	height: 1px;
  left: 50%;
  position: absolute;
  background: white;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.header-grid a:hover:after, footer a:hover:after {
	width: 100%;
  left: 0;
}

video {
  width: 100.9%;
  position: relative;
  left: -6px;
  top: -30px;
}

.video-text {
  font-family: 'ModernSans';
  font-size: 60px;
  text-align: center;
  position: relative;
  top: -50vh;
  color: white;
  opacity: 0;
  transition: opacity 1s;
}

#loader {
  position: relative;
  left: 45%;
  top: 45%;
  margin: -76px -76px;
  border-radius: 50%;
  z-index: 99;
  animation: spin 2s linear infinite;
  opacity: 1;
  transition: opacity 1s;
}

@keyframes spin {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

#loaderBG {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #061629;
  z-index: 99;
  opacity: 1;
  transition: opacity 1s;
}

.kont {
  width: 50%;
  text-align: left;
  padding: 10px;
  background: #1a3052;
  cursor: pointer;
  margin-top: 7%;
  transition: all .6s;
}

.imgOkv {
  overflow: hidden;
}

.slika {
  transition: transform 1s;
}

.slika:hover {
  transform: scale(1.2);
}

.kont:nth-child(even) {
  transform: translate(-150%, 0);
}

.kont:nth-child(odd) {
  transform: translate(300%, 0);
  text-align: right;
}

.kont img {
  width: 100%;
  height: 50vh;
}

.kont h2, .kont p {
  padding: 10px;
}

.kont p {
  font-family: 'ModernSans';
  font-size: 18px;
}

.kont a, .panel a {
  color: #64abed;
  text-decoration: none;
}

.kont a:hover, .panel a:hover {
  text-decoration: underline;
}

h2 {
  text-transform: uppercase;
  font-size: 25px;
}

h1 {
  font-family: 'ModernSans';
  text-transform: uppercase;
  text-align: center;
  margin-top: 10%;
  margin-bottom: 5%;
}

p:not(.kont p, .timeline-content p, .panel p) {
  font-family: 'ModernSans';
  width: 70%;
  display: block;
  margin: 0 auto;
  line-height: 130%;
  font-size: 18px;
}

.tomic1 {
	background: url("slike/tomic&co.jpg");
}

.tomic2 {
	background: url("slike/franjoTomic.jpg");
}

.parallax {
  margin-top: 90px;
  margin-bottom: 90px;
  width: 100%;
  min-height: 800px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.timeline-content img {
  display: block;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 5px;
}

.timeline-content h2, .date {
  font-family: 'ModernSans';
}

.info {
  text-align: center;
  margin-top: 2%;
}

.modeli {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto;
  margin-top: 5%;
}

.model img {
  display: block;
  margin: 0 auto;
  width: 50%;
  margin-top: -5%;
  transition: all .5s;
}

h3 {
  text-align: center;
  color: black;
  font-size: 25px;
  font-family: 'ModernSans';
}

footer {
  display: block;
  background: #061629;
  width: 100.8%;
  height: 100px;
  margin-top: 6%;
  position: relative;
  left: -8px;
  right: 0;
  margin-bottom: -1%;
}

.faq {
  float: left;
  text-transform: uppercase;
  color: white;
  font-size: 18px;
  position: relative;
  left: 5%;
  margin-top: 2%;
}

.kontakt {
  float: right;
  position: relative;
  right: 5%;
  margin-top: 2%;
}

footer a {
  color: #f2f2f2;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
}
