@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap");
@font-face {
  font-family: "Birgine";
  src: url(../font/Birgine-YU.ttf);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rethink Sans", sans-serif;
  font-size: 22px;
  background-color: #F5F3EF;
  color: #000;
  position: relative;
}

#no-overflow {
  /*overflow-x: hidden;*/
}

.container {
  width: 95%;
  margin: auto;
  max-width: 1440px;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  display: block;
  text-decoration: none;
}

h1 {
  font-size: 72px;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: "Birgine";
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.big {
  font-size: 32px !important;
}

section {
  padding: 60px 0;
}

.contactForm {
  background-color: #fff;
  border-radius: 25px;
  width: 373px;
}
.contactForm h3 {
  padding: 20px 20px 0 20px;
}
.contactForm p {
  padding-left: 20px;
  padding-bottom: 20px;
}
.contactForm form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.contactForm form p {
  padding: 0;
  width: 100%;
}
.contactForm form p:first-child {
  padding-top: 5px;
}
.contactForm form p:last-child {
  display: none;
}
.contactForm form p span {
  display: block;
  width: 100%;
}
.contactForm form p span input, .contactForm form p span textarea {
  display: block;
  padding: 10px;
  border: none;
  margin-bottom: 15px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  outline: none;
  width: 90%;
  margin: 7px auto;
  font-size: 16px;
  font-family: "Rethink Sans", sans-serif;
}
.contactForm form p span input[type=checkbox] {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
}
.contactForm form label {
  display: flex;
  font-size: 18px;
}
.contactForm form input[type=submit] {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: none;
  height: 50px;
  background-color: #4F88FE;
  color: #fff;
  border-radius: 0 0 25px 25px;
  font-size: 18px;
  margin-top: 10px;
  cursor: pointer;
}
.contactForm form .wpcf7-spinner {
  display: none;
}

/*POP-UP*/
.popUp {
  position: fixed;
  left: calc(100% - 60px);
  top: 120px;
  z-index: 3;
  display: flex;
  align-items: center;
  transition: 0.3s ease-out;
}
.popUp .cta1{
  display: none;
}
.popUp .cta {
  background-color: #EEAA29;
  width: 60px;
  height: 320px;
  border-radius: 20px 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.popUp .cta p {
  transform: rotate(90deg);
  width: 320px;
  text-wrap: nowrap;
  color: #1f1f1f;
  display: flex;
  align-items: center;
}
.popUp .cta p span {
  color: #001D37;
  margin-left: 8px;
  margin-top: 2px;
}
.popUp .cta p span i {
  color: #001D37;
}
.popUp .cta p span i::before {
  color: #001D37;
}
.popUp .cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}



.popUp.active {
  transform: translateX(-374px);
}
.popUp.active .contactForm {
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
}

.zaobljenje::before {
  display: block;
  content: url(../img/zaobljenje_gore_levo.svg);
  position: absolute;
  width: 50px;
  height: 50px;
  top: -48px;
  left: -2px;
}
.zaobljenje::after {
  display: block;
  content: url(../img/zaobljenje_dole_desno.svg);
  position: absolute;
  width: 50px;
  height: 50px;
  bottom: -2px;
  right: -47px;
  left: auto;
  transform: rotate(90deg);
}

.btnBlue {
  margin-top: 50px;
  width: 50%;
  max-width: 332px;
  min-width: 270px;
  margin: auto;
  color: #F5F3EF;
  background-color: #001D37;
  text-align: center;
  padding: 10px 20px;
  border-radius: 25px;
  position: relative;
  text-wrap: nowrap;
}
.btnBlue::after {
  position: absolute;
  height: 100%;
  width: 0%;
  overflow: hidden;
  background-color: #F5F3EF;
  display: flex;
  align-items: center;
  justify-content: center;
  content: var(--after-content);
  top: 0;
  left: 0;
  border-radius: 25px;
  color: #001D37;
  transition: 0.3s ease-out;
  text-wrap: nowrap;
}
.btnBlue:hover {
  color: #001D37;
}
.btnBlue:hover::after {
  width: 100%;
  border: 2px solid #001D37;
}

.btnWhite {
  margin-top: 50px;
  margin: auto;
  max-width: 332px;
  min-width: 270px;
  background-color: #F5F3EF;
  width: 50%;
  border: 2px solid #001D37;
  color: #001D37;
  margin-top: 30px;
  transition: 0.3s ease-out;
  position: relative;
  text-align: center;
  padding: 10px 20px;
  border-radius: 25px;
  text-wrap: nowrap;
}
.btnWhite::after {
  position: absolute;
  height: 100%;
  width: 0%;
  overflow: hidden;
  background-color: #001D37;
  display: flex;
  align-items: center;
  justify-content: center;
  content: var(--after-content);
  top: 0;
  left: 0;
  border-radius: 25px;
  color: #F5F3EF;
  transition: 0.3s ease-out;
  text-wrap: nowrap;
}
.btnWhite:hover {
  color: #F5F3EF;
}
.btnWhite:hover::after {
  width: 100%;
}

.ponuda {
  padding: 40px 0 80px 0;
}
.ponuda .container {
  display: flex;
  justify-content: space-between;
}
.ponuda .container a {
  flex: 0 0 29%;
}
.ponuda .container a > div {
  border-radius: 48px;
  overflow: hidden;
}
.ponuda .container a > div img {
  transition: 0.2s ease-out;
}
.ponuda .container a > div:hover img {
  transform: scale(1.05);
}
.ponuda .container a .btnWhite {
  width: 100%;
}

#navbar {
  display: none;
}

/*HEADER*/
header {
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: #F5F3EF;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .container .logo {
  display: flex;
  align-items: flex-start;
}
header .container .logo img{
  min-height: 35px
}
header .container nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .container nav ul li {
  padding: 0 10px;
}
header .container nav ul li a {
  color: #1f1f1f;
  font-size: 18px;
}
header .container .lastItem ul {
  list-style: none;
}
header .container .lastItem ul li a {
  background-color: #EEAA29;
  color: #001D37;
  text-align: center;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 18px;
}
header .container .lastItem ul li a:hover {
  transform: scale(1.04);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
header .container .toggler {
  display: none;
}

/*FRONT PAGE*/
.front-page .first-section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.front-page .first-section .container {
  position: relative;
}
.front-page .first-section img {
  border-radius: 40px;
  -o-object-fit: cover;
     object-fit: cover;
}
.front-page .first-section #wpfp_1 {
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 48px !important;
  overflow: hidden;
}
.front-page .first-section #wpfp_1 .fp-ui {
  visibility: hidden !important;
}
.front-page .first-section .sectionText {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 30px 0 0;
  width: 60%;
  min-width: 270px;
  border-radius: 0 30px 0 0;
  font-family: "Birgine";
}
.front-page .first-section .sectionText p {
  font-size: 32px;
  font-family: "Rethink Sans", sans-serif;
}
.front-page .second-section .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.front-page .second-section .container div {
  flex: 0 0 44%;
}
.front-page .third-section .container {
  display: grid;
  grid-template-areas: "prva druga" "treca treca";
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
}
.front-page .third-section .container div {
  border-radius: 35px;
  overflow: hidden;
}
.front-page .third-section .deskPics div:first-child {
  grid-area: prva;
}
.front-page .third-section .deskPics div:nth-child(2) {
  grid-area: druga;
}
.front-page .third-section .deskPics div:nth-child(3) {
  grid-area: treca;
}
.front-page .third-section .deskPics div img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  transition: all 0.3s ease;
}
.front-page .third-section .deskPics div:hover img {
  transform: scale(1.05);
}

.front-page .third-section .mobPics{display: none}
.front-page .fourth-section .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.front-page .fourth-section .container p {
  font-size: 28px;
  text-align: center;
  max-width: 900px;
  font-weight: 500;
}
.front-page .fifth-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.front-page .fifth-section .container div {
  flex: 0 0 44%;
}
.front-page .fifth-section .container .leftPeta p {
  margin-bottom: 20px;
}
.front-page .fifth-section .container .leftPeta a {
  padding: 15px 30px;
  background-color: #001D37;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 30px;
}
.front-page .fifth-section .container .leftPeta a:hover {
  transform: scale(1.04);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
.front-page .fifth-section .container .rightPeta {
  border-radius: 35px;
  overflow: hidden;
}
.front-page .fifth-section .container .rightPeta img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  transition: all 0.3s ease;
}
.front-page .fifth-section .container .rightPeta img:hover {
  transform: scale(1.05);
}
.front-page .sixth-section .cards .owl-stage-outer {
  padding-bottom: 50px;
}
.front-page .sixth-section .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.front-page .sixth-section .flip-card {
  height: 550px;
  perspective: 1000px;
  cursor: pointer;
}
.front-page .sixth-section .flip-card h3 {
  text-align: center;
  margin-top: 10px;
}
.front-page .sixth-section .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
.front-page .sixth-section .flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
.front-page .sixth-section {
  /* MOBILE klik klasa */
}
.front-page .sixth-section .flip-card.active .flip-inner {
  transform: rotateY(180deg);
}
.front-page .sixth-section .flip-front,
.front-page .sixth-section .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 40px;
}
.front-page .sixth-section .flip-front img,
.front-page .sixth-section .flip-back img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.front-page .sixth-section {
  /* BACK strana */
}
.front-page .sixth-section .flip-back {
  transform: rotateY(180deg);
}
.front-page .sixth-section .flip-back .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 55, 0.7);
 /* background: url(../img/card_backface.png);*/
  background-size: cover;
  /* plava providna */
}
.front-page .sixth-section .flip-back .text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 20px;
}
.front-page .seventh-section{
padding-bottom: 0;
}

.front-page .seventh-section .container p {
  max-width: 900px;
  margin: auto;
}
.front-page .eighth-section .container {
  display: block;
}
.front-page .eighth-section .container .slide-title {
  text-align: center;
  font-size: 18px;
  margin-top: 10px;
}
.front-page .eighth-section .home-slider {
  overflow: hidden;
  width: 100%;
  background-color: #F5F3EF;
  padding: 20px 0;
}
.front-page .eighth-section .ticker-track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
}
.front-page .eighth-section .home-slider .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  white-space: nowrap;
}
.front-page .eighth-section .home-slider .item {
  padding: 0 20px;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.front-page .eighth-section .home-slider .item img {
  width: 100%;
}
.front-page .last-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.front-page .last-section .container div:first-child {
  flex: 0 0 35%;
}
.front-page .last-section .container div:first-child .btnBlue {
  margin-left: 0;
}

/*PLUGIN*/
.zgrada {
  position: relative;
  width: 48%;
  border-radius: 48px;
  overflow: hidden;
}
.zgrada .zgrada-pozadina {
  width: 100%;
  height: auto;
}
.zgrada #zgrada-click {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.zgrada .dot {
  width: 6%;
  height: 2.3%;
  cursor: pointer;
  position: absolute;
}
.zgrada #dot1 {
  top: 77%;
  left: 24%;
}
.zgrada #dot2 {
  top: 72%;
  left: 23%;
}
.zgrada #dot3 {
  top: 85%;
  left: 49%;
  transform: rotate(15deg);
  width: 8%;
}
.zgrada #dot4 {
  top: 78%;
  left: 43%;
  transform: rotate(15deg);
  width: 6.5%;
}
.zgrada #dot5 {
  top: 73.5%;
  left: 36%;
  transform: rotate(15deg);
  width: 6.5%;
}
.zgrada #dot6 {
  top: 76%;
  left: 32%;
  transform: rotate(15deg);
  width: 6%;
}
.zgrada #dot7 {
  top: 67%;
  left: 33%;
  transform: rotate(15deg);
  width: 5%;
}
.zgrada #dot8 {
  top: 52%;
  left: 24%;
  transform: rotate(15deg);
  width: 7%;
}
.zgrada #dot9 {
  top: 44%;
  left: 40%;
  transform: rotate(-1deg);
  width: 12%;
}
.zgrada #dot10 {
  top: 25%;
  left: 24%;
  transform: rotate(-16deg);
  width: 7%;
}
.zgrada #dot11 {
  top: 17.5%;
  left: 39%;
  transform: rotate(0deg);
  width: 13%;
}
.zgrada #zgradaPop {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  border-radius: 25px;
  overflow: hidden;
  color: black !important;
  margin: auto;
  width: 250px;
  min-height: 220px;
  position: absolute;
  z-index: 2;
  right: 30px;
  top: calc(50% - 110px);
}
.zgrada #zgradaPop #close {
  position: absolute;
  cursor: pointer;
  top: 10px;
  right: 20px;
  width: 20px;
}
.zgrada #zgradaPop h3 {
  padding: 20px 20px 10px 20px;
}
.zgrada #zgradaPop .stan-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 10px;
}
.zgrada #zgradaPop .stan-meta p {
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.zgrada #zgradaPop .stan-meta p:first-child{
    margin-bottom: 7px;
}
.zgrada #zgradaPop .stan-meta p img {
  width: 25px !important;
  margin-right: 10px;
}
.zgrada #zgradaPop a {
  height: 50px;
  background-color: #EEAA29;
  color: black;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*O PROJEKTU*/
.page-o-projektu .first-section {
  overflow: hidden;
  padding-bottom: 40px;
}
.page-o-projektu .first-section .container {
  position: relative;
}
.page-o-projektu .first-section .container .pageTitle {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 100px 0 0;
  border-radius: 0px 30px 0px 0px;
}
.page-o-projektu .first-section .container .pageTitle h2 {
  margin-bottom: 0;
}
.page-o-projektu .first-section .container img {
  border-radius: 30px 30px 30px 0;
}
.page-o-projektu .second-section .container {
  display: flex;
  flex-direction: column;
}
.page-o-projektu .second-section .container > div {
  display: flex;
  justify-content: space-between;
}
.page-o-projektu .second-section .container > div > div {
  flex: 0 0 48%;
}
.page-o-projektu .third-section {
  position: relative;
  padding-bottom: 0;
}
.page-o-projektu .third-section img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.page-o-projektu .third-section p {
  position: absolute;
  width: 80%;
  left: 10%;
  bottom: 20%;
  color: #F5F3EF;
  font-size: 56px;
  font-weight: 500;
}
.page-o-projektu .third-section .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
}
.page-o-projektu .fourth-section p {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
}
.page-o-projektu .fifth-section{
    padding-top: 0;
}
.page-o-projektu .fifth-section .container {
  display: flex;
  justify-content: center;
}
.page-o-projektu .fifth-section .container .icon {
  background-color: #EEAA29;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin: 0 20px;
}
.page-o-projektu .fifth-section .container .icon img {
  height: 50%;
  width: auto;
}
.page-o-projektu .fifth-section .container p {
  margin: 10px 0;
  font-weight: 500;
  text-wrap: wrap;
  width: 180px;
  text-align: center;
  margin: 10px auto 0 auto;
  font-size: 18px;
}
.page-o-projektu .fifth-section p {
  text-align: center;
  margin-top: 10px;
  margin: 40px auto;
  max-width: 900px;
}

/* LOKACIJA*/
.page-lokacija .first-section {
  overflow: hidden;
  padding-bottom: 40px;
}
.page-lokacija .first-section .container {
  position: relative;
}
.page-lokacija .first-section .container .pageTitle {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 100px 0 0;
  border-radius: 0px 30px 0px 0px;
}
.page-lokacija .first-section .container .pageTitle h2 {
  margin-bottom: 0;
}
.page-lokacija .first-section .container img {
  border-radius: 30px 30px 30px 0;
}
.page-lokacija .second-section p {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.page-lokacija .third-section .container {
  display: flex;
  justify-content: space-between;
}
.page-lokacija .third-section .container article {
  flex: 0 0 48%;
}
.page-lokacija .third-section .container article p {
  margin-bottom: 20px;
}
.page-lokacija .fourth-section img {
  border-radius: 30px;
  margin-bottom: 40px;
}
.page-lokacija .fourth-section p {
  padding-top: 40px;
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.page-lokacija .fifth-section .container {
  display: flex;
  justify-content: center;
}
.page-lokacija .fifth-section .container .icon {
  background-color: #EEAA29;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin: 0 20px;
}
.page-lokacija .fifth-section .container .icon img {
  height: 50%;
  width: auto;
}
.page-lokacija .fifth-section .container p {
  margin: 10px 0;
  font-weight: 500;
}
.page-lokacija .fifth-section p {
  text-align: center;
  margin-top: 10px;
  margin: 40px auto;
  max-width: 900px;
}

/*SADRZAJI*/
.page-sadrzaji .first-section {
  overflow: hidden;
  padding-bottom: 40px;
}
.page-sadrzaji .first-section .container {
  position: relative;
}
.page-sadrzaji .first-section .container .pageTitle {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 100px 0 0;
  border-radius: 0px 30px 0px 0px;
}
.page-sadrzaji .first-section .container .pageTitle h2 {
  margin-bottom: 0;
}
.page-sadrzaji .first-section .container img {
  border-radius: 30px 30px 30px 0;
}
.page-sadrzaji .second-section p {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.page-sadrzaji .third-section{
    padding-top: 40px;
}
.page-sadrzaji .third-section .piazzetta {
  position: relative;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  padding: 0 0 0 0;
  min-height: 712px;
}
.page-sadrzaji .third-section .piazzetta__text {
  z-index: 0;
}
.page-sadrzaji .third-section .piazzetta__text h3 {
  font-size: 42px;
  margin-bottom: 30px;
}
.page-sadrzaji .third-section .piazzetta__text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.page-sadrzaji .third-section .piazzetta__image {
  position: relative;
}
.page-sadrzaji .third-section .piazzetta__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 48px;
}
.page-sadrzaji .third-section .piazzetta__image--top {
  grid-column: 2;
  grid-row: 1;
  z-index: 0;
}
.page-sadrzaji .third-section .piazzetta__image--top img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.page-sadrzaji .third-section .piazzetta__image--bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  z-index: 0;
  border-radius: 48px 48px 0 48px;
  background-color: #F5F3EF;
  padding: 50px 50px 0 0;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}
.page-sadrzaji .third-section .piazzetta__image--bottom img {
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 32px;
  transition: 0.3s ease-out;
}
.page-sadrzaji .third-section .piazzetta__image--bottom::before {
  display: block;
  content: url(../img/zaobljenje_gore_levo.svg);
  position: absolute;
  width: 50px;
  height: 50px;
  top: -48px;
  left: 54.5%;
}
.page-sadrzaji .third-section .piazzetta__image--bottom::after {
  display: block;
  content: url(../img/zaobljenje_dole_desno.svg);
  position: absolute;
  width: 50px;
  height: 50px;
  bottom: -1px;
  right: -47px;
  left: auto;
  transform: rotate(90deg);
  z-index: 2;
}
.page-sadrzaji .fourth-section {
  padding-top: 80px;
  padding-bottom: 40px;
}
.page-sadrzaji .fourth-section .container p {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.page-sadrzaji .fifth-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-sadrzaji .fifth-section .container article:first-child {
  flex: 0 0 60%;
  border-radius: 48px;
  overflow: hidden;
}
.page-sadrzaji .fifth-section .container article:first-child img {
  transition: 0.3s ease-out;
}
.page-sadrzaji .fifth-section .container article:first-child:hover img {
  transform: scale(1.05);
}
.page-sadrzaji .fifth-section .container article:last-child {
  flex: 0 0 30%;
}
.page-sadrzaji .fifth-section .container article:last-child p {
  max-width: 500px;
}
.page-sadrzaji .sixth-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.page-sadrzaji .sixth-section .container div:first-child {
  flex: 0 0 30%;
}
.page-sadrzaji .sixth-section .container div:last-child {
  flex: 0 0 60%;
  display: flex;
  justify-content: space-between;
}
.page-sadrzaji .sixth-section .container div:last-child .icon {
  background-color: #EEAA29;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin: 0 20px;
}
.page-sadrzaji .sixth-section .container div:last-child .icon img {
  height: 50%;
  width: auto;
}
.page-sadrzaji .sixth-section .container div:last-child p {
  margin: 10px 0;
  font-weight: 500;
  text-align: center;
}
.page-sadrzaji .seventh-section .container {
  overflow: hidden;
  border-radius: 48px;
}
.page-sadrzaji .seventh-section .container img {
  transition: 0.3s ease-out;
}
.page-sadrzaji .seventh-section .container:hover img {
  transform: scale(1.05);
}

/*O NAMA*/
.page-o-nama .first-section {
  overflow: hidden;
  padding-bottom: 40px;
}
.page-o-nama .first-section .container {
  position: relative;
}
.page-o-nama .first-section .container .pageTitle {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 100px 0 0;
  border-radius: 0px 30px 0px 0px;
}
.page-o-nama .first-section .container .pageTitle h2 {
  margin-bottom: 0;
}
.page-o-nama .first-section .container img {
  border-radius: 30px 30px 30px 0;
}
.page-o-nama .second-section .container p {
  font-size: 32px;
  font-weight: 500;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}
.page-o-nama .third-section .container p {
  max-width: 900px;
  margin: auto;
}
.page-o-nama .fourth-section .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.page-o-nama .fourth-section .container .card {
  flex: 0 0 23%;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
  border-radius: 48px;
  min-width: 265px;
  margin: 20px auto;
}
.page-o-nama .fourth-section .container .card img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}
.page-o-nama .fourth-section .container .card .text {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -100%;
  left: 0;
  border-radius: 48px;
  overflow: hidden;
  background-color: rgba(0, 29, 55, 0.7);
  transition: 0.3s;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-o-nama .fourth-section .container .card .text p {
  text-align: center;
}
.page-o-nama .fourth-section .container .card .text h3 {
  margin-bottom: 10px;
}
.page-o-nama .fourth-section .container .card:hover .text {
  bottom: 0;
  padding: 5%;
}
.page-o-nama .fifth-section .container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.page-o-nama .fifth-section .container article:first-child {
  flex: 0 0 30%;
}
.page-o-nama .fifth-section .container article:first-child p {
  margin-bottom: 20px;
}
.page-o-nama .fifth-section .container article:last-child {
  flex: 0 0 40%;
  overflow: hidden;
  border-radius: 48px;
}
.page-o-nama .fifth-section .container article:last-child img {
  transition: 0.3s;
}
.page-o-nama .fifth-section .container article:last-child:hover img {
  transform: scale(1.05);
}
.page-o-nama .sixth-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-o-nama .sixth-section .container h3 {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  margin-bottom: 50px;
}
.page-o-nama .sixth-section .container div {
  display: flex;
  justify-content: center;
}
.page-o-nama .sixth-section .container div article {
  width: 180px;
  margin: 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-o-nama .sixth-section .container div article .icon {
  background-color: #EEAA29;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin: 0 20px;
}
.page-o-nama .sixth-section .container div article .icon img {
  height: 50%;
  width: auto;
}
.page-o-nama .sixth-section .container div article p {
  text-align: center;
}
.page-o-nama .sixth-section .container div p {
  margin: 10px 0;
  font-weight: 500;
}
.page-o-nama .seventh-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-o-nama .seventh-section .container article:first-child {
  border-radius: 48px;
  overflow: hidden;
  flex: 0 0 60%;
}
.page-o-nama .seventh-section .container article:first-child img {
  transition: 0.3s;
}
.page-o-nama .seventh-section .container article:first-child:hover img {
  transform: scale(1.05);
}
.page-o-nama .seventh-section .container article:last-child {
  flex: 0 0 30%;
}
.page-o-nama .seventh-section .container article:last-child h2 {
  margin-bottom: 40px;
}
.page-o-nama .eighth-section .container {
  display: flex;
  flex-direction: column;
}
.page-o-nama .eighth-section .container article:first-child {
  margin-bottom: 50px;
}
.page-o-nama .eighth-section .container article:first-child p {
  max-width: 900px;
  margin: auto;
}
.page-o-nama .eighth-section .container article:last-child {
  overflow: hidden;
  border-radius: 48px;
}

/*STANOVI*/
.page-stanovi .first-section {
  overflow: hidden;
  padding-bottom: 40px;
}
.page-stanovi .first-section .container {
  position: relative;
}
.page-stanovi .first-section .container .pageTitle {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 100px 0 0;
  border-radius: 0px 30px 0px 0px;
}
.page-stanovi .first-section .container .pageTitle h2 {
  margin-bottom: 0;
}
.page-stanovi .first-section .container img {
  border-radius: 30px 30px 30px 0;
}
.page-stanovi .second-section p {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.page-stanovi .fourth-section p {
  font-size: 32px;
  font-weight: 500;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.stanovi-archive {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stanovi-archive .container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
}
.stanovi-archive .container .stan-filter {
    position:sticky;
  background-color: white;
  padding: 20px 30px 20px 20px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  width: 300px;
  margin-left: 0;
  margin-right: auto;
  align-self: flex-start;
  top: 15vh;
}
.stanovi-archive .container .stan-filter .filter-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.stanovi-archive .container .stan-filter .filter-group label{
    font-size: 16px;
}
.stanovi-archive .container .stan-filter button {
  padding: 15px 20px;
  text-align: center;
  color: White;
  background-color: #4F88FE;
  border: none;
  margin-top: 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
}
.stanovi-archive .container > div {
  flex: 0 0 70%;
}
.stanovi-archive .filter {
  max-width: 250px;
}
.stanovi-archive .stan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
  /* isti razmak horizontalno i vertikalno */
}
.stanovi-archive .stan-grid .stan-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 25px;
  overflow: hidden;
  color: black !important;
  margin: auto;
  min-width: 300px;
  max-width: 316px;
  min-height: 430px;
}
.stanovi-archive .stan-grid .stan-card .features {
  display: flex;
  align-items: center;
  width: 90%;
  margin: 20px auto 10px auto;
  padding: 0 20px;
  font-size: 16px;
}
.stanovi-archive .stan-grid .stan-card .features .status-badge {
  position: relative;
  margin-right: 40px;
}
.stanovi-archive .stan-grid .stan-card .features .status-badge::before {
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  left: -20px;
  top: 5.5px;
}
.stanovi-archive .stan-grid .stan-card .features .status-dostupan::before, .stanovi-archive .stan-grid .stan-card .features .status-available::before, .stanovi-archive .stan-grid .stan-card .features .status-dostupan-sr::before  {
  background-color: green;
}
.stanovi-archive .stan-grid .stan-card .features .status-nedostupan::before, .stanovi-archive .stan-grid .stan-card .features .status-sold::before {
  background-color: #9e0d19;
}
.stanovi-archive .stan-grid .stan-card .features .opremljen::before {
  background-color: #5089ff;
}
.stanovi-archive .stan-grid .stan-card .features .ne-opremljen::before {
  background-color: #B3BBC3;
}
.stanovi-archive .stan-grid .stan-card h3 {
  padding-left: 20px;
  margin-bottom: 10px;
}
.stanovi-archive .stan-grid .stan-card .stan-thumb {
  background-color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 250px;
  max-height: 250px;
}
.stanovi-archive .stan-grid .stan-card .stan-thumb img {
  height: 90%;
  width: auto;
  margin: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.stanovi-archive .stan-grid .stan-card .stan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
}
.stanovi-archive .stan-grid .stan-card .stan-meta p {
  display: flex;
  align-items: center;
  margin-right: 10px;
  padding-left: 10px;
}
.stanovi-archive .stan-grid .stan-card .stan-meta p img {
  width: 25px;
  margin-right: 10px;
}
.stanovi-archive .stan-grid .stan-card a {
  height: 70px;
  background-color: #EEAA29;
  color: black;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}



#load-more-stanovi{
  background-color: #eeaa29;
  padding: 10px 15px; 
  display: block;
  margin: 40px auto 0 auto;
  width: 220px;
  border: none;
  border-radius: 25px;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
}

/*SINGLE STAN*/
.stan-container > div {
  display: flex;
  justify-content: space-between;
}
.stan-container > div section {
  flex: 0 0 45%;
}

.stan-container .info {
  justify-content: flex-start;
}
.stan-container .info p {
  margin-right: 20px;
}

.stan-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: zoom-in;
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
}

.stan-main-image img {
  width: 100%;
  height: 100%;
   border-radius: 20px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.2s ease;
  background: #fff;
}

.stan-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.img-btn {
  padding: 8px 14px;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  border-radius: 15px;
}

.img-btn.active {
  background: #EEAA29;
}

.prostorije h3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 15px;
}

.prostorija-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 15px;
  border-bottom: 1px solid #B9B9B9;
}

.ukupno {
  margin-top: 20px;
  padding: 15px;
  background: #DDEAFF;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  border-radius: 15px;
}

.dodatno {
  margin-top: 50px;
  padding: 0 15px;
}

.dodatno-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-top: 10px;
}

.dodatno-item {
  background: #f3f3f3;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 14px;
  text-wrap: nowrap;
}
.dodatno-item span {
  display: block;
  width: 30px;
  margin-right: 7px;
}

/*GALERIJA*/
.page-galerija {
  padding: 60px 0;
}

.custom-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-item {
  display: block;
  border-radius: 28px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Veće slike */
.gallery-item:nth-child(3) {
  grid-row: span 2;
}

.gallery-item:nth-child(6) {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .custom-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
}
@media (max-width: 600px) {
  .custom-gallery {
    grid-template-columns: 1fr;
  }
}
/*KONTAKT*/
.page-kontakt .first-section {
  overflow: hidden;
  padding: 0;
}
.page-kontakt .first-section .container {
  position: relative;
}
.page-kontakt .first-section .container .pageTitle {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #F5F3EF;
  padding: 20px 100px 0 0;
  border-radius: 0px 30px 0px 0px;
}
.page-kontakt .first-section .container .pageTitle h2 {
  margin-bottom: 0;
}
.page-kontakt .first-section .container img {
  border-radius: 30px 30px 30px 0;
}
.page-kontakt .second-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-kontakt .second-section .container article {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-kontakt .second-section .container article:first-child {
  align-items: stretch;
  max-width: 420px;
}
.page-kontakt .second-section .container article:first-child .links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 50px;
}
.page-kontakt .second-section .container article:first-child .links a {
  display: flex;
  align-items: center;
  color: black;
  font-weight: 500;
}
.page-kontakt .second-section .container article:first-child .links a img {
  width: 30px;
  margin-right: 40px;
  transition: .2s;
}
.page-kontakt .second-section .container article:first-child .links a img:hover{
  transform: translateY(-5px);
}
.page-kontakt .second-section .container article:first-child .links a:last-child{
  text-decoration: underline;
}
.page-kontakt .second-section .container article:first-child .links a:last-child img{
  margin-right: 5px;
}
.page-kontakt .second-section .container article:last-child {
  align-items: stretch;
}
.page-kontakt .second-section .container article:last-child .contactForm {
  width: 100%;
}

.page-kontakt .second-section .container article:last-child .contactForm label{
    align-items: center !important;
}

/*FOOTER*/
footer {
  background: linear-gradient(to top, #001d37, #1e3d60, #395984);
  padding: 50px 0;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
footer .container article {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
}
footer .container article:first-child img {
  margin-bottom: 30px;
}
footer .container article:first-child a,
footer .container article:first-child p {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #F5F3EF;
}
footer .container article:first-child a{
  text-decoration: underline;
}
footer .container article:first-child a span,
footer .container article:first-child p span {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
footer .container article:first-child a span img,
footer .container article:first-child p span img {
  width: 20px;
}
footer .container article:first-child a:last-child,
footer .container article:first-child p:last-child {
  padding: 10px 20px;
  border: 2px solid #F5F3EF;
  border-radius: 25px;
  text-align: center;
  transition: all 0.3s ease;
}
footer .container article:first-child a:last-child:hover,
footer .container article:first-child p:last-child:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
}
footer .container article:first-child a:last-child {
  width: 220px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .container article:nth-child(2) p {
  color: #F5F3EF;
  font-size: 20px;
  margin-bottom: 20px;
}
footer .container article:nth-child(2) div {
  width: 80%;
  margin-left: auto;
}
footer .container article:nth-child(2) div:first-child {
  margin-bottom: 30px;
  border-bottom: 1px solid #F5F3EF;
  padding-bottom: 30px;
}
footer .container article:last-child {
  display: none;
}

/*MEDIA SCREEN*/
@media (max-width: 1300px) {
  #navbar {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: #F5F3EF;
    padding: 5vw;
    position: absolute;
    z-index: 5;
    transition: 0.3s;
  }
  #navbar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50vh;
  }
  #navbar nav ul li a {
    color: black;
  }
  #navbar .lastItem {
    margin-top: 5vh;
  }
  #navbar .lastItem ul {
    list-style: none;
  }
  #navbar .lastItem ul li a {
    background-color: #EEAA29;
    color: #001D37;
    text-align: center;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 18px;
    display: inline-block;
  }
  #navbar.active {
    left: 0;
  }
  header {
    height: 80px;
  }
  header .container nav {
    display: none;
  }
  header .container .lastItem {
    display: none;
  }
  header .container .toggler {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  header .container .toggler .bar {
    width: 40px;
    height: 5px;
    border-radius: 5px;
    background-color: #001D37;
    transition: 0.3s;
  }
  header .container .toggler.active .bar1 {
    transform: rotate(-45deg) translate(-5px, 0px);
  }
  header .container .toggler.active .bar2 {
    opacity: 0;
  }
  header .container .toggler.active .bar3 {
    transform: rotate(45deg) translate(-4px, 0px);
  }
  .front-page .container .sectionText {
    background-color: rgba(245, 243, 239, 0.7);
    padding: 20px;
    width: 100%;
  }
  .front-page .container .sectionText:after {
    display: none;
  }
  .front-page .container .sectionText::before {
    display: none;
  }
  .page-template .first-section .container .zaobljenje {
    background-color: rgba(245, 243, 239, 0.7);
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding-left: 20px;
  }
  .page-template .first-section .container .zaobljenje::after, .page-template .first-section .container .zaobljenje::before {
    display: none;
  }
  .ponuda .container {
    flex-wrap: wrap;
  }
  .ponuda .container a {
    min-width: 330px;
    align-self: center;
    margin: 20px auto;
  }
  .ponuda .container a > div {
    max-height: 380px;
  }
  .ponuda .container a > div img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
@media (max-width: 1000px) {
  .page-o-projektu .third-section p {
    font-size: 22px;
  }
  .page-o-projektu .fifth-section .container {
    flex-wrap: wrap;
  }
  .page-o-projektu .fifth-section .container article {
    margin: 20px auto;
  }
  .page-o-nama .fifth-section .container article:first-child {
    flex: 0 0 48%;
  }
  .page-kontakt .container {
    flex-direction: column;
  }
  .page-kontakt .container article:first-child {
    margin-bottom: 40px;
  }
  .page-kontakt .container article:first-child .links {
    justify-content: center !important;
  }
  .single-stan .container div:last-child {
    flex-direction: column;
  }
  .single-stan .container div:last-child .stan-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .single-stan .container div:last-child .stan-buttons button {
    min-width: 170px;
    margin: auto;
  }
  .single-stan .container div:last-child .stan-info .dodatno-items {
    flex-direction: row;
  }
}
@media (max-width: 850px) {
  .front-page .last-section .container {
    flex-direction: column;
  }
  .front-page .last-section .container .zgrada {
    width: 100%;
    margin-top: 50px;
  }
}
@media (max-width: 768px) {
  .popUp{
    flex-direction: column;
    top: auto;
    bottom: 0;
    width: 90%;
    left: 5%;
    transform: translate(0, 92%);
  }

  .popUp .cta{
    display: none;
    transform: rotate(-90deg) translateX(-130px);
    border-radius:0 20px 20px 0 ;

  }

  .popUp .cta1{
    display: block;
    padding: 15px 25px;
    border-radius: 20px 20px 0 0;
    background-color: #eeaa29;
    text-align: center;
    cursor: pointer;
  }

  .popUp .contactForm{
    width: 100%;
  }

 

  .popUp .cta:hover{
    transform: rotate(-90deg) translateX(-130px);
  }

  .popUp.active{
    transform: translate(0, 0%);
  }
  .page-template .first-section .container {
    display: flex;
    flex-direction: column-reverse;
  }
  .page-template .first-section .container .zaobljenje {
    position: static;
   
  }
  .page-template .first-section .container img {
    border-radius: 30px;
  }
  .front-page .btnBlue,
  .front-page .btnWhite {
    margin: auto;
    align-items: center;
  }
  .front-page .btnBlue::after,
  .front-page .btnWhite::after {
    display: none;
  }
  .front-page .first-section .container {
    display: flex;
    flex-direction: column-reverse;
  }
  .front-page .first-section .container .sectionText {
    position: static !important;
    padding-left: 0;
  }
  .front-page .second-section {
    padding-top: 0;
  }
   .front-page .second-section p{
    margin-bottom: 20px;
   }
  .front-page .second-section .container {
    flex-direction: column;
  }
  .front-page .third-section .deskPics {
    display: none;
   
  }

   .front-page .third-section .mobPics {
    display: block !important;
    width: 90%;
    margin: auto;
   
  }
  .front-page .fifth-section .container {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .front-page .fifth-section .container .rightPeta{
      padding-bottom: 40px;
  }
  .front-page .fifth-section .container p :last-child {
    display: flex;
    justify-content: center;
  }
  .front-page .sixth-section .flip-card {
    max-width: 90%;
    margin: auto;
  }
  .front-page .sixth-section .flip-card .flip-inner {
    transform: rotateY(180deg);
  }
  .front-page .sixth-section .flip-card .flip-inner .flip-back .overlay {
    height: 50%;
    bottom: 0;
    top: auto;
    border-radius: 25px 25px 0 0;
  }
  .front-page .sixth-section .flip-card .flip-inner .flip-back .text {
    align-items: center;
    height: 50%;
    bottom: 0;
    top: auto;
  }
  .front-page .last-section .container {
    flex-direction: column-reverse;
  }

  .front-page .last-section .container .zgrada {margin-bottom: 40px; margin-top: 0;}
  .front-page .last-section .container div:first-child p:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .front-page .last-section .container div:first-child p:last-child .btnBlue {
    margin: auto;
  }
  .front-page .last-section .container div:first-child p:last-child .btnBlue::after {
    display: none;
  }
  .page-o-projektu .second-section .container > div {
    flex-direction: column;
  }
  .page-o-projektu .fourth-section .container p {
    font-size: 24px;
  }
  .page-lokacija .second-section .container p{
    font-size: 24px;
  }
  .page-lokacija .third-section .container {
    flex-direction: column;
  }
  .page-lokacija .fourth-section .container p{
    font-size: 24px;
  }
   .page-sadrzaji .second-section {padding-top: 40px;}
  .page-sadrzaji .second-section .container p{
    font-size: 24px;
  }
  .page-sadrzaji .fourth-section .container p{
    font-size: 24px;
  }
  .page-sadrzaji .third-section {
    padding-top: 0;
  }
  .page-sadrzaji .third-section .piazzetta {
    display: flex;
    flex-direction: column;
  }
  .page-sadrzaji .third-section .piazzetta .piazzetta__image--bottom {
    border-radius: 0 30px 0 30px;
    padding: 25px 25px 0 0;
    width: 60%;
    height: 21%;
  }
  .page-sadrzaji .third-section .piazzetta .piazzetta__image--bottom img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .page-sadrzaji .third-section .piazzetta .piazzetta__image--bottom::before {
    left: -1px !important;
  }
  .page-sadrzaji .fifth-section{
    padding-bottom: 0;
  }
  .page-sadrzaji .fifth-section .container {
    flex-direction: column-reverse;
  }
  .page-sadrzaji .fifth-section .container article:first-child {
    margin-top: 20px;
    width: 100%;
  }
  .page-sadrzaji .fifth-section .container article:last-child p {
    max-width: 100%;
  }
  .page-sadrzaji .sixth-section .container {
    flex-direction: column;
  }
  .page-sadrzaji .sixth-section .container div:last-child {
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .page-sadrzaji .sixth-section .container div:last-child article {
    margin: 20px auto;
  }
  .page-sadrzaji .sixth-section .container div:last-child article p {
    text-wrap: wrap;
    max-width: 180px;
    margin: 10px auto 0 auto;
    text-align: center;
  }

  .page-o-nama .second-section .container p{
    font-size: 24px;
  }
  .page-o-nama .third-section .container p{
    font-size: 20px;
    text-align: left;
  }
  .page-o-nama .fourth-section .container .card .text {
    height: 80%;
    bottom: 0;
    font-size: 16px;
    padding: 10px;
    border-radius: 15px;
  }
  .page-o-nama .fifth-section .container {
    flex-direction: column;
  }
  .page-o-nama .fifth-section .container h2 {
    text-align: center;
  }

  .page-o-nama .sixth-section .container h3{
    text-align: center;
  }
  .page-o-nama .sixth-section .container {
    align-items: stretch;
  }
  .page-o-nama .sixth-section .container > div {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .page-o-nama .sixth-section .container > div article {
    margin: 20px auto;
  }
  .page-o-nama .seventh-section .container {
    flex-direction: column;
  }
  .page-o-nama .seventh-section .container article {
    flex: 0 0 48% !important;
  }
  .page-o-nama .seventh-section .container article:first-child {
    margin-bottom: 40px;
  }
  .page-o-nama .seventh-section .container article:last-child h2 {
    text-align: center !important;
  }
  .page-o-nama .eighth-section .container p{text-align: left;}
  .page-kontakt .container p{font-size: 20px; !important}
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .container article {
    margin: 20px 0;
  }
  footer .container article:first-child a:last-child {
    display: none;
  }
  footer .container article:nth-child(2) div {
    width: 100%;
    margin-left: 0;
  }
  footer .container article:last-child {
    display: flex;
    width: 100%;
  }
   footer .container article:nth-child(2) img{
    max-width: 300px !important;
   }
  footer .container article:last-child a {
    width: 100% !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid #F5F3EF;
    border-radius: 25px;
    text-align: center;
    color: #F5F3EF;
  }

  
}
@media (max-width: 500px) {
  h1 {
    font-size: 48px !important;
  }
  .front-page .first-section {
    padding: 0;
  }
  .front-page .first-section .sectionText p, .big {
    font-size: 24px !important;
  }
  .front-page .first-section #wpfp_1 {
    border-radius: 15px !important;
  }
  .front-page .third-section {
    padding: 0;
  }
  .front-page .third-section .container div {
    border-radius: 15px;
  }
  .front-page .fourth-section {
    padding-bottom: 0;
  }
  .front-page .fifth-section .container .rightPeta {
    margin-top: 40px;
    border-radius: 15px;
  }
  .front-page .sixth-section .cards .flip-front,
  .front-page .sixth-section .cards .flip-back {
    border-radius: 25px !important;
  }
  .front-page .sixth-section .cards .flip-front .overlay,
  .front-page .sixth-section .cards .flip-back .overlay {
    border-radius: 5px 5px 0 0 !important;
  }
  .front-page .eighth-section .container .ticker-track .item {
    max-width: 180px;
  }
  .btnBlue,
  .btnWhite {
    max-width: 90% !important;
    width: 100%;
  }
  .page-template .first-section {
    padding: 0 !important;
  }
  .page-template .first-section img {
    border-radius: 15px !important;
  }
  
  .page-o-projektu .fifth-section .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    grid-gap: 20px;
  }
  .page-o-projektu .fifth-section .container article {
    margin: 0;
  }
  .page-o-projektu .fifth-section .container .icon {
    width: auto;
    max-width: none;
    aspect-ratio: 1/1;
    height: auto;
    padding: 0;
    margin: 0;
  }
  .ponuda .container div {
    border-radius: 15px !important;
  }
  .ponuda .container .sixP {
    max-width: 100% !important;
  }
  .page-lokacija .second-section {
    padding-bottom: 0;
  }
 
  .page-lokacija .third-section {
    padding-bottom: 0;
  }
  .page-lokacija .fourth-section .container .featured-image img {
    border-radius: 15px;
  }
  .page-lokacija .fourth-section .container p {
    padding-top: 0;
  }
  .page-lokacija .fifth-section {
    padding: 0;
  }
  .page-sadrzaji .second-section .container p {
    font-size: 24px;
  }
  .page-sadrzaji .third-section .piazzetta {
    padding-top: 0;
    min-height: auto;
  }
  .page-sadrzaji .third-section .piazzetta .piazzetta__image--top img {
    border-radius: 15px;
  }
  .page-sadrzaji .third-section .piazzetta .piazzetta__image--bottom {
    bottom: 0;
  }
  .page-sadrzaji .fourth-section {
    padding: 0;
  }
 
  .page-sadrzaji .fifth-section {
    padding-bottom: 0;
  }
  .page-sadrzaji .fifth-section .container article:first-child {
    border-radius: 15px;
  }
  .page-sadrzaji .sixth-section .container div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    grid-gap: 20px;
  }
  .page-sadrzaji .sixth-section .container div:last-child article {
    margin: 0;
  }
  .page-sadrzaji .sixth-section .container div:last-child article .icon {
    height: auto;
    width: auto;
    max-width: auto;
    min-width: auto;
    aspect-ratio: 1/1;
  }
  .page-sadrzaji .seventh-section .container {
    border-radius: 15px;
  }
  .page-o-nama .second-section {
    padding-bottom: 0;
  }
 
  .page-o-nama .fourth-section {
    padding-top: 0;
  }
  .page-o-nama .fourth-section .container .card {
    flex: initial !important;
    border-radius: 15px;
  }
  .page-o-nama .fifth-section .container article:last-child {
    border-radius: 15px;
  }
  .page-o-nama .sixth-section .container h3 {
    text-align: center;
  }
  .page-o-nama .seventh-section .container article:first-child {
    border-radius: 15px;
  }
  .page-o-nama .eighth-section {
    padding-bottom: 0;
  }
  .page-o-nama .eighth-section .container article:last-child {
    border-radius: 15px;
  }
  .page-stanovi .second-section p {
    font-size: 28px;
  }
  .page-stanovi .stanovi-archive .container {
    flex-direction: column;
  }
  .page-stanovi .stanovi-archive .container > div {
    flex: initial;
    width: 100%;
    margin-bottom: 50px;
  }
  .page-stanovi .stanovi-archive .container form {
    width: 90%;
    margin: auto;
    position: static;
    margin-bottom: 50px;
  }
  .page-stanovi .fourth-section {
    padding-top: 0;
  }
  .page-stanovi .fourth-section .container p {
    font-size: 28px;
  }
  .single-stan .container .dodatno-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    grid-gap: 20px;
  }
  .single-stan .container .dodatno-items .dodatno-item {
    flex-direction: row !important;
  }
}

@media (max-width: 450px) {

  body{
    font-size: 20px;
  }
  .popUp {
    max-width: 360px;
  }
 
  .site-header .container .logo{
    max-width: 250px;
  }
}