/* reset5 2011 opensource.736cs.com MIT */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
audio,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
mark,
menu,
meter,
nav,
output,
progress,
section,
summary,
time,
video {
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  margin: 0;
  padding: 0;
}
body {
  line-height: 1;
}
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section,
blockquote {
  display: block;
}
nav ul {
  list-style: none;
}
ol {
  list-style: decimal;
}
ul {
  list-style: disc;
}
ul ul {
  list-style: circle;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
ins {
  text-decoration: underline;
}
del {
  text-decoration: line-through;
}
mark {
  background: none;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input[type='submit'],
input[type='button'],
button {
  margin: 0;
  padding: 0;
}
input,
select,
a img {
  vertical-align: middle;
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

.cf:before,
.cf:after {
  content: ' '; /* 1 */
  display: table; /* 2 */
}

.cf:after {
  clear: both;
}

.cl {
  clear: both;
}

/*-- end reset css --*/
a.link {
  color: #000;
  text-decoration: underline;
}

a.link.none {
  text-decoration: none;
}

a.link:hover {
  color: #555;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--color-main);
  font-size: 62.5%;
  font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Tahoma, sans-serif;
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  line-height: 1;
}

body.fixed {
  position: fixed;
  width: 100%;
}

:root {
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --padding-a: 15vh;
  --padding-b: 10vh;
  --padding-c: 7.5vh;

  --h1-font-size: 5em;
  --h2-font-size: 4em;
  --h3-font-size: 3em;
  --h1-margin-bottom: calc(var(--section-padding) * 0.8);
  --h2-margin-bottom: calc(var(--section-padding) * 0.7);
  --h3-margin-bottom: calc(var(--section-padding) * 0.6);

  --p-font-size: calc(0.4vw + 15px);
  --div-nekretnineDet-font-size: 1.7em;
  --ul-text-small-font-size: 1.7em;

  --color-main: #262833;
  --color-sub: #39e991;
}

@media screen and (max-width: 800px) {
  :root {
    --padding-a: 10vh;
    --padding-b: 7vh;
    --padding-c: 5vh;
  }
}

@media screen and (max-width: 400px) {
  :root {
    --section-padding: 7.5vh;
  }
}

div.prvaLinija {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}

div.prvaLinija > div {
  display: flex;
}

#logo {
  background: #ddd;
  display: flex;
  height: 80px;
  width: 80px;
}

#logo a {
  display: flex;
  flex: 1;
}

#logo img {
  width: 100%;
}

nav {
  display: flex;
  font-size: 1.6em;
  font-weight: 400;
  margin-left: 50px;
}

#mainNav {
  display: flex;
  list-style: none;
}

#mainNav li {
  align-items: center;
  display: flex;
  flex: 1 1 100%;
  white-space: nowrap;
}

#mainNav li + li {
  margin-left: 30px;
}

#mainNav a {
  display: block;
}

ul.zastave {
  display: flex;
  font-size: 1.3em;
  justify-content: space-between;
  list-style: none;
  margin-right: 2vw;
  width: 120px;
}

.zastave li {
  line-height: 25px;
  text-align: center;
}

.zastave a {
  display: block;
}

#ham {
  display: none;
}

.container {
  max-width: 1900px;
  margin: 0 auto;
}

div.hero {
  background: #aaa;
  display: flex;
  padding: var(--padding-a) 0;
  position: relative;
}

div.hero div {
  flex: 0 0 66.666%;
  padding: 0 12.5%;
  position: relative;
}

div.hero div.img {
  background: #ddd url(images/index.jpg) center no-repeat;
  background-size: cover;
  height: 100%;
  padding: 0 12.5%;
  position: absolute;
  right: 0;
  top: 0;
  width: 33.333%;
}

h1,
h2,
h3 {
  font-family: var(--font-header);
  font-weight: 500;
  line-height: 135%;
}

h1 {
  font-size: calc(1.5vw + 25px);
}

div.hero div h1,
div.hero div p {
  color: #fff;
  max-width: 600px;
}

h2 {
  font-size: var(--h1-font-size);
  font-size: calc(1.75vw + 15px);
  font-weight: 400;
  text-transform: uppercase;
}

h2.text {
  font-size: calc(1.25vw + 15px);
  margin: var(--padding-c) 0;
}

h2.veliki {
  margin: var(--padding-b) 0;
}

p.headline + h2 {
  font-family: var(--font-header);
  margin-top: var(--padding-b);
}

p.headline {
  font-size: calc(1.2vw + 15px);
  line-height: 135%;
  margin-top: var(--padding-c);
  max-width: 600px;
}

.text {
  font-size: var(--p-font-size);
  line-height: 135%;
}

p.text + p.text,
ul.text + p.text,
ol.text + p.text {
  margin-top: 20px;
}

p.text.head {
  font-size: calc(var(--p-font-size) * 1.2);
}

p.text + p.text.head {
  margin-top: 30px;
}

p.text + ul.text,
p.text + ol.text {
  margin-top: 20px;
}

ul.text,
ol.text {
  margin-left: 20px;
}

ul.text > li,
ol.text > li {
  margin-top: 10px;
}

ol.text ul {
  margin-left: 20px;
}

main {
  background: #eee;
}

main > section {
  padding: var(--padding-a) 12.5%;
}

div.index_usluge {
  display: grid;
  font-size: var(--p-font-size);
  gap: 7.5vh;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--padding-b);
}

div.index_usluge p {
  line-height: 135%;
}

div.index_usluge p.head {
  font-family: var(--font-header);
  font-size: 1.2em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

div.contact_helper {
  background: #000;
  color: #fff;
  padding: var(--padding-a) 12.5%;
}

div.contact_helper p {
  line-height: 135%;
  width: min(90%, 600px);
}

div.contact_helper p.head {
  font-family: var(--font-header);
  font-size: calc(1.2vw + 15px);
  margin-bottom: 20px;
}

div.contact_helper a {
  color: #fff;
}

div.main_onama,
div.main_usluge {
  display: grid;
  font-size: var(--p-font-size);
  grid-template-columns: 1fr;
  margin-top: var(--padding-b);
}

div.main_onama > div {
  display: flex;
}

div.main_onama > div {
}

div.main_onama > div + div {
  margin-top: var(--padding-c);
}

div.main_onama > div div {
  flex: 1;
}

div.main_onama > div div.icon {
  flex: 0 0 100px;
  font-family: var(--font-header);
  font-size: calc(2vw + 30px);
  margin-right: var(--padding-c);
}

div.main_onama > div div.icon img {
  width: 100%;
}

div.main_onama > div p {
  line-height: 135%;
}

div.main_onama > div p.head {
  font-size: 1.2em;
  margin-bottom: 20px;
}

div.main_usluge {
  grid-template-columns: 1fr;
  gap: var(--padding-c);
}

div.main_usluge > div {
  display: flex;
  justify-content: space-between;
}

div.main_usluge > div > div {
  display: flex;
  flex: 0 0 45%;
}

div.main_usluge > div > div + div {
  display: block;
  flex: 0 0 50%;
}

div.main_usluge > div > div img {
  aspect-ratio: 3 / 2;
  display: block;

  object-fit: cover;
  width: 100%;
}

div.main_usluge > div p {
  line-height: 135%;
}

div.main_usluge > div p.head {
  font-family: var(--font-header);
  font-size: 1.2em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

div.index_usluge + p.text {
  margin-top: 7.5vh;
}

span.upper {
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
}

div.galerija {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--padding-c);
  margin-top: var(--padding-b);
}

div.galerija img {
  aspect-ratio: 1 / 1;
  width: 100%;
}

/**/

footer {
  font-size: calc(var(--p-font-size) * 0.85);
  padding: max(var(--padding-a), 75px) 0;
}

#cookie {
  background: #fff;
  border: 1px solid #000;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: calc(clamp(15px, 2vw, 35px) - 5px);
  line-height: 150%;
  padding: clamp(15px, 2vw, 35px);
  position: fixed;
  right: 20px;
  width: min(calc(100% - 40px), 500px);
}

#cookie.hide {
  display: none;
}

#cookie p {
  flex: 0 0 100%;
  font-size: 0.95em;
}

#cookie-btn {
  background: #000;
  border: 1px solid #000;
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9em;
  padding: 10px 15px;
  transition: all 0.5s;
}

#cookie-btn:hover {
  background: #fff;
  color: #000;
}

#copy {
  margin: 0 auto;
  width: 100%;
}

#copy div {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#copy p {
  line-height: 150%;
  padding: 5px 0;
  text-align: center;
}

.fading {
  position: relative;
  opacity: 0;
  transform: translateY(100px);
  transition: transform 1.5s, opacity 1s;
}

.fadeIn {
  opacity: 1;
  transform: translateY(0px);
}

@media screen and (max-width: 900px) {
  div.index_usluge {
    grid-template-columns: 1fr;
  }

  div.main_usluge > div {
    flex-wrap: wrap;
  }

  div.main_usluge > div p.head {
    flex: 0 0 100%;
    margin-bottom: 20px;
  }

  div.galerija {
    grid-template-columns: 1fr 1fr;
  }
}

@media (orientation: portrait) {
  main > section {
  }
}

@media screen and (max-width: 800px) {
  div.prvaLinija {
    align-items: baseline;
    height: 45px;
    justify-content: center;
    flex-wrap: wrap;
  }

  div.prvaLinija > div {
    top: 45px;
    width: 100%;
  }

  #logo {
    height: 45px;
    position: absolute;
    width: 45px;
    top: 0;
  }

  nav {
    background: #fff;
    height: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 45px;
    transition: opacity 0.35s, visibility 0.35s, height 0.35s;
    visibility: hidden;
    width: 100%;
  }

  nav.open {
    background: #fff;
    height: calc(100vh - 45px);
    opacity: 1;
    position: fixed;
    visibility: visible;
    z-index: 1;
  }

  #mainNav {
    flex: 0 0 100%;
    flex-wrap: wrap;
    padding: 10vh 0 calc(10vh + 50px);
  }

  #mainNav li {
    align-items: stretch;
    justify-content: center;
    padding: 20px 0;
    opacity: 0;
    position: relative;
  }

  #mainNav li + li {
    margin: 0;
  }

  #mainNav a {
    align-items: center;
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    text-align: center;
  }

  #mainNav a:hover {
    background: var(--color-sub);
  }

  .open li {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.4s;
  }

  .open li:nth-of-type(2) {
    animation-delay: 0.45s;
  }

  .open li:nth-of-type(3) {
    animation-delay: 0.5s;
  }

  .open li:nth-of-type(4) {
    animation-delay: 0.55s;
  }

  @keyframes fadeInRight {
    0% {
      opacity: 0;
      left: 20%;
    }
    100% {
      opacity: 1;
      left: 0;
    }
  }

  #ham {
    background: #000;
    display: block;
    height: 45px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 45px;
  }

  .burger-container {
    cursor: pointer;
    display: inline-block;
    height: 45px;
    position: absolute;
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    width: 45px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 10000;
  }

  .burger-container #burger {
    display: block;
    height: 8px;
    margin: -4px auto 0;
    position: relative;
    top: 50%;
    width: 18px;
  }

  .bar {
    background: #fff;
    display: block;
    height: 1px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 0s;
    width: 100%;
  }

  .topBar {
    transform: translateY(0px) rotate(0deg);
  }

  .btmBar {
    transform: translateY(6px) rotate(0deg);
  }

  .burger-container.open {
    transform: rotate(90deg);
  }
  .burger-container.open #burger .bar {
    background: #fff;
    transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 0.2s;
  }
  .burger-container.open #burger .bar.topBar {
    transform: translateY(4px) rotate(45deg);
  }
  .burger-container.open #burger .bar.btmBar {
    transform: translateY(3px) rotate(-45deg);
  }

  /**/
  div.hero {
    flex-direction: column;
    padding-bottom: 0;
  }

  div.hero div {
    flex: 0 0 66.666%;
  }

  div.hero div.img {
    background: #ddd url(images/index.jpg) top center no-repeat;
    background-size: cover;
    flex: 0 0 33.333%;
    margin-top: var(--padding-a);
    min-height: 75vw;
    padding: 0;
    position: static;
    width: 100%;
  }

  main > section {
    padding: var(--padding-a) 10%;
  }

  div.main_onama > div div.icon {
    flex: 0 0 80px;
    margin-bottom: 20px;
  }

  div.main_usluge > div > div,
  div.main_usluge > div > div + div {
    flex: 0 0 100%;
  }

  div.main_usluge > div > div + div {
    margin-top: 30px;
  }

  div.contact_helper {
    padding: var(--padding-a) 10%;
  }
}

@media screen and (max-width: 500px) {
  div.hero {
    padding-top: var(--padding-a);
  }

  div.hero div {
    padding: 0 10%;
  }

  div.hero div.img {
    margin-top: var(--padding-a);
  }

  h1 {
    font-size: calc(1.5vw + 20px);
  }

  p.headline {
    font-size: calc(1.2vw + 15px);
  }

  div.index_usluge + p {
  }

  main > section {
    padding: 10vh 10%;
  }

  div.index_usluge {
    gap: 5vh;
  }

  div.main_onama > div {
    flex-wrap: wrap;
  }

  div.main_onama > div div {
    flex: 0 0 100%;
  }

  div.galerija {
    grid-template-columns: 1fr;
  }
}

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