/* font */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Roboto+Mono:wght@100;300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Truculenta:opsz,wght@12..72,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    
}

body {
    font-size: 1rem; 
    font-family: 'Merriweather', serif;
    background-color: #ffffff;
    font-size: 1rem; 
    font-family: Tahoma, sans-serif;
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 1rem;
}

li {
    display: inline;
    color: black;
}

h2 {
    text-align: center;
    color: rgb(0, 0, 0);
    padding-bottom: 5rem; 

}

/* css index stranice */
.index {
    background-color: #ffffff;
    align-items: center;
    margin-top: 50vh;
    
}

/* css h1 (galerija...) */
h1 {
    margin-top: 5rem; 
    margin-bottom: 5rem;
    text-align: center;
    font-size: 8rem; 
    color: rgb(0, 0, 0);
    font-family: Grand Hotel;

}


/* css headera prve galerije */
.valentina {
    background-image: url(slike/valentina.jpg);
    background-size: cover;
    width: 100vw;
    height: 100vh;
    padding-top: 0%;
    padding-bottom: 4.2%;
    font-size: 18pt;
    font-family: 'Roboto Mono', monospace;

}

/* css headera druge galerije */
 .galerija2 {
    background-image: url(slike/studio.jpg);
    background-size: cover;
    width: 100vw;
    height: 100vh;
    padding-top: 0%;
    padding-bottom: 4.2%;
    font-size: 18pt;
    font-family: 'Roboto Mono', monospace;

}

/* css headera omiljene galerijew */
.omiljena {
    background-image: url(slike/silba.png);
    background-size: cover;
    width: 100vw;
    height: 100vh;
    padding-top: 0%;
    padding-bottom: 4.2%;
    font-size: 18pt;
    font-family: 'Roboto Mono', monospace;

}

.omiljene{
    color: #fafafa;
}

/* css headera galerije grafika1 */
 .grafike {
    background-image: url(slike/grafika.jpg);
    background-size: cover;
    width: 100vw;
    height: 100vh;
    padding-top: 0%;
    padding-bottom: 4.2%;
    font-size: 18pt;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
}
 


.btn:hover {
    border-radius: 15px;
    box-shadow: 0px 20px 20px -20px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
    cursor: pointer;
    width: 220px;
}



/* css headera kontakta */
.kontakti {
    background-color: #ffffff;
    font-size: 18vh;
    font-family: 'EB Garamond', serif;
    color: black;
    margin-top: 5vh;
    margin: 20px;

}

.kvadrat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem 1rem 0 1rem; 
}

.kvadrat .box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.kvadrat .box .slika {
    display: flex;
    flex-direction: column;
    width: 32.5%;
}

.kvadrat .box .slika img {
    width: 100%;
    padding-bottom: 1.5rem; 
    border-radius: 5px;
}

.kvadrat .gumb {
    margin: 2rem 0 3.5rem 0; 
    background: #222;
    padding: 1.5rem 4rem; 
    border-radius: 5px;
}

.kvadrat .gumb a {
    color: #fff;
    font-size: 1.2rem; 
    text-decoration: none;
    font-weight: bolder;
    letter-spacing: 0.3rem; 
}

header h1 {
    text-align: center;
    margin-top: 15rem; 
}


img {
    width: auto;
    height: auto;

}

p {
    font-size: 1.5rem; 
    color: rgb(0, 0, 0);
    margin-left: 15rem; 
    padding-right: 12rem;
    text-align: center;
    font-family: "Truculenta", sans-serif;
    font-weight: 600;
}


.logo {
    max-width: 50vw;
    margin: auto;
    position: relative;
    align-items: center;
}

/* IZBOR */

.izbor{
    font-family: Grand Hotel;
    font-size: 1vw;
    padding-top: 25px;
}


.nav-list {
    display: flex;
    justify-content: space-between;
}
@media screen and (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        justify-content: center;
   }
}
.nav-item {
    display: flex;
    height: calc(100vh - 80px);
    width:50vw;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    align-items: center;
    filter: grayscale(100%);
}
@media screen and (max-width: 768px) {
    .nav-item {             
        width: 100vw;
        height: 200vh;
   }
    .nav-item:hover {            
        height: 350vh;
   }
}
.nav-item .nav-item-bg {
    height: 100vh;
    width: 40vw;
    display: block;
    position: absolute;
}
.nav-item:nth-child(1) .nav-item-bg {
    background: url('slike/studiowall.jpg') no-repeat center center/cover;
        
}
.nav-item:nth-child(2) .nav-item-bg {
    background: url('slike/grt_dres.jpg') no-repeat center center/cover;
}
.nav-item:nth-child(3) .nav-item-bg {
    background: url('slike/london.magazin.jpg') no-repeat center center/cover;
}
.nav-item:nth-child(4) .nav-item-bg {
    background: url('slike/srce.jpg') no-repeat center center/cover;
}

.nav-item .nav-item-content {
    color: #ffffff;
    margin-left: -50px;
    opacity: 0.3;
    transition: all 0.3s ease-in-out;
    filter: blur(1px);
}
.nav-item .nav-item-content h2 {
    font-size: 50px;
    font-weight: 900;
    line-height: 0.9em;
    margin: 0 0 30px;
    text-shadow: 10px 10px 30px rgb(255, 255, 255);
}
@media screen and (max-width: 980px) {
    .nav-item .nav-item-content h2 {
        font-size: 70px;
   }
}
.nav-item:hover {
    width: 100vw;
    filter: none;
}
.nav-item:hover .nav-item-content {
    margin-left: 50px;
    opacity: 1;
    filter: blur(0px);
}

@media screen and (max-width: 768px) {
    .nav-item .nav-item-bg {
        background-size: 70% !important;
        background-position: center right !important;
   }
}


/* naslovna */
.ime {
    position: absolute;
    top: 28%;
    width: 100%;
    animation-duration: 2s;
    animation-name: fade;
}

@keyframes fade {
    from {
        top:17%;
    }
    to {

        top: 28%;
    }
}

svg text.ime {
    font-family: Grand Hotel;
    letter-spacing: 5px;
    stroke: #ffffff;
    font-size: max(3vw, 2rem); 
    font-weight: 700;
    stroke-width: 5;
    animation: ime 5s infinite alternate;
    opacity: 2; 
}

@keyframes ime {
    0% {
        stroke-dasharray: 50% 0;
        fill: hsl(100%);
    }
    100% {
        stroke-dasharray: 0 50%;
        stroke-dashoffset:  30%;
        fill:hsl(100%);
    }
}

.ij {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: calc(40% + max(2.3vw, 1.5rem)); 
    animation-duration: 3s;
    animation-name: fade-naslov;
}

.ij-2 {
    position: fixed;
    top: 60px;
    z-index: 2;
    width: 4vw; 
    margin-left: 2%;
    transition: box-shadow 0.3s ease; /* Dodajemo tranziciju kako bi efekat bio glatki */
}

.ij-2:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Definiramo sjenu kada se pređe mišem preko elementa */
}


svg text {
    font-family: Grand Hotel;
    letter-spacing: 5px;
    stroke: #ffffff;
    font-size: max(7vw, 7rem); 
    font-weight: 700;
    stroke-width: 5;
    animation: ij 5s infinite alternate;
    opacity: 2; 
}

@keyframes ij {
    0% {
        stroke-dasharray: 50% 0;
        fill: hsl(100%);
    }
    100% {
        stroke-dasharray: 0 50%;
        stroke-dashoffset:  30%;
        fill:hsl(100%);
    }
}
  

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


a {
	color: #34495e;
}

a {
	text-decoration: none;
}

  .container-lice {

      width: 35%;
      height: 30vh;
      flex-direction: column;
      align-items: center;
      float: right;
      margin-top:-15%;
      padding-top:5%;
  }
  
  path {
    fill:none;
    stroke:#000000;
    stroke-width: 0.5;
    stroke-miterlimit:10;
    stroke-linecap:round;
    stroke-dasharray: 660;
    stroke-dashoffset: 660;
    animation: draw 7s ease ;

  }
  
  @keyframes draw {
    from {
      stroke-dashoffset: 660;
    }
    to {
      stroke-dashoffset: 0;
      stroke-width: 2;
    }
  }
  
/* navigacija */
 
#logo {
    float: left;
    font-size: 2em;
    margin: 0;
    padding: .4em;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #424242;
    transition: .5s all;
  }
  #logo:hover {
    color: #fafafa;
    background-color: #333;
  }
  nav {
    float: right;
  }
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 2.2em 2em;
  }                   
  nav ul li {
  
    padding: 0 .4em;
  }
  nav ul li a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    margin-right: 10px;
    padding-bottom: 1.3em;
    transition: .5s color;
  }          

  nav ul li a:hover {
    border-bottom: 3px solid #333;
  }
  #current {
    color: #ff4629;
    border-bottom: 3px solid #333;
  }


/* O MENI */


.container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.okvir {
    padding: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 90%;
    margin: (0, auto);
}

.okvir h1 {
    padding: 0;
    
}

.okvir .socijalne {
    padding: 0;
    margin: 0;
    padding-top: 40%;
}

.okvir p{
    text-align: left;
}



.text {
    text-align: left;
    margin-top: 150px; 
    margin-left: 300px;
    float: left;

}

    
    .ira {
        height: auto;
        border: 2px solid black;
        width: 20vw;
        float: left;
        padding: right;
   
    
    }

/* gumb */
.wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
     padding-bottom: 70px;

  }
  
  .button {
    width: 8vw;
    height: 5vh;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    }
  
  .button:hover {
    background-color: #000000;
    box-shadow: 0px 15px 20px rgba(62, 62, 62, 0.4);
    color: #fff;
    transform: translateY(-7px);
  }


.stayintouch{
    margin-right: 20%;
    margin-top: 15%;
    font-size: 40%;
}

.socijalne  {
    display: flex;
    position: absolute;
    top: 122%;
    left: 80%;
    transform: translate(-50%, -50%);
  }
  
  .socijalne  li {
    list-style: none;
  }
  
  .socijalne  li a {
    width: auto;
    height: auto;
    line-height: 80px;
    font-size: 35px;
    border-radius: 100%;
    margin: 25px;
  }
  
  .socijalne  li a .icon {
    color: #262626;
    transition: .5s;
    z-index: 3;
  }
  
   .socijalne  li a:hover .icon {
    color: #000000;
    transform: rotateY(360deg);
  }


  footer{ 
    bottom:0; 
    width:100%; 
    height:100px; 
    background-color: #333;
    opacity: 90%
  }

  footer p{ 
    color: #fafafa;
    text-align: center;
    padding-top: 2%;
  }