*{
    padding: 0;
    margin: 0;
}
body{
    font-family: "Montserrat", sans-serif;
}



/*header imain*/



header{
    height: 10vh;
    background-color: #298BFF;
    position: fixed;
    width: 100vw;
}
header img{
    width: 3.5%;
    float: left;
    margin-top: 10px;
    margin-left: 5vw;
}
header img:hover{
    opacity: 0.6;
}
ul{
    float: right;
    list-style-type: none;
    margin-top: 3.5vh;
    margin-right: 4vw;
}
li{
    float: left;
}
li a{
    padding: 1vw;
    color: #FFF;
    text-decoration: none;
    font-size: 16pt;
    transition: 1s;
    border-radius: 50px;
}
li a:hover{
    background-color: #FFF;
    color:#298BFF;
}
main{
    padding-top: 10vh;
    height: 90vh;
    background-image: url('slike/pozadina.jpg');
    background-size: cover;
}
h1{
    color: white;
    font-size: 58pt;
    text-align: center;
    padding-top: 35vh;
}



/*prvi section*/



section{
    width: 80vw;
    margin-left: 10vw;
    padding-top: 11vH;
}
section h2{
    font-size: 36pt;
    color:#298BFF;
}
section p{
    font-size: 20pt;
}
#materijali{
    height: auto;
}
#materijali h2{
    padding-bottom: 8vh;
}
.txtLimgR{
    margin-top: 2vh;
    float: lefT;
    width: 40vw;
}

.slikadesno{
    float: right;
    width: 38%;
}
.slikalijevo{
    float: left;
    width: 36%;
    height: 380px;
    margin-top: 13vh;
}
.txtRimgL{
    float: right;
    width: 40vw;
    margin-top: 10vh;
}



/*drugi section*/



#novosti{
    clear: both;
    height: 100vh;
}
.galerija{
    width: 80vw;
    display: flex;
    flex-wrap:wrap;
    margin-top: 12vh;
}
.galerija img{
    width: 500px;
}
.galerija img:hover{
    opacity: 0.7;
}
#novosti p{
    margin-top: 5vh;
    text-align: center;
}



/*treci section*/



#odrzivost{
    height: 100vh;
    margin-top: -5vh;
}
#odrzivost article{
    width: 50vw;
    margin-top: 10vh;
}
#odrzivost img{
    margin-top: 5vH;
    float: right;
    width: 30%;
    height: 600px;
}


/*footer*/



footer{
    background-color:#298BFF;
    height: 15vh;
}
footer p{
    text-align: center;
    font-size: 26pt;
    padding-top: 50px;
    color: #FFF;
}



/*tableti*/
@media only screen and (max-width: 1024px) {
    header img{
        width: 10vw;
    }
    li a{
        padding-right: 15vw;
        font-size: 24pt;
    }
    section p{
        font-size: 24pt;
    }
    ul{
        float: left;
        margin-top: -5vh;
        margin-left: 19vw;
        width: 100vw;
    }
    h2{
        text-align: center;
    }
    .txtLimgR{
        margin-top: -5vh;
    }
    .txtLimgR, .txtRimgL{
        clear: both;
        width: 80vw;
    }
    .slikadesno, .slikalijevo{
        clear: both;
        margin-top: 2vh;
        width: 80vw;
    }
    .slikalijevo{
        height: 600px;
    }
    .txtRimgL{
        margin-top: 2vh;
    }
    .galerija{
        margin-top: 5vh;
    }
    .galerija img{
        width: 50%;
        height: 300px;
    }
    #odrzivost article{
        width: 80vw;
        margin-top: 5vh;
    }
    #odrzivost img{
        clear: both;
        width: 80vw;
        height: 1000px;
    }
    footer p{
        margin-top: 45vh;
        padding-top: 75px;
    }
}



/*mobiteli*/



@media only screen and (max-width: 600px){
    h1{
        font-size: 30pt;
    }
    header img{
        margin-top: 25px;
    }
    ul{
        padding-top: 10px;
    }
    li a{
        font-size: 16pt;
        padding-right: 0.2vw;
    }
    section h2{
        font-size: 24pt;
    }
    section p{
        font-size: 12pt;
    }
    .slikalijevo{
        height: 300px;
    }
    .galerija img{
        width: 80vw;
    }
    #odrzivost{
        margin-top: 200vh;
    }
    footer{
        margin-top: 30vh;
    }
    footer p{
        font-size: 16pt;
        padding-top: 25px;
    }
    #odrzivost img{
        height: 350px;
    }
}