:root {
  /* Colors */
  --primary-color: #001a35;
  --secondary-color: #ffc100;
  --background-blue: #2a9fd0;
  --white-color: #ffffff;
  --gray-color: rgba(255, 255, 255, 0.738);
  --light-gray-color: rgba(255, 255, 255, 0.417);
  --dark-gray-color: rgba(0, 0, 0, 0.396);
  --border-color: rgba(24, 71, 100, 0.846);
  --highlight-color: rgba(123, 120, 173, 0.623);
  --bg-overlay-color: rgba(0, 0, 0, 0.108);
  --box-shadow-color: rgba(0, 0, 0, 0.728);
  --fact-bg-color: rgba(44, 214, 226, 0);
  --text-primary-color: #001a35;
  --text-secondary-color: rgba(255, 255, 255, 0.856);

  /* Fonts */
  --font-family: system-ui, sans-serif;
  --font-size-base: 1rem;
  --font-size-text: 1.1rem;
  --font-size-small: 1.3rem;
  --font-size-large: 2.5rem;
  --font-size-xlarge: 4.5rem;
  --font-size-medium: 1.5rem;
  --font-size-hero: 1.5rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.icon-before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: 'Font Awesome Kit';
  font: var(--fa-font-solid);
  font-size: 4.5rem;
}
.contact-before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: 'Font Awesome Kit';
  font: var(--fa-font-solid);
}
img {
  max-width: 100%;
  height: auto;
}

header {
  border-bottom: 0.125rem solid var(--border-color); /* 2px -> 0.125rem */
}

/* NAVBAR 
==================================================== */

.prijava {
  margin-right: 0.3125rem; /* 5px -> 0.3125rem */
}
/* body {
  padding-top: 8rem;
} */
/* .main-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
} */

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #001a35;
  color: white;
  padding: 0;
}
.brand-title {
  padding: 0.5rem 5rem;
}
.navbar-links ul {
  margin: 0;
  padding: 0;
  display: flex;
}
.navbar-links li {
  list-style: none;
}
.navbar-links li a {
  text-decoration: none;
  color: white;
  padding: 1rem;
  display: block;
}
.navbar-links li:hover {
  background-color: #2a9fd0;
  border-radius: 3px;
}
.toggle-button {
  position: absolute;
  top: 1.8rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}
.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .toggle-button {
    display: flex;
  }
  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    align-items: start;
  }
  .navbar-links ul {
    width: 100%;
    flex-direction: column;
  }
  .navbar-links li {
    text-align: center;
    border-bottom: 2px solid rgba(152, 161, 168, 0.29);
  }
  .navbar-links li:first-child {
    border-top: 2px solid rgba(152, 161, 168, 0.29);
  }
  .navbar-links li a {
    padding: 0.8rem 1rem;
  }
  .navbar-links.active {
    display: flex;
  }
  .grbimg {
    width: 50px;
  }
  .brand-title {
    margin: 0 auto;
  }
}
