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

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    height: 95vh;
    width: 100vw;
}

header {
    width: 100%;
    height: 7em;
    background-color: #388735;
}

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

header img {
    display: none;
}

nav {
    height: 2em;
    background-color: #217a24;
    font-size: 1em;
    text-align: center;
    padding: 10px 0;
}

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

nav a:hover {
    color: hsl(127, 100%, 16%);
    cursor: pointer;
}

section {
    padding: 1em;
    text-align: justify;
    height: auto;
}

h1 {
    text-align: center;
    padding: 0.5em;
    font-family: "Abril Fatface", serif;
}

p {
    padding: 0.5em 0;
    line-height: 1.5em;
}

a {
    color: #e97500;
    text-decoration: none;
}

a:hover {
    color: #c71e00;
}

section img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

footer {
    background-color: hsl(127, 100%, 16%);
    color: #fff;
    padding: 50px;
    text-align: center;
}

h2 {
    color: #e97500;
}


/***CSS za desktop*/
@media (min-width: 1024px) {
    header img {
        margin-left: 100px;
    }

    nav {
        text-align: centre;
        font-weight: bold;
    }
    section img {
        max-width: 27%;
    }
    section p {
        font-size: 13pt;
        line-height: 1.5em;
        max-width: 700px;
        margin: 20px auto;
    }

    section h2 {
        text-align: center;
    }

    .slika{
        max-width: 40%;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill) minmax(600px, 1fr);
        gap: 1rem;
    }

    .image{
        overflow: hidden;
    }

    .image img{
        width: 100%;
        height: auto;
    }

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

    .centre{
        text-align: center;
    }

    .vrsta{
        padding-left: 250px;
    }

    .vrsta{
        padding-left: 250px;
    }

    .vrsta{
        padding-left: 250px;
    }

    .vrsta{
        padding-left: 250px;
    }

    .vrsta{
        padding-left: 250px;
    }

    .vrsta{
        padding-left: 250px;
    }



}




