body{
	overflow-x: hidden;
}
header{
    background-color: green;
    background-image: url("../images/zdjeiceTlo.png");
    background-size:cover;
    background-repeat: none;
    padding: 40px 100px 10px 100px;
    text-transform: uppercase;
    font-size: 20px;
    width: auto;
    height: 95vh;
}
nav{
    border: 3px white solid;
    padding: 2px 8px 2px 8px;
    align-self: center;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
nav ul{
    display: flex;
    text-align: left;
    list-style: none;
}
header > div{
    margin-top: 100px;
    font-size: 1.4em;
}
nav > li{
    text-decoration: none;
    color: white;
    width: 100%;
}
nav a{
    color: white;
    text-decoration: none;
}
nav p{
    padding: 0px 15px 0px 15px;
    margin: 0 20px 0 20px;
    text-decoration: none;
    font-weight: 700;
}
nav p:hover{
    text-decoration: underline;
    transition: 10ms;
}
.logo{
    width: 35%;
    min-width: 300px;
}
.logo > img{
    width:100%;
}
header h2{
    width: 70%;
    text-align: center;
    margin:8% 20px 10% 50px;
    font-weight: 500;
    font-size: 1.5em;
}

.headerSpan1{
    font-size: 1.2em;
    color: #D1C4A5;
    font-weight: 600;
}

.headerSpan2{
    /*background-color: #D1C4A5;*/
    color: #D1C4A5;
}
.flex{
    display: flex;
}

@media only screen and (max-width: 900px){
    nav ul{
        display: block;
        text-align: center;
    }
    nav li{
        margin-bottom: 30px;
    }
    .flex{
        display: block;
        margin: 0 30px;
    }
    header{
        height: fit-content;
        padding: 0;
        padding-bottom: 10px;
    }
    header h2{
        margin:auto;
        margin-top: 8%;
        margin-bottom: 10%;
        font-size: 33px;
    }
    
}
@media only screen and (max-width: 500px){
    header h2{
        font-size: 30px;
    }
}