body,
html {
  position: relative;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  width: 100%;
}

body {
  margin-top: 40px;
}

/* make room for the nav bar */
#oNama,
#usluge,
#proizvodni {
  padding-top: 60px;
  margin-top: -40px;
}

html {
  scroll-behavior: smooth;
}

.container-fluid {
  max-width: 1920px;
}

h1 {
  font-family: "Fugaz One", cursive;
  color: rgb(33, 66, 146);
}
h2 {
  font-family: "Nunito Sans", sans-serif;
  color: rgb(255, 255, 255);
}

h5 {
  font-weight: 600;
  line-height: 1.4;
  font-size: 1rem;
}

p {
  text-align: justify;
  font-size: 0.9rem;
}

.nav-link {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
}

.navbar,
.navbar.scrolled {
  background: #fff;
}

.navbar-toggler {
  display: block;
  width: 40px;
  height: 36px;
  position: relative;
  cursor: pointer;
  border: 0;
}
.navbar-toggler div {
  position: absolute;
  height: 4px;
  border-radius: 2px;
  background: rgb(33, 66, 146);
  transition: transform 0.45s cubic-bezier(0.9, -0.6, 0.3, 1.6),
    width 0.2s ease 0.2s;
}
.navbar-toggler input {
  display: none;
}
.navbar-toggler input + div {
  top: 50%;
  left: 0;
  margin: -2px 0 0 0;
  width: 40px;
  transform-origin: 50% 50%;
}
.navbar-toggler input + div + div {
  top: 2px;
  left: 0;
  width: 20px;
  transform-origin: 0 50%;
}
.navbar-toggler input + div + div + div {
  bottom: 2px;
  right: 0;
  width: 28px;
  transform-origin: 100% 50%;
  transform: translate(-12px, 0);
}
.navbar-toggler input:checked + div {
  transform: rotate(-45deg);
  transition: transform 0.45s cubic-bezier(0.9, -0.6, 0.3, 1.6) 0.1s;
}
.navbar-toggler input:checked + div + div {
  width: 19px;
  transform: translate(6px, 0) rotate(45deg);
  transition: transform 0.45s cubic-bezier(0.9, -0.6, 0.3, 1.6) 0.1s,
    width 0.2s ease;
}
.navbar-toggler input:checked + div + div + div {
  width: 19px;
  transform: translate(-6px, 0) rotate(45deg);
  transition: transform 0.45s cubic-bezier(0.9, -0.6, 0.3, 1.6) 0.1s,
    width 0.2s ease;
}

.header-inner {
  background-color: #fff;
}

.hero {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  background: bottom no-repeat url("../img/header-s.jpg");
  background-size: 100%;
  height: 45vh;
  padding-bottom: 200px;
}

.b-back {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  align-items: center;
  background: no-repeat url("../img/bluebg-s.jpg");
  background-size: 100%;
  height: 30vh;
}

.b-back-text h2 {
  font-weight: 600;
}

.p-back {
  background: center no-repeat url("../img/plastic-s.jpg");
  background-size: 100%;
  height: 30vh;
}

.img-pro {
  width: 95%;
  padding-bottom: 10px;
}

@-webkit-keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}
.slider {
  background: white;
  height: 200px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-top: 20px;
}
.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 10%);
  content: "";
  height: 200px;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 40s linear infinite;
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 14);
}
.slider .slide {
  height: 100px;
  width: 250px;
}
.slide:hover,
.slide-track:hover {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
  cursor: pointer;
}

footer {
  color: #fff;
  background-color: rgb(33, 66, 146);
}

.kombra-form h1 {
  color: #fff;
}

label {
  font-size: 0.9rem;
}

.btn-success {
  color: #000;
  background-color: #fff;
  border: none;
  outline: none;
}
.btn-success:hover {
  color: #fff;
  background-color: rgba(90, 90, 90, 0.8);
  outline: 1px solid #000;
}

.footer-default-text {
  font-size: 0.9rem;
}

.bottom-text p {
  font-size: 0.8rem;
}

@media only screen and (min-device-width: 640px) and (max-device-width: 768px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
  .hero {
    background: center / cover no-repeat url("../img/header.jpg");
    background-size: 100%;
    height: 60vh;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 250px;
    padding-left: 15%;
  }
  .b-back,
  .p-back {
    height: 40vh;
  }
}

@media (min-width: 768px) {
  .hero {
    height: 40vh;
    background: center / cover no-repeat url("../img/header.jpg");
    background-size: 100% 90%;
    padding-top: 150px;
    padding-left: 3%;
  }
  h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
  }
  p,
  li {
    font-size: 0.9rem;
  }
  .navbar-brand {
    transform: translateX(-24px);
  }
  .h-lg {
    font-size: 1rem;
    line-height: 1.4;
  }
  .o-nama__text {
    padding-bottom: 1rem;
  }
  .p-back {
    background: center / cover no-repeat url("../img/plastic.jpg");
  }
  .b-back-text h2 {
    line-height: 1.3;
  }
  .footer-default-text h1 {
    color: #fff;
  }
  .footer-default-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  .footer-default-text p {
    text-align: left;
  }
}

@media (min-width: 992px) {
  p,
  li {
    font-size: 1rem;
  }
  .hero {
    height: 50vh;
    padding-top: 140px;
    background-size: 100% 100%;
  }
  #oNama {
    background: no-repeat url("../img/granules.jpg");
    background-size: 100% 100%;
  }
  .b-back {
    background: no-repeat url("../img/bluebg.jpg");
    background-size: 100% 100%;
    height: 40vh;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
  .hero {
    background-size: 100% 100%;
    height: 60vh;
  }
  #oNama {
    background: no-repeat url("../img/granules-t.jpg");
    background-size: 100% 100%;
    background-position: right 0%;
    overflow-x: hidden;
  }
  .o-nama__text {
    padding-bottom: 0;
    margin-bottom: 10px !important;
    padding-right: 30px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 2rem;
  }
  h5 {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  .h-lg {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  p,
  li,
  .l-pro__img {
    font-size: 0.9rem;
  }
  .hero {
    height: 50vh;
  }
  .b-back-text h2 {
    font-weight: 800;
  }
  .p-back {
    height: 30vh;
  }
}

@media (min-width: 1400px) {
  .hero {
    padding-left: 15%;
  }
}
