/* CSS za mobilni prikaz
    Mobile-first CSS
*/


@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');


* {
    padding: 0;
    margin: 0;
}



body {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    background-image: linear-gradient(to right, #c7bfbf, #b1ae88c7);
}


header {
    width: 100%;
    height: 6em;
    
    background-image: linear-gradient(to right, #bac59f, #57613f);
}

header h1 {
    font-size: 2em;
    padding-top: 1em;
    text-align: center;
    color: #d9e2c5;
    
}

li {
    margin-left:20px;
}

h2 {
    color:#646e4d;
    padding:0.3em;
    
   padding:15px;
}


nav {
    height: 1.5em;
    background-color: #4b4747;
    font-size: 1em;
    text-align: center;
    padding: 10px 0;
    box-shadow: rgba(57, 59, 57, 0.649) 3px 3px 6px 0px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0.5em 0.7em;
    
}

nav a:hover {
    color:#c8f0a8;
    cursor: pointer;
    background-color:#6e6868;
    padding:4px;
}

section {
    padding: 1em;
min-height:41vh;
   
}

h1, h2, a, div  {
    font-family: "Space Grotesk", sans-serif;
}

h1 {
    text-align: center;
    padding: 0.5em;

}

ul {
    padding: 0.7em;
    background-color:#dfd5d5;
    margin-bottom:15px;
    box-shadow: rgba(160, 152, 130, 0.649) 3px 3px 6px 0px inset;
    
}

p, li {
    font-family: "Public Sans", sans-serif;
}

p {
    padding: 0.7em;
    background-color:#dfd5d5;
    box-shadow: rgba(160, 152, 130, 0.649) 3px 3px 6px 0px inset;
    line-height:1.2em;


}

a {
    color:#74912b;
    text-decoration: none;
}

a:hover {
    color: #6e6868;
}

section img {
    width: 100%;
    display: block;
  
   
}

.podnozje {
    height: 1.5em;
    background-color: #4b4747;
    font-size: 1em;
    text-align: center;
    padding: 10px 0;
    color:#ffffff;
margin-bottom:10px;
width:100%;
    box-shadow: rgba(57, 59, 57, 0.649) 3px 3px 6px 0px;
   
}

/* GALERIJA */
.gallery img {
    max-width: 80%;
    margin-left: 34px;
    float: none;
padding:10px;
  }
.gallery {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(400px));

}

.image {
  
    overflow:hidden;
}

.image img {
    width:100%;
    height:auto;
    transition: transform 0.3 ease;

}

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


/*CSS za tablete, break point-točka prijelaza*/

@media (min-width: 768px) {

.slika {
 width:30%;
}

    section {
        padding: 1em;
    max-height:1vh;
       
    }

}


/*CSS za desktop*/

@media (min-width: 1024px) {

  

 
 section img {
    max-width:35%;
margin-right:190px;
float:right;
padding:35px;

 }

h2 {
    font-size: 30px;
}
.slika {
    width:27%;
   margin-right:62%;
border-top:#81925cad solid;

}
    

ul {
    width:40%;
    
        font-size:13pt;
        line-height:1.5em;
     
     }

 section p {
width:50%;

    font-size:13pt;
    line-height:1.5em;
 

 }

 .podnozje  {
  margin-top:10%;  
 }

 .h {
    border-top:#81925cad solid;
 }

 .q {
    border-top:#81925cad solid;
    border-bottom:#81925cad solid;
 }

 .l {
    margin-right:56%;
    padding:2%;
 }

 .f {
    text-align: center;
    margin-left:32%;
  
 }

 .c {
    margin-right:47%;
}

 

 .o {
    text-align: center;
    margin-left:36%;
  
 }


.gallery {
    display:grid;
    grid-template-columns: 1fr 1fr ;
 
}

.gallery img {
    max-width: 40%;
    margin-right: 0px;
    float: none;
 
  }

.image {
  
    overflow:hidden;
}

.image img {
  
    height:auto;

}

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

}