

@font-face {
  font-family: 'Kommuna';
  src: url('./fonts/KommunaNormal1.10.woff') format('woff'),
       url('./fonts/KommunaNormal1.10.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kommuna';
  src: url('./fonts/KommunaNormalBold1.10.woff') format('woff'),
       url('./fonts/KommunaNormalBold1.10.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kommuna';
  src: url('./fonts/KommunaNormalBlack1.10.woff') format('woff'),
       url('./fonts/KommunaNormalBlack1.10.otf') format('opentype');
  font-weight: 900; /* 900 je uobičajena vrednost za 'black' težinu */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gramatika';
  src: url('./fonts/GramatikaRegular1.00.woff') format('woff'),
       url('./fonts/GramatikaRegular1.00.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gramatika';
  src: url('./fonts/GramatikaBold1.00.woff') format('woff'),
       url('./fonts/GramatikaBold1.00.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GramatikaShifted';
  src: url('./fonts/GramatikaShifted1.00.woff') format('woff'),
       url('./fonts/GramatikaShifted1.00.woff') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KommunaNarrow';
  src: url('./fonts/KommunaNarrow.woff') format('woff'),
       url('./fonts/KommunaNarrow.otf') format('opentype');
  font-weight: 900; /* 900 je uobičajena vrednost za 'black' težinu */
  font-style: normal;
  font-display: swap;
}


*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  
}

::selection {
  background-color: #0000FF; /* Primer boje pozadine za selektovani tekst */
  color: #ff96c8; /* Primer boje teksta kada je selektovan */
}

html {
  font-size: 150%;
  line-height: 1.5;
  color: #333333;
 

}

body {
  font-family: 'Kommuna',serif;
  /* font-family: 'Satoshi', sans-serif; */
 /*  background-image: url(img/comp\ 1_1.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed; */
  background-color: #FFFEFE;
  
} 

a {
  font-size: 0.8rem;
  font-weight: 400;
  
}



h1 {
  font-family: 'Gramatika', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  
}

h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  font-weight: 400;
}

figcaption {
  font-size: 0.8rem;
  font-weight: 400;
}

/* Specifično pravilo za nav-bottom i njegove pod-elemente */
.nav-bottom,
.nav-bottom-container,
.nav-bottom .portfolio ul,
.nav-bottom .portfolio ul li,
.nav-bottom .contact ul,
.nav-bottom .contact ul li,
.nav-bottom .nav-link {
  font-family: 'Gramatika', sans-serif;
}

.mobile-nav,
.menu-container .menu-btn {
  font-family: 'Gramatika', sans-serif;
  color: #333333;
}




:root {
  --nav-padding: 60px;
  --font-size-small: 0.875rem;
  --font-size-medium: calc(0.875rem * 1.3);
  --font-size-large: calc(0.875rem * 1.4);
  --font-size-xlarge: calc(0.875rem * 1.5);
}







/*Standard//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/




/*NAV BAR //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/




header  {
  font-family: 'Gramatika',Sans-Serif;        
  width: 100%;
  background-color: #FEFEFF;
  /* height: var(--nav-padding) 0;
  background-image: url(img/comp\ 1_1.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; */
  color: #1D1C1C;
  border-bottom: 0.5px solid #A9A9A9;

  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  
}




.nav-linktop {
  padding: 0.62rem;
  color: #333333;
  text-decoration: none;
  
}

.nav-linktop:hover {
 /* text-decoration-line: underline;
  color: #747474; */
  text-decoration: underline;
  
}



.nav-container {
  width: 1500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.nav-container .nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  
}

 .logo {
  position: relative;
}  

.logo2 a {
  list-style-type: none;
} 

.logo2 .logo-text {
  
  color: #333333;
}

.logo2 .logo-text:hover {
  font-weight: 900;
  
}


.upAni {
	top: -70px;
}

/*NAV BAR /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


















/*HERO //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

  
 .content {
  /* background: linear-gradient(180deg, #E4E4DE, #FFFEFE, #ffffff); */
  height: 100dvh;
  place-content: center;
  
  
}



  .hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  .hero {
    width: 1500px;
    display: grid;
    flex-direction: column;
   
  }

 
  .hero_1 h1 {
    font-family: 'Gramatika';
  }
  
  
  .hero_1,
  .hero_2 {
    display: grid;
    grid-auto-flow: column;
    align-items: start;
  }
  
  .hero_1 {
    
    
    position: relative;
    padding-bottom: 50px;
    /* border-bottom: 1px solid #A9A9A9; */
}


.hero_1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    height: 1px; 
    background-color: #A9A9A9;
}

  .hero_2 {
    position: relative;
    padding-top: 50px;
    display: grid;
    grid-template-columns: 1fr 3fr;
  
  }

/*   .hero_2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5%; 
    height: 5px; 
    background-color: #b8b4b4;
}
 */
 
  .language {
    display: grid;
    justify-content: end;
    align-items: start;
    padding-right: 0.62rem;
    gap: 2rem;
  }
  
  /* Reset styles for buttons */
  .language button {
    all: unset;
    display: inline-block;
    cursor: pointer;
    color: #333333;
    text-align: center;
  }
  

  
  
  
  .language button p {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: inherit;
  }
  
  .language {
    display: flex;
    gap: 1rem;
  }
  
  .en, .sr {
    display: none;
  }
  
  .en.active, .sr.active {
    display: block;
  }
  
  .language button.active-lang p {
    text-decoration-line: underline;
  }
  
  .no-wrap {
    white-space: nowrap;
  }
  
  .hero_item_1 a{
    padding: 0;
  
  }
  
  
  .hero_description p {
    text-align: left;
    padding-top: 1rem;
    
    
  }
  
  .gr p{
    font-family: 'Kommuna';
    font-size: 1rem;
  }

/*HERO //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
  

/*/PORTFOLIO//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/



.portfolio_container {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 3rem;
}

.portfolio_body {
  /* 100vh je visina viewport-a, 60px je visina navbar-a */
  padding-top: 3rem; /* Opcionalno, dodatni padding na vrhu */
  padding-bottom: 1.5rem;
  

}




.port_item {
  display: grid;
  place-content: center;
  padding-bottom: 50dvh;
}

.port_1, .port_5, .port_11 {
  padding-left: 50%;
  
}

.port_2, .port_4, .port_6, .port_8, .port_10, .port_12 {
  padding-right: 50%;
}

.port_2, .port_4, .port_10 {
  justify-content: start;
}

.port_7, .port_8, .port_12 {
  justify-content: center;
}

.port_1, .port_3, .port_5, .port_9 {
  justify-content: center;
}

.port_6, .port_9, .port_11 {
  justify-content: end;
}

.port_1 img,
.port_4 img,
.port_5 img,
.port_8 img,
.port_9 img,
.port_12 img {
  width: 380px !important;
  height: auto; 
}

.port_2 img,
.port_3 img,
.port_6 img,
.port_7 img,
.port_10 img,
.port_11 img {
  width: 569px;
  height: auto; 
}

.port_link a figcaption {
  text-align: center;
  font-weight: 400;
  color: #333333;
  transition: top 0.3s ease-in-out;
}

.port_pic:hover + .port_link a figcaption,
.port_link:hover a figcaption {
  text-decoration-line: underline;
}




/*/PORTFOLIO//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/




/*/CONTACT////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.contact_desc {
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cont_1 {
  padding-bottom: 1.5rem;
  position: relative;
}

.cont_1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 15%; 
  height: 5px; 
  background-color: #A9A9A9;
  transform: translateX(-50%);
  z-index: -10;
}

.cont_2 {
  position: relative;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  
}


.cont_2 a {
  color: inherit; /* Koristi boju roditeljskog elementa */
  text-decoration: none; /* Ukloni podvlačenje */
  font-weight: 500;
  line-height: 2;
  font-size: 1rem;
}

.cont_31 {
  display: flex;
  place-content: center;
  gap: 1rem;
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.rights p {
  line-height: 3;
}











/*/CONTACT///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/










/*/NAB BOTOM /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.nav-bottom {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: var(--nav-padding) 0;
  background-color: #FFFEFE;
  border-top: 0.5px solid #A9A9A9;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;

}

.nav-bottom-container {
  width: 1500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio ul {
  display: flex;
  
  
}

.contact ul {
  display: flex;
  gap: 1rem;
}

.nav-link {
  padding: 0.22rem 0.75rem;
  font-size: 0.8rem;
  color: #333333;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Gramatika', sans-serif;
  font-weight: bold;
  
}

.nav-link:hover {
  text-decoration-line: underline; 
  
}


/* Stilovi za modalne prozore */
.modal {
  display: none; /* Početno skrivamo modal */
  position: fixed;
  z-index: 12;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.658); /* Poluprovidna pozadina */ 
  background: #0000FF;
  justify-content: center;
  align-items: center;
  transition: opacity 0.7s ease;
}

.modal-content {
  /* background: #0101FF; */
  color: #ff96c8;
  border-radius: 5px;
  padding: 20px;
  width: 90dvw;
  height: 50dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.modal.show .modal-content {
  opacity: 1;
}

.close {
  position: absolute; /* Omogućava pozicioniranje unutar roditeljskog elementa */
  top: 10px; /* Udaljenost od vrha */
  right: 20px; /* Udaljenost od desne ivice */
  color: #ffffff;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #ff96C8;
  text-decoration: none;
}

/* Stilizacija za slike unutar modala */
.modal-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
  margin-top: 20px;
}

.modal-images figure {
  flex-basis: 22%; /* Svaka slika zauzima 22% širine prozora */
  margin: 0;
  text-align: center;
}

.modal-images img {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.modal-images figcaption {
  
  text-align: center;
  color: #ff96C8;
}


.modal-images figure figcaption {
  transition: opacity 0.7s ease; /* Dodaje tranziciju za opacity */
}

.modal-images figure a:hover figcaption {
  text-decoration: underline; /* Dodaje podvlaku */
  
}


/*/NAB BOTOM /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/*/MOBILE NAVBAR///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.mobile-nav {
  position: absolute;
  position: fixed;
  bottom: 0;
  height: 49px;
  width: 100%;
  background-color:#FEFEFF;
  display: flex;
  align-items: center;
  padding-inline: 5%;
  border-top: 1px solid #A9A9A9;
  z-index: 10;
  
}

.menu-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  width: 50%;
}

.menu-btn {
  height: 48px;
  background-color: #FEFEFF;
  border: none;
  color: #000;
  font-family: sans-serif, 'Poppins';
  /* padding: 0.5rem 0.5rem; */
  
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  
}

.active-btn {
  font-size: 1.2rem;
}

.menu-content {
  display: none;
  background-color: #1D1C1C;
  
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-height: 90%;
  overflow: auto;
  z-index: 11;
}

.punisa{
  height: calc(100dvh - 98px);
  background-color: #FFFEFE;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: grid;
  align-items: center;
  
}

.menu-content ul {
  list-style-type: none;
  padding-left: 10%;
}

.menu-content ul li {
  
  text-align: left;
}

.menu-content ul li a {
  
  text-decoration: none;
  color: #333333;
  font-size: 2rem;
  display: block;
}

.menu-content ul li a:hover {
  /* Stilovi za hover efekat su identični osnovnim stilovima */
  font-weight: 500;
  text-decoration: none;
}





/* Centriranje i osnovni stil za kontejner */
.mob {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding: 20px;
}

/* Stil za pojedinačne slike */
.mob img {
  width: 90vw;
  height: auto;
  max-width: 1000px; /* Opcionalno ograničenje za prevelike ekrane */
 
}

/* Tekstualni opis ispod slike */
.mob p {
  font-size: 1rem;
  margin-top: 10px;
  color: #333;
  text-align: center;
}




/*/MOBILE NAVBAR///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/



/*/TEMPLATE/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.template {
  display: grid;
  place-content: center;
}



.t_container {
  width: 1500px;
}

.t_header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.t_description{
  width: 70%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.t_content {
  display: grid;
  align-items: end; /* Poravnanje elemenata vertikalno (po osi y) */
  justify-items: end; /* Poravnanje elemenata horizontalno (po osi x) */
  gap: 3rem; /* Razmak između elemenata */
}

.tcl {
  width: 70%; /* Podrazumevana širina unutar roditelja */
  height: auto;
}

.tcxl {
  width: 100%; /* Podrazumevana širina unutar roditelja */
  height: auto;
}

.t_content.mix {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dve kolone iste širine */
  gap: 10px; /* Razmak između slika */
  row-gap: 3rem;
}

.t_content.mix img {
  width: 100%; /* Slika zauzima celu širinu svoje ćelije */
  height: auto; /* Zadržava proporcije */
  object-fit: cover; /* Prilagođava sliku, ako je potrebno */
}




video::-webkit-media-controls-panel {
  background: transparent !important; /* Uklanja zatamnjenost */
}

video::-webkit-media-controls {
  opacity: 1 !important; /* Postavlja punu vidljivost */
}







/*/TEMPLATE/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/














body, header, .nav-bottom, p, figcaption, .btn {
  transition: background-color 0s ease, color 0s ease;
}



















/* MEDIA BREAKPOINTS///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

@media screen and (max-width: 1600px) {
  html {
    font-size: 140%;
  }

  .nav-container {
    padding-inline: 5%;
  }

  .logo svg {
    width: 200px;
  }

  .content {
    height: 100dvh; 
    display: block; 
    place-content: initial;
    place-content: center;
    padding-inline: 5%;
}

  .hero {
    padding-inline: 0;
  }

  .portfolio_container {
    width: 90vw;
  }

  .container {
    width: 90vw;
    height: auto;
  }

  .nav-bottom-container {
    width: 90vw;
  }

  .t_container {
    width: 90vw;
  }

 


}








@media screen and (max-width: 1280px) {
  html {
    font-size: 130%;
  }
  
  .t_content{
    place-content: center;
  }

 .tcm img {
    width: 90vw;
  }
 
 

}







@media screen and (max-width: 1024px) {
  html {
    font-size: 120%;
  }

  figcaption {
    font-size: 1rem;
    
  }



  .port_1, .port_2, .port_3, .port_4, .port_5, .port_6, .port_7, .port_8, .port_9, .port_10, .port_11, .port_12 {
    padding: 0;
    padding-bottom: 3rem;
    justify-content: center;
  }

  .port_1 img,
  .port_2 img,
  .port_3 img,
  .port_4 img,
  .port_5 img,
  .port_6 img,
  .port_7 img,
  .port_8 img,
  .port_9 img,
  .port_10 img,
  .port_11 img,
  .port_12 img {
    width: 90vw !important;
    height: auto !important; /* Održava proporcije slike */
  }

  .port_link a figcaption {
    text-align: left;
  }

  .t_description{
    width: 100%; 
  }

  .tcl {
    width: 100%; /* Podrazumevana širina unutar roditelja */
    height: auto;
  }

  
}









@media screen and (max-width: 768px) {
  html {
    font-size: 110%;
  }

  .logo svg {
    width: 155px;
  }

  .modal-content {
    height: auto; /* Omogućava da visina sadržaja bude automatska */
    overflow-y: auto; /* Omogućava vertikalno skrolovanje */
    max-height: 100%; /* Ograničava visinu sadržaja na 100% visine ekrana */
  }

  .modal-images {
    flex-direction: column; /* Menja smer flex-a na kolonu */
    align-items: center; /* Poravnava slike centrirano */
  }

  .modal-images figure {
    flex-basis: 100%; /* Svaka slika zauzima 100% širine */
  }
}











@media screen and (max-width: 640px) {
  html {
    font-size: 100%;
  }

 

  .gallery-item img {
    width: 90dvw;
    height: auto;
    /* border: solid 1px #747474; */
  }

  .gallery-item video {
    width: 90dvw;
    height: auto;
    /* border: solid 1px #747474; */
  }

  .tcs img{
    width: 90vw;
  }

}








@media (min-width: 476px) {
   
  .hide_item {
    display: none !important;
  }

  .mobile-nav {
    display: none;
  }


}








@media screen and (max-width: 475px) {
  html {
      font-size: 100%;
      color: #333333;
      font-family: 'Kommuna', serif;
  }
  
 

   .nav-link {
    font-size: 2rem;
    font-weight: 400;
    padding-bottom: 1.5rem;
    color: #333333;
    
   }

   .nav-linktop {
    color: #333333;
   }

   .nav-linktop:hover {
     text-decoration: none;
     
   }

  h1 {
    font-size: 24px;
  }

  .language button p, a {
    font-size: 1rem;
    color: #333333;
  }

  .nav-container {
    height: 50px !important;
  
  }

  .logo2 .logo-text {
    font-size: 1rem;
    
    color: #333333;
  }

  .port_link a figcaption {
    color: #333333;
  }
  

  .nav-container .nav-link {
    font-size: 1rem;
    padding: 0;
  }

  .nav-container .nav-link:hover {
    background: transparent;
    color: #1D1C1C;
  }

  .hero_1 {
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 25px;
    gap: 2rem;
  }

  .t_header {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2rem;
  }

  .t_header .language {
    order: -1;

  }

  .hero_1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10%; 
    height: 2px; 
    background-color: #A9A9A9;
  }

  .hero_1 .language {
    order: -1;
  }

  
  .hero_2 {
    display: flex;
    flex-direction: column;
    padding-top: 25px;
  }

  .hide_item {
    display: block;
  }

  .contact_desc {
    display: none;
  }

  
  .nav-bottom {
    display: none; /* Hide desktop nav */
  }

  .illustration-gallery {
    grid-template-columns: 1fr;
  }


  .modal-content {
    height: auto; /* Poništavanje visine od 90dvh */
    width: 90dvw; /* Postavljanje širine na 90dvw */
    max-width: 90dvh; /* Osiguravanje da modal ne pređe granice ekrana */
  }

  .t_content.mix {
    grid-template-columns: 1fr; /* Jedna kolona */
}
}