@import url(reset.css);

html{
    scroll-behavior: smooth;
}

body{
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}
*, ::after, ::before{ /*Da bismo obuhvatili sve elemente stavljamo "*" osim after i before koje se naknadno dodaju*/
    box-sizing: border-box;
}
@font-face{
    font-family: krasnopis;
    src:url(../fonts/Flaemische\ Kanzleischrift.ttf)
}

img{
    max-width:100%;
}
.container{
    width:85%;
    margin: 0 auto;
}
.clearfix::after{ /* ponistavanje floatanja na headeru */
    content: "";
    clear: both;
    display: block;
}
a{
    text-decoration:none; /* sklanjanje linija ispod enkora kao i drugih default opcija */
    cursor: pointer;
}
button:focus{
    outline: none;
}
p{
    line-height: 1.3;
}
h2{
    font-size: 35px;
}
h1, h2, h3, h4, h5, h6{
    position: relative;
}

/* End all */


/* Start header */
.mobile_menu, .dropdown{
    display: none;
}

#header .container{
    width:95%;
}
#header{
    box-shadow: 0 0 10px #333;
    /*pomjeranjepoxiyosiatrecavrijednost:;
    10pxjevelicina/blurshadowa*/
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    background: transparent;
    z-index: 999; /*ovu vrijednostdodajemokaonajvecudasenistanebipodvlaciloispodnavbara*/
    transition:all 4s linear;
    -webkit-transition:all 4s linear;
    -moz-transition:all 4s linear;
    -ms-transition:all 4s linear;
    -o-transition:all 4s linear;
}
#header.sticky{
    background: rgba(255, 255, 255, .9);
    transition:none;
}
#header.sticky .meni>li>a{ /* samo kad header ima klasu sticky se odnosi ovaj opis */
    color:#333;
}
#header.sticky .meni li.active a{
    color:#2c3e50;
}
.logo{
    float:left;
    width:10%;
}
.contact{
    float:right;
    width:15%;
    margin-top:25px;
}

nav{
    float:left;
    width:70%;
}

.meni{
    display:flex; /* Ovaj opis se dodaje samo na roditelj */
    justify-content: space-between; /* razmak izmedju kontenta liste  */
}
.meni>li{
    position: relative;
}
#header .meni>li>a{
    color:black;
}
.meni>li>a{ /* prva linija reda nasledjivanja opisa. Lista pa enkor u ovom slucaju */
    display: block;
    text-transform: uppercase;
    font-size: 1.1em; /* mjerna jedinica za velicinu fonta umjesto px a moze se staviti i % */
    padding: 25px 15px;
    color:#fff;
}
#header .meni>li>a:hover{
    color:#f58302;
}
.meni>li:first-child .dropdown{ /* selektovanja prvog list ajtema */
    width:184px;
}
.meni>li:first-child .dropdown li{/*pomocu ovog vrsimo smanjivanje ikonica u dropdaunu*/
    display: inline-block;
    width:47%;
    border:1px solid #8b8b87;
    border-radius: 8px ;
    -webkit-border-radius: 8px ;
    -moz-border-radius: 8px ;
    -ms-border-radius: 8px ;
    -o-border-radius: 8px ;
    margin:1.5px;
}
.meni>li:first-child .dropdown li a img{
    width:40px; /* zadavanje velicina ikonica */
    transition: all 0.4s linear; /* POSTEPENO uvecanje ikonice na haver */
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
}
.dropdown{
    position: absolute;
    left:0;
    top:110%;
}
.meni>li:first-child .dropdown li a{
    padding: 5px;
    display: block;
    text-align: center;
    border-radius: 3px;
}
.meni>li:first-child .dropdown{
    padding:5px;
    background: #fff;
    border-radius: 5px;
    opacity: 0.8;
    z-index: 1;
}
.meni>li:first-child .dropdown li a:hover img{
    transform: scale(1.1);
    /*Uvecanjeimgikonicanahaver*/-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
.meni>li>a i { 
    visibility: hidden;
    opacity: 0;
}
.meni>li>a:hover i, .meni>li.active a i{ /* vidljivost "i" na aktivnoj klasi (drugi selektor po redu)  */
    visibility: visible;
    opacity: 1;
}
.meni>li:first-child::after{
    content: "";
    border-top: 5px solid #333;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    position: absolute;
    top:30px;
    right:-5px;

}
#header .meni li.active a{
    color:#f6f6f6;
    
}

.meni>li:nth-child(3)::before{ /* crtica ispod materijala */
    content: "";
    width: 100%;
    border-bottom: 3px solid #f58302; 
    position: absolute;
    bottom:28%;
    left:0;
    display: none;
    transition: all 2s linear;
    -webkit-transition: all 2s linear;
    -moz-transition: all 2s linear;
    -ms-transition: all 2s linear;
    -o-transition: all 2s linear;
    animation:bifor 2s alternate;
    -webkit-animation:bifor 2s alternate;
}
.meni>li:nth-child(3):hover::before{/* hover crtice */
    display: block;
}
.contact a{
    color: #2c3e50;
}
@keyframes bifor {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
/* END HEADER */

/* start NASLOVNA */

#naslovna{
    position: relative;
}
#naslovna h1{
    position:absolute;
    top:15%;
    left:39%;
    color:#fff;
    font-size: 5em;
    font-weight: 600;
    text-transform: uppercase;
}
#naslovna h2{
    position:absolute;
    bottom:35%;
    left:22%;
    color:rgb(247, 244, 244);
    font-size: 2em;
    font-weight: 400;
    text-transform: uppercase;
    background: #2c3e50;
    opacity: 1;
}


#scroll .pulse-button {
    position: absolute;
    bottom: 20%;
    left: 46.5%;
    display: block;
    width: 7%;
    height: 100px;
    border: none;
    background: #333;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0.5);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    animation: pulse 1.5s infinite;
    -webkit-animation: pulse 1.5s infinite;
}

  #scroll .znaj{
      position: absolute;
      top: 44%;
      left: 47%;
      font-size: 14px;
      font-weight: 500;
      color: white;
     
  }

 
  
  @keyframes pulse {
    0% {
      @include transform(scale(.9));
    }
    70% {
      @include transform(scale(1));
      box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
    }
      100% {
      @include transform(scale(.9));
      box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
  }
#naslovna{
        height:600px;
        background: url("../images/slika20.jpg") no-repeat center;
        background-size: 100%;
        animation: fokus 3s linear alternate infinite;
        -webkit-animation: fokus 3s linear alternate infinite;
}
@keyframes fadein{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes putin{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@keyframes arrow{
    from{
        bottom: 10%;
    }
    to{
        bottom: 5%;
    }
    }

#naslovna h1{
    animation: fadein 1s ease-in alternate;
    -webkit-animation: fadein 1s ease-in alternate;
}

#naslovna h2{
    animation: putin 3s linear alternate;
    -webkit-animation: putin 3s linear alternate;
}


#naslovna i{
    position: absolute;
    bottom: 5%;
    left: 48%;
    text-align: center;
    font-size: 60px;
    color: #fff;
    font-weight: 100;
    animation: arrow 2s alternate infinite;
    opacity: 0.8;
}
#icons{
    margin: 70px 20px;;
    position: relative;
}
#icons .container{
    display: flex;
    justify-content: space-between;
    width: 90%;
}
#icons h2{
    text-align: center;
    margin-bottom: 30px;
}
.ikona{
    flex-basis: 23%;
    text-align: center;
}
.ikona h3{
    font-size: 20px;
    margin-top: 30px;
    text-transform: uppercase;
}
.ikona p{
    margin-top: 10px;
    font-size: 1em;
    color: #8b8b87;
}

.ikona>span:first-child::after{
    content: "";
    border-top: 12px solid red;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    position: absolute;
    top:56%;
    left:15%;
}
.ikona:nth-child(2)::after{
    content: "";
    border-top: 12px solid red;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    position: absolute;
    top:56%;
    left:49.5%;
}
.ikona:last-child::after{
    content: "";
    border-top: 12px solid red;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    position: absolute;
    top:56%;
    right:14.5%;
}

#scroll {
    position: relative;
    margin-top: 40px;
    background: url(../images/slika10.jpg) no-repeat center fixed;
    background-size: cover;
    padding: 80px 0;
} 

#word{
    padding: 50px 0;
    text-align: center;
    background: #f58302;
    
}
#word .container{
    width:60%;
}
#word a{
    display: inline-block;
    margin-top: 40px;
    font-size: 18px;
    padding: 5px 15px;
    background: #fff;
    font-weight: 600;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}
#word a:hover{
    background: #8b8b87;
    color: white;
    transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
}
#word h2{
    font-weight: 600;
    padding: 20px 0;
}

#word p{
    line-height: 1.5;
}
/* start FOOTER */
#footer{
    background: #333;
    padding: 50px 0;
 }
 #footer .foot {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 30px;
 }
 .dno{
     flex-basis: 37%;
 }
 .dno h2{
     text-align: center;
     margin-bottom: 10px;
     color: #fff;
 }
 .dno p{
     color: #fff;
 }
 .footer_bottom{
     text-align: center;
     background: #8b8b87;
     padding: 10px 0;
 }
 .dno a{
     color: #fff;
 }
 .dno a:hover{
     color: rgb(243, 239, 6);
     transition: all 0.5s linear ;
     -webkit-transition: all 0.5s linear ;
     -moz-transition: all 0.5s linear ;
     -ms-transition: all 0.5s linear ;
     -o-transition: all 0.5s linear ;
}
 .social{
     padding: 20px 0;
     text-align: center;
     display: flex;
     background: #f58302;
 }
 .social a{
     flex-basis: 25%;
     color: black;
     font-size: 20px;
 }
 .social a:hover i{
    color: white;
    transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
   
}
.top{
    font-weight: bold;
    color: #8b8b87;
    padding:3px 15px;
    display:none;
    font-size:3em;
    position:fixed;
    bottom:20px;
    right:30px;
    border-radius: 8px;
    transition: all 0.3s linear;
    
}
.top:hover{
    color:#2c3e50;
}
 /* end FOOTER */
/* end NASLOVNA */

/* start O_NAMA */

#onama{
        height:600px;
        background: url("../images/slika18.jpg") no-repeat center;
        background-size: 100%;
        position: relative;
        animation: fokus 4s linear alternate infinite;
        -webkit-animation: fokus 4s linear alternate infinite;
}
#onama h2, #usluge h2, #galerija h2{
    position: absolute;
    bottom:10%;
    left: 5%;
    color:#fff;
    font-weight: 500;
    background: #2c3e50;
    opacity:0.8;
    padding: 0 20px;
    animation: upad 2s linear alternate;
    -webkit-animation: upad 2s linear alternate;
}
@keyframes upad{
    from{
        left:-20%;
    }
    to{
        left: 5%;
    }
}
@keyframes fokus{
    from{
        background-size: 100%;
    }
    to{
        background-size: 120%;
    }
}
#tekst{
    padding: 100px 0;
}
#tekst .container{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.text p{
    font-size: 15px;
    line-height:1.5;
    color: #9a9a9a;
}
.text, .video{
    flex-basis: 40%;
}

#figure{
   background: #2c3e50;
    padding: 80px 0;
}
#figure h2{
    text-align: center;
    padding: 20px 0;
}
.boxes{
    display: flex;
    justify-content: space-between;
}
.fig{
    flex-basis: 33%;
    overflow: hidden;
}
#ljudi{
    
    background:#2c3e50;
    padding: 80px 0;
}
#ljudi h2{
    text-align: center;
    padding: 20px 0;
    color: #fff;
}

#ljudi figcaption h2{
    background: #1a2022;
}
#ljudi .fig figure{
    position: relative;
    height: 100%;
}
#ljudi figure img{
    width: 100%;
    height: 100%;
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
}
#ljudi figcaption{
    position: absolute;
    bottom: -7%;
    left: 0;
    right: 0;
    background: rgba(62, 64, 65, 0.4);
    padding: 0;
    text-align: center;
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
}
#ljudi .fig figcaption h2 {
    margin: 5px 0;
    color: #fff;
    font-size: 23px;
    padding: 0;
}
#ljudi .fig figcaption h3 {
    padding: 10px 0;
    color: #fff;
    font-size: 18px;
}

#ljudi .fig figcaption a{
    display: block;
    color: #fff;
    background: rgba(53, 65, 71, 0.6);
    padding: 5px 0;
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
}
#ljudi .fig figure:hover figcaption {
    bottom: 0;
}
#ljudi .fig figcaption a:hover {
    color: #fcde18;
}
#ljudi .fig figcaption p{
    color:#fff;
}
#upit{
    background: url(../images/slika7.jpg) no-repeat center fixed;
    background-size: 100%;
    padding: 80px 0;
}
#upit .container{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#upit .pitanje, #upit btn{
    flex-basis: 30%;
}
#upit h2 {
    color: #fff;
    font-size: 45px;
    line-height: 45px;
    letter-spacing: 0;
    font-weight: 700;
}
.btn a{
    background: #fff;
    padding: 15px 80px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    color: #f76570;
    letter-spacing: 2px;
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
    
}
.btn a:hover{
background: #00ff40;
color: #fff;
}
/* end O_NAMA */

/* start MATERIJALI */
#usluge{
    height:600px;
    background: url("../images/naslovnatwo.jpg") no-repeat;
    background-size: 100%;
    position: relative;
    animation: fokus 5s linear alternate infinite;
    -webkit-animation: fokus 5s linear alternate infinite;
}
#materijali{
    padding: 80px 0;
    
}
#materijali .container{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
#materijali h2{
    text-align: center;
    margin-bottom: 30px;
}
#materijali .box{
    flex-basis: 30%;
    text-align: center;
    border: 1px solid #8b8b87;
   
}
.box h3{
    padding: 20px 0;
    background: #2c3e50;
}
.box p{
    padding: 10px;
}

#materijali .box:hover {
    bottom: -20px;
    background: #2c3e50;
    color: white;
    padding-bottom: 20px;
    transition:all .4s linear ;
    -webkit-transition:all .4s linear ;
    -moz-transition:all .4s linear ;
    -ms-transition:all .4s linear ;
    -o-transition:all .4s linear ;
   
}
#materijali .box:hover h3 {
 color:white;
 background: #333;
}
.opis{
    padding: 10px;
    border-top:1px solid #8b8b87;
}
.opis a{
    float: right;
    width:30px;
    margin-right: 10px;
}
.opis p{
    float: left;
    cursor: pointer;
    font-weight: 500;
    margin-left:10px;

}
.opis:hover p{
    padding-left:20px;
    color: white;
    font-weight: 600;
    transition: all 0.4s linear ;
    -webkit-transition: all 0.4s linear ;
    -moz-transition: all 0.4s linear ;
    -ms-transition: all 0.4s linear ;
    -o-transition: all 0.4s linear ;
}
.opis:hover a{
    transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
.opis:hover i{
    color: white;
   font-weight: 600;
   font-size: 15px;
}
#panel{
        position: relative;
        margin-top: 40px auto;
        text-align: center;
        background: #2c3e50;
        padding-bottom: 20px;
}
#panel h2{
    color: #fff;
    padding: 20px 0;
    
}
.com{
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    width:40%;
    border-bottom: 1px solid #8b8b87;
}

.com li{
    flex: 1;
    display: inline-block;
    
}

.com li a{
    display: block;
    color:#fff;
    padding: 10px;
    text-align: center;
}
.com li.active{
    border: 1px solid #02b0ed;
    border-bottom: none;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    margin-bottom: -2px;
    color: #8b8b87;
}

.cike li.active{
    display:block;
    
}
.cike li{
    display:none;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    margin-top: 40px;
    
}
.cike p{
    color: #fff;
}
#limovi{
    background: #02b0ed;
    padding: 80px 0;
}
#limovi .container{
    display: flex;
    justify-content: space-between;
    width: 95%;
    align-items: center;

}
.kutija{
    flex-basis: 22%;
    background: #2c3e50;
    padding-bottom: 60px;
    height: 499px;
    overflow: hidden;
    
}
.kutija h3{
    text-align: center;
    text-transform: uppercase;
    color: white;
    padding: 10px 0;
}
.kutija p{
    padding:5px;
    color: #fff;
    text-align: center;
    height: 134.8px;
}
.kutija:hover{
    outline: 4px solid rgba(255, 255, 255, .750);
    outline-offset: 7px;
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
}
.kutija img{
    height: 225.71px;
    width: 100%;
    display: block;

}
.kutija img:hover{ /* da ne bi iskakao iz okvira potrebno je ukucati overflow: hidden na roditelja */
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transition: 1s ease;
    -webkit-transition: 1s ease;
    -moz-transition: 1s ease;
    -ms-transition: 1s ease;
    -o-transition: 1s ease;
}

.dugme{
    margin: 10% 2%;
}
.dugme a{
    border: 2px solid #fff;
    padding: 10px 50px;
    color: #fff;
    font-weight: 400;
    display: block;
    text-align: center;
}

.dugme:hover a{
    background: #fff;
    color: #333;
    transition: all .4s linear;
    -webkit-transition: all .4s linear;
    -moz-transition: all .4s linear;
    -ms-transition: all .4s linear;
    -o-transition: all .4s linear;
}
/* end MATERIJALI */
/* start Galerija */
#galerija{
    background: url(../images/slika12.jpg) no-repeat fixed;
    background-size: 100%;
    height: 600px;
    position: relative;
    animation:fokus 5s linear alternate-reverse infinite ;
    -webkit-animation:fokus 5s linear alternate-reverse infinite ;
    overflow: hidden;
}

#slike{
    padding:80px 0;
    background: #2c3e50;
}
#slike h2{
    text-align: center;
    font-size: 3em;
    font-weight: 600;
    padding: 20px 0;
    color: #fff;
    
}
.gallery{
    margin: 10px 50px;
    overflow: hidden;
}
.gallery img{
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
    padding: 15px;
    width: 335px;
    filter: sepia(100%);
    -webkit-filter: sepia(100%);
}
.gallery img:hover{
    filter:grayscale(20%);
    -webkit-filter:grayscale(20%);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/* end Galerija */

/* start KONTAKT */
#velkam{
    background: url(../images/slika16.jpg) no-repeat center;
    height:600px;
    background-size: 100%;
    position: relative;
    animation: fokus 5s linear alternate infinite;
    -webkit-animation: fokus 5s linear alternate infinite;
    overflow: hidden;
}
#velkam h2{
    position: absolute;
    bottom:10%;
    left: 5%;
    color:#fff;
    font-weight: 500;
    background: #2c3e50;
    opacity:0.8;
    padding: 0 20px;
    animation: fadein 2s linear alternate;
    -webkit-animation: fadein 2s linear alternate;
   
}
#kontakt .mapa{
    margin: 10px auto;
    
}
.sadrzaj{
    display: flex;
    justify-content: space-between;
    margin: 60px auto;
}
.mapa{
    outline: 2px solid #8b8d87;
    outline-offset: 5px;
    height:500px;
}
.mapa iframe{
    width: 100%;
    height: 100%;
}
.forma{
    flex-basis: 100%;
    outline: 2px solid #8b8d87;
    outline-offset: 5px;
}
form{
    border:1px solid #8b8d87;
    background: #f6f6f6;
    padding: 20px;
}
.form_one{
    display: flex;
    border:1px solid #8b8b87;
    padding: 10px;
    margin-bottom: 10px;
}
.form_one label{
    display: block;
}
.form_one input{
    width:90%;
}
fieldset{
    padding: 20px;
    border: 1px solid #8b8b87;
    margin: 20px 0;
}

input[type="number"]{ /* selektovanje inputa */
    width:5%;
}
.komentar label, .komentar textarea{
    display: block;
    width: 100%;
    padding:10px 0;
}
input[type="submit"]{
    float: right;
    padding:10px 20px;
    background: #2c3e50;
    color:white;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}
input[type="submit"]:hover{
    background:#02b0eb;
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
}
/* end KONTAKT */

/*  start materijali 2 */

#predstavljamo { 
 position: relative; 
 height: 200px;
 background:#8b8b87;
}
#predstavljamo h2{
    position: absolute;
    top: 77%;
    left: 30%;
    color: #f6f6f6;
    font-size: 80px;
    animation: putin 3s linear alternate;
    -webkit-animation: putin 3s linear alternate;
}
#opsavi{
    background: #333;
}
.image img{
    
    transform-origin: 50% 60%;
    transition: transform 2s, filter 3s ease-in-out;
    -webkit-transition: transform 2s, filter 3s ease-in-out;
    -moz-transition: transform 2s, filter 3s ease-in-out;
    -ms-transition: transform 2s, filter 3s ease-in-out;
    -o-transition: transform 2s, filter 3s ease-in-out;
}
.image img:hover{
    overflow: hidden;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    filter: brightness(150%);
    -webkit-filter: brightness(150%);
}

#opsavi .container, #ravni .container, #lamperija .container, #oprema .container{
    display: flex;
    padding-top: 80px;
    padding-bottom: 40px;
    align-items: center;
    justify-content: space-around;
}
.image, .galanterija{
    flex-basis: 40%;
}
.galanterija h2{
    margin-bottom: 50px;
    color: #f3f3f3;
}
.galanterija p{
    color: #f3f3f3;
    line-height: 1.5;
}

#ravni{
    background:#f58302;
}
#ravni p{
    color: #333;
    font-weight: 600;
}
#ravni h2{
  color: #333;
}
#lamperija{
    background: #333;
}
#lamperija h2{
    color: #f7f7f7;
}
#lamperija p{
    color: #f3f3f3;
    font-weight: 600;
}
#lamperija .image img{
    width: 80%;
}
#oprema{
    background:#f58302;
}
#oprema p{
    color: #333;
    font-weight: 600;
}
#oprema h2{
  color: #333;
}

/* end materijali 2 */
/* start @media */

@media (min-width: 1921px) and (max-width: 2560px) {
    #onama h2, #usluge h2, #galerija h2, #velkam h2{
        font-size: 3em;
    }
    #slike .gallery img{
        width:406px;
    }
    .dno h2{
        font-size: 40px;
    }
    .dno p,a{
        font-size: 25px;
    }
    .social a{
        font-size: 30px;
    }
    .footer_bottom p{
        font-size: 30px;
    }
    #materijali h2{
        font-size: 4em;
    }
    .box h3{
        font-size: 30px;
    }
    .box{
        height: 930px;
    }
    .box p{
        height: 301px;
    }
    .kutija {
        height:550px;
    }
    .kutija h3{
        font-size: 30px;
    }
    .kutija p, .box p, .text p{
        font-size: 20px;
    }
    .cike p{
        font-size: 20px;
    }
    .video{
        height: 355px;
    }
    #ljudi h2{
        font-size: 3em;
    }
    #ljudi figcaption{
        bottom: -5%;
    }
    #ljudi .fig figcaption p{
        font-size: 25px;
    }
    #ljudi .fig figcaption h2 {
        font-size: 35px;
        
    }

    #naslovna h1 {
        top: 20%;
        left: 41%;
        font-size: 7em;
    }
    #naslovna h2{
        bottom: 35%;
        left: 26%;
        font-size: 3em;
    }
    
    #scroll .pulse-button{
        left: 47.5%;
        width: 5%;
    }
    #scroll .znaj{
        left: 48.4%;
    }
    .ikona::after{
        display: none;
    }
    .ikona>span:first-child::after{
        display: none;
    }
    #predstavljamo h2 {
        font-size: 110px;
        top: 70%;
        left: 32%;
    }
    .galanterija h2{
        padding-top: 10px;
        font-size: 60px;
    }
    .galanterija p{
        font-size: 30px;
    }
    .image img{
        width: 100%;
    }
    #lamperija .image img{
        width: 80%;
    }
}/*end min-width:1921px */

/*start @media 1441px*/
@media (min-width: 1441px) and (max-width:1920px){

#scroll .znaj{
    left:47.3%;
}
.gallery img{
    width: 330px;
}

}/* end min-width:1441px */

/* start @media 1024px  */

@media (max-width:1024px){

    .logo {
        margin-right: 0;
    }
    .contact {
        margin-top: 20px;
    }

    nav {
        width: 71%;
    }
    .meni {
        margin: 0;
    }
    .meni>li>a {
        font-size: 16px;
        padding: 20px 5px;
    }
    .meni>li:first-child::after{
        top: 46%;
    }

    #naslovna h1 {
        top: 20%;
        left: 34%;
    }
    #naslovna h2 {
            width: 62%;
            left: 19%;
            font-size: 1.5em;
    }
    #naslovna i{
        font-size: 35px;
        left: 47%;
    }
    .ikona>span::after{
        display: none;
    }
    .ikona::after{
        display: none;
    }
    .ikona p{
        font-size: 10px;
    }
    #icons h2{
        font-size: 30px;
    }
    .ikona h3{
        font-size: 15px;
    }
    #onama h2, #usluge h2, #galerija h2, #velkam h2{
        font-size: 1.5em;
    }
    #ljudi figcaption{
        bottom: -8%;
    }
    #ljudi .fig figcaption h2{
        font-size: 19px;
    }
    #ljudi .fig figcaption p{
        font-size: 13px;
    }

    .box {
        height: 815px;
    }
    .box p{
        height:498.4px;
    }
    #upit h2{
        font-size: 35px;
    }
    .kutija p{
        font-size: 13px;
    }

    .dno h2{
        font-size: 20px;
    }
    .dno p,a{
        font-size: 13px;
    }
    #slike .gallery img{
        width:455px;
    }
    #scroll .pulse-button {
        left: 45%;
        width: 10%;
    }
    #scroll .znaj{
        left: 46%;
    }
    #predstavljamo h2 {
        font-size: 50px;
        top: 86%;
        left: 31%;
    }
    .galanterija h2{
        padding-top: 10px;
        font-size: 25px;
    }
    .galanterija p{
        font-size: 15px;
    }
    .image img{
        width: 100%;
    }
    #lamperija .image img{
        width: 80%;
    }
    .video iframe {
        width: 480px;
        height: 380px;
    }
    .text p{
        font-size: 13px;
    }

}/* end 1024px */
/* start @media 768px */
@media (max-width:768px){
    
    .container, nav{
        width: 95%;
    }
    
    .contact, .logo {
        width: 30%;
        text-align: center;
    }
    .contact {
        margin-top: 55px;
    }

    .meni li a {
    font-size: 10px;
    margin-top: 20px;
    }

    .meni>li:first-child::after{
        top:41px;
    }
    #onama, #naslovna, #usluge, #galerija, #velkam  {
        height: 400px;
        }   

    #naslovna h1 {
            position: absolute;
            top: 44%;
            left: 33%;
            font-size: 4em;
    }
    #naslovna h2 {
        position: absolute;
        bottom: 25%;
        left: 22%;
        font-size: 1em;
        width: 55%;
    }
    #usluge h2, #galerija h2, #velkam h2{
        position: absolute;
        bottom: 5%;
        left:5%;
        font-size: 1.5em;
    }
    
    #naslovna i {
        position: absolute;
        bottom: 3%;
        left: 48%;
        font-size: 35px;
    }
    .text p {
        font-size: 12px;
    }
    .video iframe {
        width: 400px;
        height: 369px;
    }

    #ljudi .fig figcaption h2{
        font-size: 15px;
    }
    #ljudi .fig figcaption p{
        font-size: 12px;
    }
    #upit h2 {
        font-size: 30px;
    }
    .btn a {
        padding: 8px 45px;
    }
    #scroll .pulse-button {
        left: 43.5%;
        width: 13%;
    }
    #scroll .znaj{
        left: 44.5%;
    }
    .menu {
        margin: 0;
    }

    #icons h2{
        font-size:28px;
    }

    #icons .container{
        width: 98%;
    }
    .ikona h3{
        font-size: 13px;
    }

    .ikona p{
        margin-top:15px;
        font-size: 13px;
    }
    
    .ikona::after, .ikona>span::after{
        display: none;
    }
    .box {
        height:908px;
    }
    .box p{
        height: 630px;
        font-size: 15px;
    }

    .cike p{
        font-size: 15px;
    }
    .kutija{
        height:380px;
    }
    
    .kutija h3{
        font-size: 13px;
    }
    .kutija p{
        font-size: 10px;
    }
    .kutija img{
        height: 130px;
    }
    .dugme{
            margin: 0% 6%;
            width: 89%;
    }
    .dugme a {
        font-size: 10px;
        padding: 5px 0;
        color: #fff;
        font-weight: 400;
        display: block;
    }

    .dno h2{
        font-size: 25px;
    }
    .dno p,a{
        font-size: 12px;
    }

    #slike .gallery img{
        width:330px;
    }

    #predstavljamo h2 {
        font-size: 40px;
        top: 90%;
        left: 30%;
    }
    .galanterija h2{
        padding-top: 10px;
        font-size: 25px;
    }
    .galanterija p{
        font-size: 15px;
    }
    .image img{
        width: 100%;
    }
    #lamperija .image img{
        width: 80%;
    }

}/* end */

/* end @media 768px */

@media (max-width:500px){/* uredjivanje buttona na mobilnim uredjajima */

    #header {
    padding: 10px;
    }

    #header .container{
        display:flex;
        justify-content: space-between;
    }

    .contact, .meni{
        display:none;
    }

    .logo{
        float: none;
        flex-basis: 30%;
    }
    nav{
        float: none;
    }

#onama, #naslovna, #usluge, #galerija, #velkam  {
    height: 200px;
    }    
    
    .mobile_menu{
        display: block;
        width:45px;
        height:40px;
        border:2px solid #333;
        background: #2c3e50;
        border-radius: 8px     ;
        -webkit-border-radius: 8px     ;
        -moz-border-radius: 8px     ;
        -ms-border-radius: 8px     ;
        -o-border-radius: 8px     ;
        margin-top: 10px;
        position: absolute;
        right: 5%;
        top: 5%;
}
    .meni>li>a{
        padding: 10px;
    }
    
    .meni>li a i{
        display: none;
    }
    .mobile_menu.click{
        border-color: #2c3e50;
        background: #02b0ed;
    }
    #header.sticky .meni>li>a{
        color: #fff;
    }
    #header.sticky .meni>li.active>a{
        color:#f58302;
    }
    
    .meni{/* pozicioniranje nava za male ekrane */
        position: absolute;
        top:112%;
        left:13px;
        width: 85%;
        background: rgba(51, 51, 51, 0.8);
        box-shadow: inset 0 0 10px #2c3e50;
        padding: 10px;
    }

    .meni>li:first-child::after{
        display: none;
    }
    #naslovna h1{
        position: absolute;
        top:45%;
        left:30%;
        font-size:2.5em;
        font-weight: 600;
    }
    #naslovna h2{
        position: absolute;
        bottom:15%;
        left: 21%;
        font-size: 9px;
        width: 55.5%;
    }
    #naslovna i{
     display: none;
 }

 #icons{
    display: flex;
 }
 #icons h2{
     display: none;
 }

 #icons .container{
     flex-direction: column;
 }

.ikona h3 {
    font-size: 15px;
}
.ikona p{
    font-size: 10px;
}
 .ikona::after {
     display: none;
 }
 .ikona>span:first-child::after{
     display: none;
 }
 
 #scroll .pulse-button{
    position: absolute;
    bottom: 20%;
    left: 37%;
    width: 25%;
 }
 #scroll .znaj{
     left:40%;
 }
 #footer .container, #tekst .container, #materijali .container{
     flex-direction: column;
 }
 #footer .foot {
    flex-direction: column;
    align-items: flex-start;
 }
 .boxes{
     align-items: flex-start;
 }
 /* end media INDEX */
 /* start o_nama */

#onama h2, #usluge h2, #galerija h2, #velkam h2{
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 11px;
    padding: 0 5px;
}
.video iframe {
    width: 100%;
}
#ljudi .container h2{
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
}
.boxes{
    flex-direction: column;
    align-items: flex-start;
}
#ljudi figcaption{
    position: absolute;
    bottom:-7%;
}

#upit h2{
    color: #fff;
    font-size: 13px;
    line-height: 45px;
    letter-spacing: 0;
    font-weight: 700;
}

#upit .btn a{
    padding: 5px 16px ;
}
 /* end o_nama */
 /* start materijali */

#materijali .box{
    margin-bottom: 10%;
    height: 482px;
}
#materijali h2{
    font-size: 30px;
}
.box{
    height: 480px;
}
.box p{
    height:400px;
}
.opis{
    height: 50px;
}
.opis p{
    height: 45px;
}
#panel h2{
    font-size: 20px;
}
.com {
    width: 100%;
}
.com li>a {
    padding: 4px;
}
#materijali{
    padding: 30px 0;
}
#limovi .container{
    flex-direction: column;
    align-items: flex-start;
}
.kutija{
    margin-bottom: 10px;
    height: 450px;
}
 /* end materijali */
 /* start materijali 2 */

 #opsavi .container, #ravni .container, #lamperija .container, #oprema .container{
    flex-direction: column;
    align-items: flex-start;
    width: 95%;
    text-align: center;
}
#predstavljamo h2 {
    font-size: 35px;
    bottom: 10%;
    left: 18%;
}
.galanterija h2{
    padding-top: 10px;
    font-size: 20px;
}
.galanterija p{
    font-size: 13px;
}
.image img{
    width: 100%;
}
#lamperija .image img{
    width: 80%;
}
 /* end materijali 2 */
 #slike h2 {
    text-align: center;
    font-size: 2em;
 }
} /* end mediaaa 500px */

@media (max-width:424px){

    #naslovna h1{
        position: absolute;
        top:50%;
        left:25%;
        font-size:2.5em;
        font-weight: 600;
    }
    #naslovna h2{
        display: none;
    }
    #scroll .znaj{
        left:39%;
    }
}
@media (max-width:374px){

    #scroll .pulse-button{
        width: 30%;
        left:35%;
     }
    #scroll .znaj{
        left:37%;
    }
    .footer_bottom p{
        font-size: 14px;
    }
}
/* end @media */