@font-face {
    font-family: FR;
    src: url(fonts/Montserrat-Regular.ttf);
  }
@font-face {
    font-family: FB;
    src: url(fonts/Montserrat-Bold.ttf);
  }

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    scroll-behavior:smooth;
}

body{
    background-color: rgb(255, 255, 255);
    min-height: 100vh;
}
  
a.anchor {
    display: block;
    position: relative;
    top: -6rem;
    visibility: hidden;
}

/*MENU + HAMBURGER*/ 
.hamburger {
    display: none;
  }
  
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #0097cf;
}

  
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;

  }
  
.nav-item {
    margin-left: 2rem;
}
  
.nav-link{
    font-family: FR;
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
}

.nav-link:hover{
   border-bottom: 1px solid #0097cf;
  }


/*HEADER*/
header {
    margin: 3.5vh 10vw 0 10vw;
    position:fixed;
    top: 0;
    left: 0;
    width: 80vw;
    display:flex;
    height: 8rem;
    justify-content: space-between;
    align-items: center;
    transition: 0.8s;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

header.sticky{
    background: rgb(255, 255, 255);
    margin: 0;
    padding-left: 10vw;
    padding-right: 10vw;
    width: 100vw;
    height: 6rem;
}

header.sticky a{
    color: black;
}

header img {
    position: relative;
}

header .logo .logo-normal {
	opacity: 1;
    height: 4.5rem;
}

header .logo .logo-sticky {
	opacity: 0;
    height: 4.5rem;
}

header.sticky .logo .logo-normal {
	opacity: 0;
    height: 4.5rem;
}

header.sticky  .logo .logo-sticky {
	opacity: 1;
    float: left;
    height: 4.5rem;
    
}

header ul li{
    position: relative;
    list-style: none;
}

header ul li a{
    text-decoration: none;
}

/*BANNER*/
#banner{
    position: relative;
    width: 100%;
    min-height: 120vh;
    background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("slike/ban.jpg");
    background-size: cover;
    text-align: center;
}

#banner h1{
    padding-top: 40vh;
    font-family: FB;
    text-transform: uppercase;
    font-size: 4.3vw;
    color: white;
}

#banner b{
    font-family: FB;
    text-transform: uppercase;
    font-size: 4.3vw;
    color: #0097cf;
    font-weight: normal;
}

#banner h2{
    font-family: FR;
    font-size: 1.2vw;
    color: white;
    font-weight: lighter;
    line-height: 2.8rem;
    padding-top: 2vh;
    padding-bottom: 5vh;
}

#banner a{
    text-decoration: none;
}


.btnA {background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA  51%, #1FA2FF  100%)}
.btnA {
   margin: 25px 15px 0px 0px;
   padding: 20px 60px;
   text-align: center;
   font-family: FR;
   font-size: 1.5rem;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   border: none;
}

.btnA:hover {
   background-position: right center;
   color: #fff;
   text-decoration: none;
}

.btnB {background-image: linear-gradient(to left, #12D8FA 0%, #1FA2FF  51%, #12D8FA  100%)}
.btnB {
   margin: 25px 0px 0px 15px;
   padding: 20px 50px;
   text-align: center;
   font-family: FR;
   font-size: 1.5rem;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;            
   border: none;
}

.btnB:hover {
   background-position: right center;
   color: #fff;
   text-decoration: none;
}

/*PROZIVODI*/

#proizvodi{
    padding: 0 10vw;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    position: relative;
    top: -60px;
}

.proizvodi{
    display: block;
    width: 25%;
    height: 25%;
    background-color: #232323;
    border: 1px solid white;
    text-align: center;
    box-shadow:-1px 4px 17px 3px rgba(0,0,0,0.41);
    overflow: hidden;
}

.proizvodi img{
    max-height: 33vh;
    padding-top: 2vw;
    padding-bottom: 1vw;
}

.proizvodi h1{
    font-family: FR;
    color: white;
    font-size: 1.3rem;
    font-weight: lighter;
    padding-bottom: 15px;
}

.proizvodi:hover{
    box-shadow:inset 0px 0px 0px 5px #0097cf;
    transition: 0.3s;
}

/*O NAMA*/

#onama{
    margin: 0 10vw;
    padding-top: 15vh;
}

#onama img{
    max-width: 38vw;
    height: auto;
    float: left;
}

#text{
    float: right;
    max-width: 38vw;
}

#onama h1{
    padding-top: 25vh;
    padding-bottom: 40px;
    font-family: FB;
    text-transform: uppercase;
    font-size: 3vw;
    letter-spacing: 0.5vw;
    font-weight: bolder;
}

#onama h1:after {
    display: block;
    padding-top: 1.5vh;
    content : "";
    position: relative;
    left: 25vw;
    width: 15vw;  
    border-bottom: 6px solid #0097cf;
}

#onama p{
    font-family: FR;
    font-size: 1vw;
}


/*GALERIJA*/

#galerija-naslov{
    padding-top: 15vh;
    padding-bottom: 5vh;
    clear: both;
    font-family: FB;
    text-transform: uppercase;
    font-size: 3vh;
    letter-spacing: 0.5rem;
    font-weight: bolder;
    text-align: center;
}

#galerija-naslov h1:after {
    display: block;
    padding-top: 1.5vh;
    content : "";
    position: relative;
    left: 50vw;
    width: 12rem;  
    border-bottom: 6px solid #0097cf;
}

#galerija{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}   

#prvi{
    background-image: url("slike/galerija/1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

#drugi{
    background-image: url("slike/galerija/2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

#treci{
    background-image: url("slike/galerija/3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

#cetvrti{
    background-image: url("slike/galerija/4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

#peti{
    background-image: url("slike/galerija/5.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

#sesti{
    background-image: url("slike/galerija/6.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.slike{
    display: block;
    width: 33.3%;
    height: 25rem;
    background-color: #232323;
    border: 1px solid white;
    text-align: center;
}

.extra{
    width: 100%;
    visibility: hidden;
    display: inline-block;
}

#prvi:hover{
    background-image:
    radial-gradient(rgba(0, 151, 207, 0.4), rgba(0, 151, 207, 0.8)),
    url("slike/galerija/1.jpg");
}

#drugi:hover{
    background-image:
    radial-gradient(rgba(0, 151, 207, 0.4), rgba(0, 151, 207, 0.8)),
    url("slike/galerija/2.jpg");
}

#treci:hover{
    background-image:
    radial-gradient(rgba(0, 151, 207, 0.4), rgba(0, 151, 207, 0.8)),
    url("slike/galerija/3.jpg");
}

#cetvrti:hover{
    background-image:
    radial-gradient(rgba(0, 151, 207, 0.4), rgba(0, 151, 207, 0.8)),
    url("slike/galerija/4.jpg");
}

#peti:hover{
    background-image:
    radial-gradient(rgba(0, 151, 207, 0.4), rgba(0, 151, 207, 0.8)),
    url("slike/galerija/5.jpg");
}

#sesti:hover{
    background-image:
    radial-gradient(rgba(0, 151, 207, 0.4), rgba(0, 151, 207, 0.8)),
    url("slike/galerija/6.jpg");
}
/*KLIJENTI*/

#klijenti-tekst{
    margin-left: 10vw;
    margin-right: 5vw;
    width: 25vw;
    float: left;
}

#klijenti-tekst h1{
    font-family: FB;
    font-size: 2vw;
    text-transform: uppercase;
    font-weight: bolder;
    padding-top: 15vh;
    padding-bottom: 40px;
    letter-spacing: 0.3rem;

}

#klijenti-tekst p{
    font-family: FR;
    font-size: 1vw; 
}

#klijenti{
    padding-top: 10vh;
    float: right;
    margin-right: 10vw;
    width: 48vw;
	overflow: hidden;
	position: relative;
    display: inline;
}

figure{
    width: 300%;
    overflow: hidden;
    animation: 17s slajder infinite;
    position: relative;
}

figure img{
    width: 11%;
    object-fit: contain;
}


@keyframes slajder {
	0% {left: 0%;}
	15% {left: 0%;}
	21% {left: -33%;}
	36% {left: -33%;}
	42% {left: -67%;}
	57% {left: -67%;}
	63% {left: -100%;}
	78% {left: -100%;}
	84% {left: -134%;}
    100% {left: -134%;}
}



#klijenti button:hover{
    cursor: pointer;
}

.map{
    padding-top: 20vh;
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/*KONTAKT*/

#kontakt{
    width: 100%;
    padding: 0 10vw;
    background-color: #272727;
    color: white;
    padding-bottom: 100px;
}

#kontakt h1{
    font-family: FB;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: bolder;
    letter-spacing: 0.6rem;
    position: relative;
    top: -80px;
}

#kontakt p{
    font-family: FR;
    font-size: 1.2rem;
    column-count: 3;
    line-height: 2rem;
}

#kontakt b{
    font-weight: normal;
    font-family: FR;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 4rem;
}

#kontakt img{
    width: 20vw;
    height: auto;
}

/*FOOTER*/

footer{
    background-color: black;
    color: white;
    font-family: FR;
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 0;
}



/*PROZIVODI*/

.containerKomarnici, .containerPan, .containerAluPan, .containerProz, .containerVrata, .containerSeg, .containerCel, .containerAlu, .containerGal {
    position: fixed;
    z-index: 1500;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    visibility: hidden;
    opacity: 0;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-out;
    pointer-events: none;
}

.containerKomarnici img, .containerPan img, .containerAluPan img, .containerProz img, .containerVrata img, .containerSeg img, .containerCel img, .containerAlu img, .containerGal img{
    max-width: 100%;
    max-height: 80vh;
}

.containerKomarnici-open, .containerPan-open, .containerAluPan-open, .containerVrata-open, .containerProz-open, .containerSeg-open, .containerCel-open, .containerAlu-open, .containerGal-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.scroll-off {
    overflow-y: hidden
}

.Komarnici, .Pan, .AluPan, .Proz, .Vrata, .Seg, .Cel, .Alu, .Gal {
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    background-size: 100%;
}

.Komarnici p, .Pan p, .AluPan p, .Proz p, .Vrata p, .Seg p, .Cel p, .Alu p{
    color: white; 
    font-family: FR;
    text-transform: uppercase;
    font-size: 1.5rem;
    position: fixed;
    bottom: 10px;
}

  

.prev, .next, .close {
    cursor: pointer;
    position: fixed;
    top: 50%;
    width: auto;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1800;
}

.prev{
    left: 2rem;
} 

.next {
    right: 2rem;
    border-radius: 3px 0 0 3px;
}

.close{
    font-size: 25px;
    top: 1rem;
    right: 2rem;
}


@media only screen and (max-width: 1360px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 8rem;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;

    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-link{
        color:black;
    }    

    .proizvodi{
        width: 33%;
        height: 33%;
    }
}


@media only screen and (max-width: 1200px) {
    #banner h1, #banner b{
        font-size: 5rem;
        padding-top: 30vh;
    }

    #banner h2{
        font-size: 1.3rem;
    }

    #banner button{
        display: block;
        clear: both;
        margin: 30px auto;
    }

    .btnA{
        padding: 20px 100px;
    }

    .btnB{
        padding: 20px 95px;
    }

    .proizvodi{
        width: 50%;
        height: 50%;
    }

    #onama img, #text{
        max-width: 80vw;
        float: none;
        clear: both;
    }
    
    #onama h1{
        padding-top: 7vh;
        font-size: 3rem;
        letter-spacing: 0.3rem;
    }

    #onama p{
        font-size: 1.2rem;
        padding-bottom: 7vh;
    }


    #klijenti-tekst{
        margin: 0 10vw;
        width: 80vw;
        float: none;
        clear: both;
    }
    
    #klijenti-tekst h1{
        font-size: 2rem;
        padding-top: 15vh;
        padding-bottom: 40px;
        letter-spacing: 0.3rem;
    
    }
    
    #klijenti-tekst p{
        font-family: FR;
        font-size: 1rem; 
    }
    
    #klijenti{
        padding-top: 10vh;
        float: none;
        margin: 0 10vw;
        width: 80vw;
        clear: both;
    }
}

@media only screen and (max-width: 900px) {

    #banner h1, #banner b{
        font-size: 3rem;
        padding-top: 25vh;
    }

    #banner h2{
        font-size: 1rem;
        padding-bottom: 2vh;
    }

    .btnA{
        padding: 20px 60px;
    }

    .btnB{
        padding: 20px 55px;
    }

    .proizvodi{
        width: 80%;
        height: 80%;
        margin: auto;
    }

    header.sticky  .logo .logo-sticky {
        height: 3rem;
        position: fixed;
        left: 10vw;
        top: 3vh;
    }

    .slike{
        width: 100%;
        height: 70vh;
    }

    #kontakt p{
        column-count: 1;
        text-align: center;
    }

    #kontakt img{
        width: 80%;
        margin: auto;
    }

    
    figure{
        width: 1000%;
        animation: 30s slajder infinite;
    }
    
    figure img{
        width: 10%;
        object-fit: contain;
    }
    .wrapper{
        width: 100%;
        overflow: hidden;
    }
    @keyframes slajder {
        0% {left: 0%;}
        15% {left: 0%;}
        21% {left: -100%;}
        36% {left: -100%;}
        42% {left: -200%;}
        57% {left: -200%;}
        63% {left: -300%;}
        78% {left: -300%;}
        84% {left: -400%;}
        100% {left: -400%;}
    }
    

   
}