* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.atkinson-hyperlegible-mono {
    font-family: "Atkinson Hyperlegible Mono", sans-serif;
    font-weight: 800;
    font-style: normal;
  }

  /* POČETNA STRANICA */
  
body {
    font-family: "Atkinson Hyperlegible Mono" , sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

  /* NAVIGACIJA */

nav{
    background-color: #fff;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center; 
    color: black;
}

nav a:hover{
    background-color: #f0f0f0;
}

nav li:first-child{
    margin-right: auto;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.363);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.menuButton{
    display: none;
}

@media(max-width: 900px) {
    .hideOnMobile{
        display: none;
    }
    .menuButton{
        display: block;
    }
}

@media (max-width: 500px){
    .sidebar{
        width: 100%;
    }
}
  
  /* SADRŽAJ */

  /*GLAVNI NASLOV*/

.okvir{
    width: 100%;
    background-color: black;
    height: 65vh;
    margin-top: 15vh;
    display: flex;
    align-items: center;
    font-size: 50pt;
    justify-content: center;
}

.okvir p{
    font-weight: bolder;
    -webkit-text-stroke: 1px #fff;
    color: transparent;
    background-image: linear-gradient(#fff, #fff);
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: -60vw, 0;
    animation: backround 5s linear forwards;
} 

@keyframes backround {
    100%{
        background-position: 0 0;
    }
}

    /*INFORMACIJE*/

.pozicija{
    display: flex;
    justify-content: center;
}

.mreza{
    margin-top: 15vh;
    display: grid;
    grid-template-rows: repeat(4, 200px);
    grid-template-columns: repeat(9, 200px);
}

.kartica{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 30px;
}

.kartica h2{
    padding-bottom: 30px;
}

.kartica.in-view{
    animation: animacija 3s ease;
}

@keyframes animacija {
    0%{
        transform: translateY(-50%);
        opacity: 0;
    }
    100%{
        transform: translateY(0%);
        opacity: 1;
    }
}

.kartica-1{
    grid-area: 1 / 3 / 2 / 8;
}

.kartica-1 p{
    margin-top: auto;
}

.kartica h2{
    font-size: 26pt;
}

.kartica-2{
    grid-area: 2 / 1 / 5 / 4;
}

.kartica-3{
    grid-area: 2 / 4 / 5 / 7;
}

.kartica-4{
    grid-area: 2 / 7 / 5 / 10;
} 

    /*FOOTER*/

.podnozije{
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px black solid;
}

    /*MOBILNA VERZIJA*/

@media (max-width: 1700px){
    .okvir p{
        background-position: -110vw, 0;
    } 
    .mreza{
        grid-template-rows: repeat(4, 500px);
        grid-template-columns: repeat(2, 500px);
    }
    .kartica-1{
        grid-area: 1 / 1 / 2 / 3;
    }
    .kartica-2{
        grid-area: 2 / 1 / 3 / 3;
    }
    .kartica-3{
        grid-area: 3 / 1 / 4 / 3;
    }
    .kartica-4{
        grid-area: 4 / 1 / 5 / 3;
    }
    .kartica h2{
        font-size: 20pt;
    }
    .kartica-1 p{
        margin-top: 10vh;
    }
}

@media (max-width: 900px){
    .okvir p{
        background-position: -110vw, 0;
    } 
    .okvir{
        font-size: 30pt;
        height: 30vh;
    }
    .mreza{
        grid-template-rows: repeat(4, 500px);
        grid-template-columns: 300px;
    }
    .kartica-1{
        grid-area: 1 / 1 / 2 / 2;
    }
    .kartica-2{
        grid-area: 2 / 1 / 3 / 2;
    }
    .kartica-3{
        grid-area: 3 / 1 / 4 / 2;
    }
    .kartica-4{
        grid-area: 4 / 1 / 5 / 2;
    }
    .kartica h2{
        font-size: 20pt;
    }
}

    /*DRUGA STRANICA*/

    /*NASLOV*/

.naslov{
    height: 20%;
    display: flex;
    justify-content: center;
    margin: 100px 50px;
    animation: ulazak 3.5s forwards; 
    text-align: center;
}

@keyframes ulazak {
    from { 
        transform: translateX(-100%);
        opacity: 0;
     }
    to { 
        transform: translateX(0);
        opacity: 1;
     }
  } 

    /*SADRŽAJ*/

.mreza-2{
    display: grid;
    grid-template-rows: repeat(6, 300px);
    grid-template-columns: 800px 500px;
    gap: 50px;
    margin-bottom: 10%;
}

.kontejner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
}

.kontejner p{
    padding-top: 10px;
}

iframe{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

    /*RESPONZIVNA VERZIJA*/

@media (max-width: 1400px){
    .mreza-2{
        display: grid;
        grid-template-rows: repeat(6, 300px);
        grid-template-columns: 400px 400px;
        gap: 50px;
        margin-bottom: 10%;
    }
}

@media (max-width: 1070px){
    .mreza-2{
        grid-template-rows: repeat(12, 400px);
        grid-template-columns: 400px;
        gap: 50px;
    }
}

    /*TREĆA STRANICA*/

    /*NASLOV*/

.naslov-galerija{
    display: flex;
    justify-content: center;
    margin-top: 5vh;
    text-align: center;
}

    /*GALERIJA*/

.galerija-mreza{
    display: grid;
    grid-template-rows: repeat(6, 650px);
    grid-template-columns: repeat(3, 500px);
    gap: 50px;
    margin-bottom: 10vh;
    margin-top: 10vh ;
}

.slika img{
    width: 500px;
}

.slika p{
    text-align: center;
}

.slika.in-view{
    animation: slikaani 2s ease;
}

@keyframes slikaani {
    from { 
        transform: translateY(-10%);
        opacity: 0;
     }
    to { 
        transform: translateX(0);
        opacity: 1;
     }
}

 /*GUMB*/

.slika a{
    text-decoration: none;
    color: black;
}

.slika img{
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.slika img:hover{
    transform: scale(1.1);
}

.btn {
    width: 60%;
    font-size:16px;
    font-weight: 600;
    background-color:rgb(136, 253, 232);
    padding:24px 24px 24px 32px;
    display:flex;
    align-items:center;
    border-radius:99px;
    position:relative;
    transition: all .5s cubic-bezier(.77,0,.175,1);
    margin-left: 100px;
    margin-top: 25px;
  
  .text{
    line-height:1;
    position:relative;
    z-index:5;
    margin-right:32px;
  }
  
  svg{
    display:inline-block;
    position:relative;
    z-index:5;
    transform: rotate(0deg) translateX(44px);
    transform-origin: left;
    transition: all .5s cubic-bezier(.77,0,.175,1);
  }
  
  &::before{
    content:'';
    background-color:#61e5ee;
    width:32px;
    height:32px;
    display:block;
    position:absolute;
    z-index:1;
    border-radius:99px;
    top:50%;
    right:16px;
    transform:translateY(-50%);
    transition: all .5s cubic-bezier(.77,0,.175,1);
  }
  
}

.btn:hover{
  
  svg{
    transform: rotate(45deg) translateX(-8px);
  }
  
  &::before{
    content:'';
    width:100%;
    height:100%;
    right:0;
  }
}

    /*RESPONZIVNA VERZIJA*/

@media (max-width: 1600px){
    .galerija-mreza{
        grid-template-rows: repeat(8, 650px);
        grid-template-columns: repeat(2, 500px);
        gap: 50px;
    }
}

@media (max-width: 1070px){
    .galerija-mreza{
        grid-template-rows: repeat(16, 650px);
        grid-template-columns: 400px;
        gap: 50px;
    }
    .slika img{
        width: 400px;
    }
    .btn {
        margin-left: 80px;
    
    svg{
        transform: rotate(0deg) translateX(0px);
    }
}
}