/* Loknica CSS */

/* RESET *************************************/
*{	
    box-sizing:border-box;
    margin:0;}

/* Osnovno uređivanje HTML-a *****************/    
body{
    font-family:"Poppins-Regular";
    font-size:16px;
    color:#333;}
body::-webkit-scrollbar {
      display: none;
    }
@font-face {
    font-family: "Poppins-Regular";
    src: url(fonts/Poppins-Regular.ttf);}
@font-face {
    font-family: "Poppins-SemiBoldItalic";
    src: url(fonts/Poppins-SemiBoldItalic.ttf);}
@font-face {
    font-family: "Poppins-Bold";
    src: url(fonts/Poppins-Bold.ttf)
}
@font-face {
    font-family: "PlayfairDisplay-Medium";
    src: url(fonts/PlayfairDisplay-Medium.ttf);}
@font-face {
    font-family: "PlayfairDisplay-Regular";
    src: url(fonts/PlayfairDisplay-Regular.ttf);}
@font-face {
    font-family: "PlayfairDisplay-Bold";
    src: url(fonts/PlayfairDisplay-Bold.ttf);}
@font-face {
    font-family: "PlayfairDisplay-SemiBold";
    src: url(fonts/PlayfairDisplay-SemiBold.ttf);}
h2{
    font-family: "PlayfairDisplay-Bold";
    font-size: 30px;
}
ul{	
    list-style-type:none;
    padding:0}
a{	
    text-decoration:none;
    color:#333;}   

/* Layout ************************************/
.mainpic{
    background:url(slike/loknica-main222.jpg) no-repeat center center/cover;
    height: 100vh;
    width: 100%;}
main{
    background: url(slike/main-background.jpg) fixed no-repeat center center/cover;}
.wrapper{
    max-width:1200px;
    margin:0 auto;}
    
/* Navigacija ********************************/
#scrollnav{
    display: none;
}
#scrolllogo{
    margin-top:5px;
    width: 30%;
    text-align: right;
}
#druganavigacija{
    width:40%;
}
#druganavigacija ul{
    display:flex;
    justify-content: center;
}
#druganavigacija ul li {
    margin: 0 25px 0 25px;
}
#druganavigacija ul li a{
    padding:0 10px 0 10px;
    font-size: 14px;	
    position: relative;
    color:#333;
}
#druganavigacija ul li a::before {
    background: #440751;
    opacity: 0.5;
    border-radius: 15px;
    content: "";
    inset: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-in-out;
}     
#druganavigacija ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
#druga-social{
    margin-top: 8px;
    width:30%;
    text-align: left;
}
#druga-social a{
    margin: 0 10px 0 10px;
}
#druga-social a img{
    width: 26px;
}
#druga-social a img:hover{
    transform: scale(1.2) rotate3d(0, 1, 0, 360deg);
    transition: 1.5s ;
}

nav{
    display: flex;
    padding-top: 40px;
}
#myNav{
	display: none;}
#hamburger{
	display: none;}
#navigacija ul{
    display: flex;
}
#navigacija ul li:first-of-type{
    margin-left:120px;
}
#navigacija ul li{
    padding-top: 50px;
    margin-left: 37.5px;
    font-size: 18px;
}
#navigacija ul li a{	
    display: block;
    padding:0 10px 0 10px;
    text-decoration:none;
    position: relative;
    color:#333;
}
#navigacija ul li a::before {
    background: #440751;
    opacity: 0.5;
    border-radius: 15px;
    content: "";
    inset: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease-in-out;
}     
#navigacija ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
#social{
    padding-top: 45px;
    margin-left: 110px;
}
#social a:nth-of-type(2){
    margin-left: 55px;
}
#social a img:hover{
    transform: scale(1.2) rotate3d(0, 1, 0, 360deg);
    transition: 1.5s ;
}
:root{
    --showAfter: 2s;
}
.maintxt h1{
    font-family: "PlayfairDisplay-Medium";
    font-weight: normal;
    font-size: 60px;
    letter-spacing: -4.5px;
    margin-top: 190px;
    margin-left: 45px;
    opacity: 0;
    transform: translateX(-3rem);
    animation: fadeInUp 2s ease forwards;
}
.maintxt h3{
    font-family: "PlayfairDisplay-Regular";
    font-weight: normal;
    font-size: 40px;
    letter-spacing: -2.5px;
    text-align: center;
    margin-right: 575px;
    margin-top: 50px;
    opacity: 0;
    transform: translateX(3rem);
    animation: fadeInUp 3s ease calc(var(--showAfter)) forwards;
}
@keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Main */

/* O nama ***************************************************/

#onama, #usluge, #usluge-kaj, #galerija, #galerija-kaj, #kontakt, #kontakt-kaj{
    display: block;
    padding-top: 60px;
}
#onama-naslov{
    text-align: center;
}
#onama-naslov p{
    font-family: "Poppins-SemiBoldItalic";
    margin:50px 0 50px 0;
    font-size: 16px;
    color: rgb(0, 0, 0);
    line-height: 2.25;
    text-align: center;
    transform: scale(0.9, 1);     
}
#onama-prvi{
    display:flex;
}
#onama-prvi p{
    font-size: 16px;
    text-align: justify;
    color:black;
    transform: scale(0.9, 1);
    line-height: 2.25;
    letter-spacing: 0.025em;
    margin:0 40px 0 40px;
}
#onama-prvi img:nth-of-type(1){
    align-self: center;
    margin:0 0 0 46px;
}
#onama-prvi img:nth-of-type(2){
    align-self: center;
    margin:0 46px 0 0;
}
#partneri{
    font-size: 0;
    margin:70px 10px 140px 10px;
    display: flex;    
}
#partneri div{
    width:200px;
    text-align: center;
    align-self: center;
    margin:0 22.5px 0 22.5px;
}
#partneri div:nth-of-type(2){
    margin-top: 5px;
}
#partneri div:nth-of-type(4){
    margin-bottom: 40px;
}
#klijenti {
    margin-bottom: 70px;
}
#klijenti p:first-of-type{
    margin-left: 35px;
    margin-bottom: 10px; 
    font-weight: bold;
}
#klijenti div, #klijenti p:last-of-type{
    text-align: center;
    font-family: "Poppins-Bold";
    font-size: 19px;
}
#rating{
    display: flex;
    justify-content: center;
    margin-left: 100px;
    margin-right: 100px;
}
#rating div{
    font-size: 14px;   
}
#rating div img{
    width: 243px;
    height: 162px;
}
#rating div h5{
    font-family: "PlayfairDisplay-Bold";
    font-size: 24px;
    margin: 10px 0 20px 0;
    text-align: left;
}
#rating div:nth-of-type(2){
    margin:0 135px 0 135px;
}

/* Usluge ************************************************************/

#usluge-naslov{
    text-align: center;
}
#usluge-naslov p{
    margin:50px 0 50px 0;
    font-size: 16px;
    color: rgb(0, 0, 0);
}
#usluge-prvi{
    display: flex;
    justify-content: center;
} 
#usluge-prvi div div{
    display: flex;
    margin-bottom: 10px;
}
#usluge-prvi div div img{
    width: 16px;
    height: 16px;
    margin: 7px 40px 0 0;
} 
#prvaslika-usluge, #prvaslika-kontakt{
    align-self: center;
    margin:0 280px 0 0;
}
#drugaslika-usluge, #drugaslika-kontakt{
    align-self: center;
    margin:0 0 0 280px;
}
#pramenovi, #balayage-pramenovi{
    margin: 70px 25px 0 25px;
}
#pramenovi h6, #balayage-pramenovi h6{
    font-family: "PlayfairDisplay-SemiBold";
    font-size: 26px;
    margin-bottom: 70px;
}
#pramenovi div, #balayage-pramenovi div{
    display: flex;
}
#pramenovi p, #balayage-pramenovi p{
    margin-right:100px;
    line-height: 2.25;
}

/* Galerija *******************************************************/
.galerija h2{
    text-align:center;
    margin-bottom: 50px;
}
.gallery{
    font-size:0px;
    margin:0px 75px 0px;}
.gallery a img{
    padding:1px;
    background-color:black;
    opacity:0.9;}
#main-slika{
    opacity:1;}
#main-slika{
    display:block;
    text-align:center;
    margin-bottom:10px;}
#druge-slike{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.gallery img:hover{
    opacity:1;
    cursor:pointer;}
.gallery a{
    margin:10px 10px 0 10px;}

/* Kontakt *********************************************************/
#kontakt-naslov{
    text-align: center;
}
#kontakt-naslov p{
    display: inline-block;
    margin:50px 0 50px 0;
    font-size: 16px;
    padding: 0 20px 0 20px;
    color: white;
    line-height: 2.25;
    text-align: center;
    transform: scale(0.9, 1);
    background: black;
    border: 1px solid black;
    border-radius: 20px;
}
#kontakt-podaci-main{
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}
#kontakt-podaci-main img{
    align-self: center;
}
#userpic{
    padding:0 3px 0 3px;
    margin-right: 80px;
    margin-left:30px
}
#callpic{
    margin-right: 80px;
    margin-left:30px
}
#locationpic{
    padding:0 3.5px 0 3.5px;
    margin-right: 80px;
    margin-left:30px
}
#kontakt-prvi{
    display:flex;
    margin-bottom: 30px;
}
#kontakt-drugi{
    display:flex;
    margin-bottom: 30px;
}
#kontakt-treci{
    display:flex;
}
#kontakt-prvi p, #kontakt-drugi p, #kontakt-treci p{
    margin-top:5px;
}
#radno-vrijeme{
    text-align: center;
    justify-content: center;
    padding:30px 0 30px 0;
}
#radno-vrijeme p{
    margin: 10px 0 10px 0;
    background: white;
    display: inline-block;
    border:1px solid black;
    border-radius: 20px;
    padding: 0 20px 0 20px;
}

.iframe{
	height:700px;}
iframe{
	height:100%;
    width: 100%;}

/* Footer ******************************************************************/

footer{
    background: black;
}
.footer{
    display: flex;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px 0 20px 0;
}
.footer h5{
    font-size: 20px;
    font-family: "PlayfairDisplay-Bold";
}
.footer a{
    color: white;
    padding: 0 5px 0 5px;
}
.footer li{
    display: flex;
    margin: 10px 0 10px 0;
    justify-content: center;
}
.footer ul li div{
    margin: 3px 0 0 10px;
}
#footlogo{
    width:400px;
}
#footdrustvene{
    width:400px;
}
#footkontakt{
    width:400px;
}
#MB10{
    text-align: center;
    color: white;
    padding-bottom: 20px;
}


@media (min-width:3000px){
    .mainpic{
        background:url(slike/loknica-main-1200px222.jpg) no-repeat center center/cover;
    }
    .maintxt{
        padding: 30vh 13vw 0 0;
    }
    .maintxt h1{
        display: block;
        margin: 0 0 0 0;
        text-align: center;
        font-size: 75px;
    }
    .maintxt h3{
        font-size: 50px;
        padding-top: 20px;
        margin:60px 0 0 0;
        text-align: center;
    }
}

@media (min-width:2000px) and (max-width:2800px){
    .maintxt{
        padding: 27vh 27vw 0 0;
    }
    .maintxt h1{
        display: block;
        margin: 0 0 0 0;
        text-align: center;
    }
    .maintxt h3{
        padding-top: 20px;
        margin:60px 0 0 0;
        text-align: center;
    }
}

@media (height:1200px){

    #scrolllogo img{
        margin-right: 0.7%;
    }
    #druga-social a:first-of-type{
        margin-left: 0.7%;
    }

    .maintxt h1{
    
        margin-top: 305px;
        margin-left: 0px;
    }
    .maintxt h3{
       
        margin-right: 650px;
        margin-top: 60px;
    }
}
@media (height:1060px){

    .maintxt h1{
    
        margin-top: 240px;
        margin-left: 0px;
    }
    .maintxt h3{
       
        margin-right: 650px;
        margin-top: 60px;
    }
}

@media (min-width:1300px) and (height:1080px){

    .maintxt h1{
    
        margin-top: 250px;
        margin-left: 50px;
    }
    .maintxt h3{
       
        margin-right: 495px;
        margin-top: 60px;
    }
}

@media (min-width:1300px) and (min-height:1000px) and (max-height:1050px){
    #scrolllogo img{
        margin-right: 10%;
    }
    #druga-social a:first-of-type{
        margin-left: 10%;
    }
    .maintxt h1{
    
        margin-top: 240px;
        margin-left: 50px;
    }
    .maintxt h3{
       
        margin-right: 560px;
        margin-top: 70px;
    }
}

@media (min-width:1300px) and (min-height:860px) and (max-height:910px){
    #scrolllogo img{
        margin-right: 10%;
    }
    #druga-social a:first-of-type{
        margin-left: 10%;
    }
    .maintxt h1{
    
        margin-top: 180px;
        margin-left: 50px;
    }
    .maintxt h3{
       
        margin-right: 560px;
        margin-top: 60px;
    }
}
@media (min-width:1300px) and (max-height:900px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    .maintxt h1{

        margin-top: 175px;
    }
    #social{
        margin-left: 100px;
    }
}
@media (width:1600px) and (min-height:720px) and (max-height:770px){
    .maintxt h1{
    
        margin-top: 120px;
        margin-left: 110px;
        font-size: 55px;
    }
    .maintxt h3{
       
        margin-right: 500px;
        margin-top: 60px;
        font-size: 35px;
    }
}
@media (min-width:1500px) and (max-width:1550px) and (max-height:870px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    #logo img{width: 300px;}
    #navigacija ul li{
        padding-top: 40px;
    }
    #navigacija ul li:first-of-type{
        margin-left:80px;}
    #navigacija ul li a{
        font-size: 16px;
    }
    #social{
        padding-top: 37px;
        margin-left: 110px;
    }
    #social img{width:30px;
    }
    .maintxt h1{
        font-size: 50px;
        margin-top: 175px;
        margin-left: 120px;
    }
    .maintxt h3{
        font-size: 33px;
        margin-top: 50px;
        margin-right: 530px;
    }
}
@media (min-width:1500px) and (max-width:1550px) and (max-height:800px){

        #scrolllogo img{
            margin-right: 13.5%;
        }
        #druga-social a:first-of-type{
            margin-left: 13.5%;
        }
        #logo img{width: 300px;}
        #navigacija ul li{
            padding-top: 40px;
        }
        #navigacija ul li:first-of-type{
            margin-left:80px;}
        #navigacija ul li a{
            font-size: 16px;
        }
        #social{
            padding-top: 37px;
            margin-left: 90px;
        }
        #social img{width:30px;
        }
        #social a:nth-of-type(2){
            margin-left: 30px;
        }
        .maintxt h1{
            font-size: 50px;
            margin-top: 120px;
            margin-left: 145px;
        }
        .maintxt h3{
            font-size: 33px;
            margin-top: 50px;
            margin-right: 480px;
        }
    }
    @media (min-width:1300px) and (max-height:628px){
        #scrolllogo img{
            margin-right: 13.5%;
        }
        #druga-social a:first-of-type{
            margin-left: 13.5%;
        }
        #logo img{width: 300px;}
        #navigacija ul li{
            padding-top: 40px;
        }
        #navigacija ul li:first-of-type{
            margin-left:40px;}
        #navigacija ul li a{
            font-size: 16px;
        }
        #social{
            padding-top: 37px;
            margin-left: 40px;}
        #social a:nth-of-type(2){
            margin-left: 10px;}
        #social img{
            width:30px;}
        .maintxt h1{
            font-size: 55px;
            margin-top: 80px;
            margin-left: 180px;
        }
        .maintxt h3{
            font-size: 33px;
            margin-top: 40px;
            margin-right: 370px;
        }
    }
    
    /* Less than 1300 width *******************************/
    
    @media (max-width:1299px) and (max-height:1200px){
        .mainpic{
            background:url(slike/loknica-main-1200px222.jpg) no-repeat center center/cover;
        }
        #scrolllogo img{
            margin-right: 13.5%;
        }
        #druga-social a:first-of-type{
            margin-left: 13.5%;
        }
        .maintxt h1{
            margin-top: 270px;
            margin-left: 0px;
        }
        .maintxt h3{
            margin-top: 50px;
            margin-right: 580px;
        }
}

@media (min-width:1300px) and (max-width:1499px) and (max-height:768px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    #logo img{width: 300px;}
    #navigacija ul li{
        padding-top: 40px;
    }
    #navigacija ul li:first-of-type{
        margin-left:80px;}
    #navigacija ul li a{
        font-size: 16px;
    }
    #social{
        padding-top: 37px;
        margin-left: 110px;}
    #social img{width:30px;}
    .maintxt h1{
        font-size: 50px;
        margin-top: 140px;
        margin-left: 150px;
    }
    .maintxt h3{
        font-size: 33px;
        margin-top: 50px;
        margin-right: 450px;
    }
}
@media (min-width:1300px) and (max-height:628px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    #logo img{width: 300px;}
    #navigacija ul li{
        padding-top: 40px;
    }
    #navigacija ul li:first-of-type{
        margin-left:40px;}
    #navigacija ul li a{
        font-size: 16px;
    }
    #social{
        padding-top: 37px;
        margin-left: 40px;}
    #social a:nth-of-type(2){
        margin-left: 10px;}
    #social img{
        width:30px;}
    .maintxt h1{
        font-size: 50px;
        margin-top: 80px;
        margin-left: 180px;
    }
    .maintxt h3{
        font-size: 33px;
        margin-top: 40px;
        margin-right: 405px;
    }
}

/* Less than 1300 width *******************************/

@media (max-width:1299px) and (max-height:1200px){
    .mainpic{
        background:url(slike/loknica-main-1200px222.jpg) no-repeat center center/cover;
    }
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    .maintxt h1{
        margin-top: 270px;
        margin-left: 0px;
    }
    .maintxt h3{
        margin-top: 50px;
        margin-right: 650px;
    }

}
@media (max-width:1299px) and (max-height:884px){
    .mainpic{
        background:url(slike/loknica-main-1200px222.jpg) no-repeat center center/cover;
    }
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    .maintxt h1{
        margin-top: 200px;
        margin-left: 0px;
    }
    .maintxt h3{
        margin-top: 50px;
        margin-right: 657.5px;
    }
    #social{
        margin-left:60px;
    }
    #navigacija ul li:first-of-type{
        margin-left:60px;}

}

@media (max-width:1299px) and (min-height:890px) and (max-height:900px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    #logo img{width: 300px;}
    #navigacija ul li{
        padding-top: 40px;
    }
    #navigacija ul li:first-of-type{
        margin-left:80px;}
    #navigacija ul li a{
        font-size: 16px;
    }
    #social{
        padding-top: 37px;
        margin-left: 110px;}
    #social img{width:30px;}
    .maintxt h1{
        font-size: 55px;
        margin-top: 150px;
        margin-left: 150px;
    }
    .maintxt h3{
        font-size: 33px;
        margin-top: 50px;
        margin-right: 410px;
    }
}

@media (max-width:1200px) and (max-height:799px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    #logo img{width: 300px;}
    #navigacija ul li{
        padding-top: 40px;
    }
    #navigacija ul li:first-of-type{
        margin-left:80px;}
    #navigacija ul li a{
        font-size: 16px;
    }
    #social{
        padding-top: 37px;
        margin-left: 80px;}
    #social img{width:30px;}
    .maintxt h1{
        font-size: 55px;
        margin-top: 120px;
        margin-left: 160px;
    }
    .maintxt h3{
        font-size: 33px;
        margin-top: 40px;
        margin-right: 410px;
    }
}

@media (max-width:1300px) and (max-height:750px){
    #scrolllogo img{
        margin-right: 13.5%;
    }
    #druga-social a:first-of-type{
        margin-left: 13.5%;
    }
    #logo img{width: 300px;}
    #navigacija ul li{
        padding-top: 40px;
    }
    #navigacija ul li:first-of-type{
        margin-left:80px;}
    #navigacija ul li a{
        font-size: 16px;
    }
    #social{
        padding-top: 37px;
        margin-left: 80px;}
    #social img{width:30px;}
    .maintxt h1{
        font-size: 50px;
        margin-top: 120px;
        margin-left: 80px;
    }
    .maintxt h3{
        font-size: 33px;
        margin-top: 40px;
        margin-right: 600px;
    }

}

@media (max-width:1199px){
    .mainpic{
        background: url(slike/loknica-main-mobile111.jpg) no-repeat center center/cover;
    }
    nav{
        height: 51px;
        top:0;
        display:flex;
        position:fixed;
        justify-content:center;
        z-Index: 100;
        background: #f5f5f7;
        border-bottom: black 1px solid;
        width: 100%;
        align-items: center;
        padding-top: 0 !important;
    }
    #logo{
        margin-top:5px;
        width: 25%;
        text-align: center;
    }
    #logo img{
        width: 100px;
    }
    #navigacija{
        width:50%;
        margin: 0 0 0 0;
    }
    #navigacija ul{
        display:flex;
        justify-content: center;
    }
    #navigacija ul li:first-of-type{
        margin-left: 0;
    }
    #navigacija ul li {
        margin: 0 3% 0 3%;
        padding-top: 0;
    }
    #social{
        padding-top: 0;
        width:25%;
        text-align: center;
        margin: 8px 0 0 0;
    }
    #social a{
        margin: 0 0 0 0;
        text-align: left;
    }
    #social a img{
        width: 26px;
        margin: 0 5% 0 5%;
    }
    #social a:nth-of-type(2) {
        margin-left: 0;
    }
    .maintxt{
        padding: 40vh 0 0 0;
        text-align: center;
    }
    .maintxt h1{
        display: inline-block;
        margin: 0 0 0 0;
        color: black;
        letter-spacing: 1;
     
      
        padding: 0 10px 3px 10px;
    }
    .maintxt h3{
        padding-top: 20px;
        margin:0 0 0 0;
        text-align: center;
    }
    #onama-prvi p{
        margin:0 3.3% 0 3.3%;
    }
    #onama-prvi img:nth-of-type(1){
        margin:0 0 0 3.83%;
    }
    #onama-prvi img:nth-of-type(2){
        margin:0 3.83% 0 0;
    }
    #partneri{
        font-size: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;  
        margin: 70px 0 30px 0; 
    }
    #partneri div {
        flex: 0 0 25%;
        margin-bottom: 50px;
      }
    #partneri div:nth-of-type(2){
        margin-top: 5px;
    }
    #partneri div:nth-of-type(4){
        margin-bottom: 90px;
    }
    #rating{
        flex-wrap: wrap;
        margin-left: 100px;
        margin-right: 100px;
    }
    #rating div{
        flex-basis:100%;
        justify-content: center;   
        text-align: center;
    }
    #rating div img{
        width: 243px;
        height: 162px;
    }
    #rating div h5{
        font-family: "PlayfairDisplay-Bold";
        font-size: 24px;
        margin: 10px 0 20px 0;
        text-align: center;
    }
    #rating div:nth-of-type(2){
        margin:20px 0 20px 0;
    }
    #prvaslika-usluge, #prvaslika-kontakt{
        align-self: center;
        margin:0 20% 0 3.333%;
    }
    #drugaslika-usluge, #drugaslika-kontakt{
        align-self: center;
        margin:0 3.333% 0 20%;
    }
    #pramenovi, #balayage-pramenovi{
        margin: 70px 2.5% 0 2.5%;
    }
    #pramenovi div, #balayage-pramenovi div{
        display: block;
        text-align: center;
    }
    #pramenovi p, #balayage-pramenovi p{
        margin:0 0 30px 0;
        line-height: 2.25;
        text-align: left;
    }
    #main-slika{
        margin-bottom: 0;
    }
    #main-slika img{
        width: 400px;
    }
    #druge-slike{
        display: none;
    }
    #kontakt-prvi, #kontakt-drugi, #kontakt-treci{
        text-align: left;
    }
    #userpic{
        padding:0 3px 0 3px;
        margin-right:16%;
        margin-left:10px;
    }
    #callpic{
        margin-right:16%;
        margin-left:10px;
    }
    #locationpic{
        padding:0 3.5px 0 3.5px;
        margin-right:16%;
        margin-left:10px;
    }

}

@media (max-width:900px){
    #hamburger{
        font-size:24px;
        display:block;
        text-align: center;
        line-height:70px;
        -webkit-tap-highlight-color: rgba(0,0,0,0);}
    #myNav{
        display:block;}
    .overlay{
        height:100%;
        width:0;
        position:fixed;
        z-index:1;
        top:0;
        left:0;
        background:url(slike/main-background.jpg) fixed no-repeat center center/cover;
        overflow-x:hidden;
        transition:1s;}
    .overlay-content{
        position:relative;
        top:100px;
        width:100%;
        text-align:center;
        margin-top:0px;}
    .overlay a{
        padding:30px;
        text-decoration:none;
        font-size:30px;
        color:black;
        display:block;
        font-family: "PlayfairDisplay-Medium";
        transition:0.3s;}
    .overlay a:hover, .overlay a:focus{
        color: #440751;}
    .overlay .closebtn{
        position: absolute;
        top: 10px;
        right: 6%;
        font-size: 60px;}
    .overlay img {
        margin:30px 0 30px 0;
        max-width: 70%;
    }
    #navigacija ul{
        display: none;
    }
    .maintxt h1{
        font-size: 50px;
    }
    #onama-naslov{
        width: 85%;
        text-align: center;
        margin-left:7.5%;
        margin-right: 7.5%;
    }
}
@media (max-width:700px){
    nav{
        padding: 0 10px 0 10px;
    }
    #logo{
        text-align: left;
        width: 40%;
    }
    #navigacija{
        width: 20%;
    }
    #social{
        width: 40%;
        text-align: right;
    }
    #social a img {
        width: 26px;
        margin: 0 0 0 10px;}
    .maintxt h1{
        font-size: 40px;
    }
    .maintxt h3{
        font-size: 30px;
    }
    #onama-prvi img{
        display: none;
    }
    #prvaslika-usluge, #prvaslika-kontakt{
        align-self: center;
        margin:0 15% 0 3.333%;
    }
    #drugaslika-usluge, #drugaslika-kontakt{
        align-self: center;
        margin:0 3.333% 0 15%;
    }
    .gallery{
        margin:0;
    }
    .footer{
        display: block;
        text-align:center;
    }
    #footlogo, #footdrustvene, #footkontakt{
        width:auto;
        padding: 20px 0 20px 0;
    }
    .iframe{
        height:400px;}

}

@media (max-width:600px){
    #prvaslika-usluge, #prvaslika-kontakt{
        align-self: center;
        margin:0 10% 0 3.333%;
    }
    #drugaslika-usluge, #drugaslika-kontakt{
        align-self: center;
        margin:0 3.333% 0 10%;
    }
    #pramenovi img, #balayage-pramenovi img, #main-slika img{
        width:300px;
    }
    #klijenti p:first-of-type{
        text-align: center;
        margin: 0 0 30px 0;
    }
}

@media (max-width:500px){
    .maintxt{
        padding: 42.5vh 0 0 0;
    }
    #onama-prvi p{
        text-align: left;
    }
    #usluge-naslov p{
        margin-left: 5%;
        margin-right: 5%;
    }
    #prvaslika-usluge, #prvaslika-kontakt{
        display: none;
    }
    #drugaslika-usluge, #drugaslika-kontakt{
        display: none;
    }
    #usluge-prvi div div img{
        width: 16px;
        height: 16px;
        margin: 7px 8% 0 0;
    } 
    #partneri div img{
        width:100%;
        height:100%;
    }
    #partneri div:nth-of-type(4) {
        margin-bottom: 70px;
    }
    #rating div p{
        text-align: left;
    }
    #logo{
        display: none;
    }
    #navigacija{
        width: 50%;
        text-align: left;
    }
    #hamburger{
        text-align: left;
        margin-left: 20px;
        width: 40px;
    }
    #social{
        width: 50%;
    }
    #social a:nth-of-type(2){
        margin-right: 10px;
    }
}
@media (max-width:300px){

    #pramenovi img, #balayage-pramenovi img, #main-slika img{
        width:243px;}
}
@media (max-height:700px){

    .iframe{
            height:500px;
        }
}
@media (max-height:500px){

    .iframe{
        height:300px;
    }
    #pramenovi img, #balayage-pramenovi img, #main-slika img{
        width:243px;}
    }
