    body {
      margin: 0;
      padding: 0;
      min-height: 100vh;
      font-family: sans-serif;
background:url(https://www.bojanke.com/pozadina/pozadina_2025_prolece.jpg);
background-position:center;
background-position:top;
background-size:cover;
background-attachment:fixed;
}

.galerija-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 30px;
  justify-items: center;
  max-width: 80%;
  margin: 0 auto;
}

.kartica {
  width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: visible;

  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: #fff;
}

    .kartica img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer;
transition: transform 0.3s ease;
}

.kartica img:hover {
  transform: scale(1.03);
}

@media (max-width: 1200px) {
  .galerija-container {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 900px) {
  .galerija-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 600px) {
  .galerija-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
@media (max-width: 1000px) {
  .galerija-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .galerija-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}


@media (max-width: 1300px) {
  .traka-info {
  font-size: 10px !important;
  }
}

@media (max-width: 900px) {
  .traka-info {
  font-size: 10px !important;
   }
}

@media (max-width: 600px) {
  .traka-info {
  font-size: 10px !important;
  }
}

@media (max-width: 1000px) {
  .traka-info {
  font-size: 10px !important;
  }
}

@media (max-width: 600px) {
  .traka-info {
  font-size: 10px !important;
  }
}


.traka-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 12px;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .galerija-container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}


    .lajk {
      color: #ccc;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    .lajk.aktivno {
      color: red;
      transform: scale(1.4);
    }
    .broj-lajkova {
      margin-left: 5px;
    }
    .paginacija {
      text-align: center;
      margin: 20px 0;
    }
    .paginacija a {
      margin: 0 5px;
      padding: 8px 12px;
      background: #eee;
      color: #333;
      text-decoration: none;
      border-radius: 4px;
    }
    .paginacija a.active {
      background: #333;
      color: #fff;
    }
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.85);
      justify-content: center;
      align-items: center;
    }
/*.modal img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
  display: block;
  margin: auto;
}*/
    .zatvori {
      position: absolute;
      top: 20px; right: 30px;
      font-size: 30px;
      color: white;
      cursor: pointer;
    }
.strelica {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  background: rgba(0,0,0,0.4);
  padding: 10px 15px;
  border-radius: 8px;
  z-index: 10000;
}

.strelica.levo {
  left: 20px;
}

.strelica.desno {
  right: 20px;
}

.desnoo {
    position: fixed;
    height: 100%;
    right:0px;
    z-index:2;

-webkit-transform: scaleX(-1);
  transform: scaleX(-1);

}

.desnoo {
    position: fixed;
    height: 100%;
    right:0px;
    z-index:-10;

-webkit-transform: scaleX(-1);
  transform: scaleX(-1);

}

.levoo {
    position: fixed;
    height: 100%;
    left:0px;
    z-index:-10;

}

.dobrodosli {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin-top: 50px;
  color: #333;
}

.datum {
  text-align: center;
  font-size: 20px;
  color: #666;
  margin-bottom: 10px;
  color: #000000;
  font-weight: normal;
}


.futer {
  text-align: center;
  font-size: 16px;
  font-style: bold;
  color: #ffffff;
  padding: 20px;
  background: #ff0000;
  border-top: 1px solid #ccc;
  margin-top: 40px;
}

.dobrodosli {
  font-size: clamp(3rem, 5vw, 4rem); /* automatski skalira između 2rem i 3rem */
  text-align: center;
  color: #ff0000;
  font-weight: bold;
  max-width: 100%;
  font-family: 'Fjalla One', sans-serif;
  font-family: 'Dancing Script', cursive;
  text-shadow: 1px 0px 2px #000000;
}


@media screen and (max-width: 1280px)  {.drustvene-mreze {
    display: none;

}
}

@media screen and (max-width: 600px) {.drustvene-mreze {
    display: none;
}
}

.drustvene-mreze {
  position: fixed;
  bottom: 0px !important;
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
/*  -webkit-filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.43));
  filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.43));*/
  z-index: 2;
line-height: 0.5 !important;
font-weight: bold !important;
}

.drustvene-mreze a:hover {
  background-color: #ff0000;
}

.drustvene-mreze a {
  display: block;
  text-align: center;
padding: 10px;
  transition: all 0.3s ease;
  color: white !important;
  font-size: 20px !important;
}

.pocetnaonlajnbojanke {
  color: #000000;
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 40px;
  font-weight: bold;
  z-index: 9999;
  cursor: pointer;
line-height: 0.5 !important;
font-weight: bold !important;
}

.pocetnaonlajnbojanke:hover {
  color: #FF0000;
  cursor: pointer;
}

.zatvaranjeonlajnbojanke {
  color: #000000;
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 40px !important;
  font-weight: bold !important;
  z-index: 9999;
  cursor: pointer;
line-height: 0.5 !important;

}

.zatvaranjeonlajnbojanke:hover {
  color: #FF0000;
  cursor: pointer;
}

.pocetna {
background: #000000;
display: none;
}
    
.facebook {   
background: #3b5998;   
color: white;  
line-height: 0.5 !important;
font-weight: bold !important;
}         
.twitter {   
color: white;   
background: #00acee;   
line-height: 0.5 !important;
font-weight: bold !important;
}   
.instagram {   
background: #3f729b;   
color: white;   
line-height: 0.5 !important;
font-weight: bold !important;
}         
.youtube {   
color: white;   
background: #c4302b;    
line-height: 0.5 !important;
font-weight: bold !important;
}  
.viber {   
color: white;   
background: #665CAC;   
line-height: 0.5 !important;
font-weight: bold !important;
}  

.whatsapp {   
color: white;   
background: #25D366;   
line-height: 0.5 !important;
font-weight: bold !important;
}  


.pocetna {
background: #000000;
  color: white !important;
  z-index: 2;
line-height: 0.5 !important;
font-weight: bold !important;
}

.facebook {
  background: #3B5998;
  color: white !important;
 z-index: 2;
line-height: 0.5 !important;
font-weight: bold !important;
}

.twitter {
  background: #55ACEE;
  color: white !important;
  z-index: 2;
line-height: 0.5 !important;
font-weight: bold !important;
}

.viber {
  background: #665CAC;
  color: white !important;
 z-index: 2;
line-height: 0.5 !important;
font-weight: bold !important;
}

.whatsapp {   
color: white !important;
background: #25D366;   
  z-index: 2;
line-height: 0.5 !important;
font-weight: bold !important;
}  

@media screen and (max-width: 1280px) {
  .topnav {
    overflow: hidden;
    background-color: #333333 !important;
    color: #ffffff !important;
    top: 0;
    z-index: 105;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, Helvetica, sans-serif !important;
  }
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: left;
 z-index: 5;
    display: block;

  }
#menibojankelevo {
	display: none;
}
#menibojanke {
	display: none;
}
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
 z-index: 5;
    left: 105px;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
#glavniheder {
margin-top: 0px;
}

.topnav {
position: fixed;
  overflow: hidden;
  background-color: #333333 !important;; 
  color: #ffffff !important;  
  top: 0;
 z-index: 105;
  width: 100%;
  text-align:center;
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, Helvetica, sans-serif !important;
}
   
.topnav a {
  float:left;
  display:block;
  color: #ffffff !important;  
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
 z-index: 105;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif !important;
}

.topnav a:hover {
  background-color: #ffcc00;  
  color: #fffff !important;  
  font-size: 18px;
  font-weight: bold;
 z-index: 105;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif !important;
}

.topnav a:link {
  background-color: #333333 !important;;
  color: #ffffff !important;  
  font-size: 18px;
  font-weight: bold;
 z-index: 105;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif !important;
}

.topnav a:active {
  background-color: #333333 !important;;  
  color: #ffffff !important;  
  font-size: 18px;
  font-weight: bold;
 z-index: 105;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif !important;
}

.topnav a:visited {
  color: #eaeaea;
  font-size: 18px;
  font-weight: bold;
 z-index: 105;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif !important;
}

.active {
  background-color: #ff0000 !important;;
  color: white;
}

.topnav .icon {
  display: none;
}
#menibojankelevo {
	display: none;
}
#menibojanke {
	display: none;
}
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: left;
 z-index: 105;
    display: block;

  }
#menibojankelevo {
	display: none;
}
#menibojanke {
	display: none;
}
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
 z-index: 105;
    left: 105px;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
@media screen and (min-width: 1281px),
@media screen and (min-width: 1920px),
 {

#menibojankelevo {
	display: none;
}
.topnav .icon {
  display: none;
}
}
.kartica {
  position: relative;
}

@keyframes srceLeti {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(0.5);
    opacity: 0;
  }
}

.srce-eksplozija span.srce-leti {
  position: absolute;
  font-size: 1.5rem;
  animation: srceLeti 1.2s ease-out forwards;
  pointer-events: none;
  transform-origin: center;
}


.srce-eksplozija {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.srce-eksplozija span {
  pointer-events: none;
}


/*.srce-eksplozija {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  animation: nestani 1.2s ease-out forwards;
}

.srce-eksplozija span {
  position: absolute;
  font-size: 48px;
  color: #ff4d4d;
  animation: srceLeti 1.2s ease-out forwards;
  transform-origin: center;
}*/

@keyframes srceLeti {
  0% {
    transform: scale(0.5) translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) translate(var(--x), var(--y)) rotate(360deg);
    opacity: 0;
  }
}

@keyframes nestani {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.lajkovano-tekst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #ff4d4d;
  font-weight: bold;
  animation: fadeTekst 1.2s ease-out forwards;
  pointer-events: none;
  z-index: 11;
}

@keyframes fadeTekst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeInModal 0.4s ease-out;
}

/*.modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}*/


.zatvori, .strelica {
  position: absolute;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.zatvori {
  top: 20px;
  right: 30px;
}

.strelica.levo {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.strelica.desno {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.modal-lajk {
position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5.5rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.modal-lajk:hover {
  transform: translateX(-50%) scale(1.2);
  color: #ff3366;
}
#modalBrojLajkova {
  position: absolute;
  bottom: 80px;
  right: 30px;
  font-size: 1.2rem;
  color: white;
}
#modalBrojLajkova {
  color: white;
  font-size: 1.2rem;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  padding: 5px 10px;
  border-radius: 6px;
}
