:root {
  --main: #0073e6;
  --lightblue: #48a3ff;
  --black: #111111;
  --darkgrey: #2c2c2c;
  --yellow: #ffb500;
  --lightgrey: #ebedf0;
  --warmblue: #001a70;
  --contrast: #ff6c00;
  --white: #ffffff;
  --darkblue: #001a70;
}
@font-face {
  font-family: mulishR;
  src: url("fonts/Mulish/static/Mulish-Regular.ttf");
}
@font-face {
  font-family: mulishB;
  src: url("fonts/Mulish/static/Mulish-Bold.ttf");
}
@font-face {
  font-family: mulishSB;
  src: url("fonts/Mulish/static/Mulish-SemiBold.ttf");
}
@font-face {
  font-family: mulishL;
  src: url("fonts/Mulish/static/MMulish-Light.ttf");
}
@font-face {
  font-family: icons;
  src: url("fonts/fontawesome/webfonts/fa-solid-900.ttf");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: mulishR;
  font-weight: normal;
  font-size: 1rem;
  color: #4d4d4d;
  transition: all 0.3s;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
p {
  line-height: 1.5rem;
  padding: 5px 0 10px;
  font-size: 1rem;
}
a {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
li {
  line-height: 1.5rem;
  font-size: 1rem;
  padding: 5px 0 10px;
  list-style: none;
  position: relative;
}
li:before {
  content: "";
  display: inline-block;
  border-right: 3px solid var(--main);
  border-bottom: 3px solid var(--contrast);
  width: 5px;
  height: 5px;
  left: 10px;
  bottom: 10px;
  transform: rotate(-45deg);
  margin: 0 10px 2px 0;
}
h2,
h3,
h4 {
  line-height: 2rem;
}
main {
  background: #f7f8fa;
}
img {
  display: block;
  width: 100%;
}
b {
  font-weight: normal;
  font-family: mulishB;
}
.disableScroll {
  overflow-y: hidden;
}

.header-mail:before {
  content: "\f0e0";
  font-family: icons;
  padding-right: 7px;
}
.header-phone:before {
  content: "\f098";
  font-family: icons;
  padding-right: 7px;
}

/*DESKTOP*/

@media screen and (min-width: 601px) {
  .mobile-only {
    display: none;
  }

  /*MAIN MENU*/
  .fixed-header-line {
    background: var(--darkblue);
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    transition: all 0.3s;
    _border-bottom: 1px solid var(--white);
  }
  .fixed-header-logo {
    width: 130px;
    padding: 5px 0;
  }
  .fixed-header-logo img {
    display: none;
  }
  .fixed-header-line a {
    display: inline-block;
    margin: 0 0 0 20px;
    padding: 5px 10px;
    position: relative;
    z-index: 1;
    color: var(--white);
  }
  .fixed-header-line a:hover {
    color: var(--contrast);
    transition: all 0.3s;
  }
  .fixed-header-line a:after {
    content: "";
    background: var(--white);
    position: absolute;
    left: 0px;
    top: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    height: 100%;
  }
  .fixed-header-line a:hover:after {
    width: 100%;
    transition: all 0.3s;
  }

  .header-opacity-lower {
    _opacity: 0.8;
    transition: all 0.3s;
  }

  #mainMenu {
    border-bottom: 1px solid var(--darkblue);
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 5%;
  }
  .header-logo {
    text-align: center;
    padding: 10px 0 0;
  }
  .logoImg {
    display: block;
    height: auto;
    width: 60%;
    margin: 0 0 0 20px;
  }
  .header-logo p {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-family: mulishSB;
  }
  #mainMenu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-left: 10%;
  }
  #mainMenu li:before {
    display: none;
  }
  #mainMenu a {
    display: block;
    padding: 10px 5px;
    margin: 10px 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
  }
  #mainMenu a:after {
    content: "";
    background: var(--contrast);
    height: 1px;
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
  }
  #mainMenu a:hover:after {
    width: 100%;
    transition: all 0.3s;
  }

  /* PAGES */
  .page {
    padding: 20px;
    width: 90%;
    margin: auto;
    background: #fff;
  }
  .page h1 {
    font-size: 1.8rem;
    text-align: center;
    text-transform: uppercase;
    font-family: mulishSB;
    color: var(--darkblue);
    letter-spacing: 1px;
    padding: 40px 0;
  }
  .page h2 {
    font-size: 1.6rem;
    font-family: mulishR;
    padding: 10px 0;
    text-align: center;
    color: var(--darkblue);
  }
  .page h3 {
    font-size: 1.1rem;
    padding: 10px 0;
  }
  .page ul {
    padding: 0 0 20px 10px;
  }
  #o-nama {
    padding-top: 0;
  }
  .box-container {
    display: flex;
    justify-content: space-between;
    padding: 70px 0;
  }
  .styled-box {
    width: 30%;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 1px 1px 20px 1px rgba(125, 125, 125, 0.3);
    position: relative;
  }
  .styled-box:before {
    content: "";
    position: absolute;
    border-top: 10px solid var(--main);
    border-right: 10px solid var(--contrast);
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
  }
  .styled-box:after {
    content: "";
    position: absolute;
    border-bottom: 10px solid var(--main);
    border-left: 10px solid var(--contrast);
    width: 20px;
    height: 20px;
    left: 10px;
    bottom: 10px;
  }
  .styled-box h3 {
    font-size: 1rem;
    padding-bottom: 10px;
    color: var(--contrast);
    font-size: 1.6rem;
    font-family: mulishSB;
  }

  /*PROGRAMI*/
  .content-box {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
  }
  .programi-box {
    width: 23%;
    padding: 20px;
    box-shadow: 1px 1px 10px 1px rgba(125, 125, 125, 0.3);
    border: 2px solid var(--main);
    position: relative;
  }
  .programi-box:nth-child(even) {
    border: 2px solid var(--contrast);
  }
  .programi-box h3 {
    font-size: 1.3rem;
    padding-bottom: 10px;
    color: var(--main);
    font-family: mulishSB;
    text-align: center;
  }
  .programi-box:nth-child(even) h3 {
    color: var(--contrast);
  }
  .programi-box p {
    padding-bottom: 60px;
  }
  .read-more {
    margin-top: 15px;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 15px;
    z-index: 1;
    padding: 5px 8px;
    border: 1px solid var(--darkblue);
    color: var(--darkblue);
  }
  .read-more:after {
    content: "\f061";
    font-family: icons;
    font-size: 14px;
    display: inline-block;
    padding-left: 7px;
  }
  .read-more:before {
    content: "";
    background: var(--contrast);
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    position: absolute;
  }
  .read-more:hover {
    color: var(--white);
    transition: all 0.3s;
    border: 1px solid var(--contrast);
  }
  .read-more:hover:before {
    width: 100%;
    transition: all 0.3s;
  }

  /*POPUPS*/
  .overlay-box {
    position: fixed;
    background: rgba(1, 1, 1, 0.7);
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
  }
  .popup-box {
    background: var(--white);
    position: fixed;
    top: 50px;
    width: 85%;
    left: 7.5%;
    bottom: 50px;
    z-index: 4;
    border: 1px solid #ccc;
    overflow-y: auto;
    display: none;
  }
  .popup-header {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    background: var(--white);
    z-index: 1;
  }
  .popup-header:after {
    content: "";
    background: var(--contrast);
    width: 80%;
    height: 1px;
    display: inline-block;
    position: absolute;
    left: 10%;
  }
  .close {
    display: inline-block;
    padding: 15px;
    position: absolute;
    top: 5px;
    left: 5px;
    cursor: pointer;
  }
  .close:before {
    font-family: icons;
    content: "\f00d";
    font-size: 30px;
    color: var(--contrast);
  }
  .popup-box h1 {
    padding: 30px 0;
    color: var(--darkblue);
  }
  .popup-inner {
    padding: 20px 30px;
  }
  .popup-box h2 {
    font-size: 1.2rem;
  }
  .show {
    display: block;
  }

  /*FULL WIDTH PAGE*/
  .page-full {
    background: var(--darkblue);
    display: flex;
    justify-content: space-evenly;
    padding: 60px 10%;
  }
  .page-full div {
    background: var(--white);
    padding: 20px 20px;
    width: 27%;
    text-align: center;
  }
  .page-full div .big-number {
    font-size: 4rem;
    color: var(--contrast);
    display: block;
    padding-bottom: 5px;
  }
  .page-full div span {
    font-size: 1.2rem;
  }

  /*CLIENT LIST*/
  #client-list {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    align-items: center;
  }
  #client-list li {
    padding: 5px 10px;
  }
  #client-list li:before {
    display: none;
  }
  #client-list li:after {
    content: "|";
    color: var(--contrast);
    position: absolute;
    right: 0;
    top: 4px;
  }

  /*CONTACT*/
  #kontakt div {
    display: flex;
    justify-content: center;
    padding: 20px 0 60px;
  }
  #kontakt div > * {
    display: block;
    margin: 0 20px;
    font-size: 1.2rem;
  }
  .contact-phone:hover {
    color: var(--main);
  }
  .contact-mail:hover {
    color: var(--contrast);
  }
  .contact-phone:before {
    content: "\f098";
    font-family: icons;
    padding-right: 7px;
    color: var(--main);
  }
  .contact-mail:before {
    content: "\f0e0";
    font-family: icons;
    padding-right: 7px;
    color: var(--contrast);
  }
  .contact-address:before {
    content: "\f3c5";
    font-family: icons;
    padding-right: 7px;
    color: var(--darkblue);
  }
}

/*MOBILE*/
@media screen and (max-width: 600px) {
  /*MAIN MENU*/

  .fixed-header-line {
    background: var(--main);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .fixed-header-line div {
    padding: 10px;
    display: flex;
    justify-content: center;
  }
  .fixed-header-line a {
    display: inline-block;
    color: var(--white);
    font-size: 0.8rem;
    padding: 0px 20px 0 0;
  }
  div.fixed-header-logo {
    display: none;
  }

  #mainMenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    position: relative;
    border-bottom: 1px solid #ccc;
  }

  .header-logo {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    width: 80%;
    padding: 10px 20px;
  }
  .header-logo img {
    width: 40%;
  }
  .header-logo p {
    font-size: 0.7rem;
    padding: 0;
  }

  #mobile-menu {
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 20px;
  }
  #mobile-menu:before {
    content: "\f0c9";
    font-family: icons;
    font-size: 1.5rem;
    color: var(--main);
  }

  #menu-items {
    width: 100%;
    padding: 0 20px;
    display: none;
  }

  .page {
    padding: 20px;
  }

  .page h1 {
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    font-family: mulishSB;
    color: var(--darkblue);
    letter-spacing: 1px;
    padding: 20px 0 20px;
  }
  .page h2 {
    font-size: 1.3rem;
    font-family: mulishR;
    padding: 5px 0;
    text-align: center;
    color: var(--darkblue);
  }
  .page h3 {
    font-size: 1.1rem;
    padding: 5px 0;
  }
  .page ul {
    padding: 0 0 20px 20px;
  }

  /*FULL WIDTH PAGE*/
  .page-full {
    background: var(--darkblue);
    display: flex;
    flex-wrap: wrap;
    padding: 30px 30px 0;
  }
  .page-full div {
    background: var(--white);
    padding: 20px;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }
  .page-full div .big-number {
    font-size: 3rem;
    color: var(--contrast);
    display: block;
    padding-bottom: 5px;
  }
  .page-full div span {
    font-size: 1rem;
  }

  /*PROGRAMI*/

  .content-box {
    display: flex;
    flex-wrap: wrap;
  }

  .programi-box {
    width: 100%;
    padding: 20px;
    margin: 0 0 20px;
    border: 2px solid var(--main);
    position: relative;
  }
  .programi-box:nth-child(even) {
    border: 2px solid var(--contrast);
  }
  .programi-box h3 {
    font-size: 1.2rem;
    padding-bottom: 10px;
    color: var(--main);
    font-family: mulishSB;
    text-align: center;
  }
  .programi-box:nth-child(even) h3 {
    color: var(--contrast);
  }
  .programi-box p {
    padding-bottom: 60px;
  }
  .read-more {
    margin-top: 15px;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 15px;
    z-index: 1;
    padding: 5px 8px;
    border: 1px solid var(--darkblue);
    color: var(--darkblue);
  }
  .read-more:after {
    content: "\f061";
    font-family: icons;
    font-size: 14px;
    display: inline-block;
    padding-left: 7px;
  }

  /*POPUPS*/
  .overlay-box {
    position: fixed;
    background: rgba(1, 1, 1, 0.6);
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: none;
  }

  .popup-box {
    background: var(--white);
    position: fixed;
    top: 70px;
    width: 90%;
    left: 5%;
    bottom: 70px;
    z-index: 4;
    border: 1px solid #ccc;
    overflow-y: auto;
    display: none;
  }
  .popup-header {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    background: var(--white);
    z-index: 1;
  }
  .popup-header:after {
    content: "";
    background: var(--contrast);
    width: 70%;
    height: 1px;
    display: inline-block;
    position: absolute;
    left: 15%;
  }
  .close {
    display: inline-block;
    padding: 10px;
    position: absolute;
    top: 5px;
    left: 5px;
    cursor: pointer;
  }
  .close:before {
    font-family: icons;
    content: "\f00d";
    font-size: 25px;
    color: var(--contrast);
  }
  .popup-box h1 {
    padding: 20px 0;
    color: var(--darkblue);
    font-size: 1.2rem;
  }
  .popup-inner {
    padding: 20px;
  }
  .popup-box h2 {
    font-size: 1.1rem;
  }
  .show {
    display: block;
  }

  /*CLIENT LIST*/
  #client-list {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    align-items: center;
  }
  #client-list li {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  #client-list li:before {
    display: none;
  }
  #client-list li:after {
    content: "|";
    color: var(--contrast);
    position: absolute;
    right: 0;
    top: 4px;
  }

  /*KONTAKT*/
  #kontakt div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #kontakt div > * {
    font-size: 1rem;
    padding: 10px 0;
  }
  .contact-phone:hover {
    color: var(--main);
  }
  .contact-mail:hover {
    color: var(--contrast);
  }
  .contact-phone:before {
    content: "\f098";
    font-family: icons;
    padding-right: 7px;
    color: var(--main);
  }
  .contact-mail:before {
    content: "\f0e0";
    font-family: icons;
    padding-right: 7px;
    color: var(--contrast);
  }
  .contact-address:before {
    content: "\f3c5";
    font-family: icons;
    padding-right: 7px;
    color: var(--darkblue);
  }
}
