html {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Inconsolata", sans-serif;
    background-color: #F6F4EA;
}

p, div, ul {
    font-family: sans-serif;
    font-size: 16px;
}

.bgimg {
    background-position: center;
    background-size: cover;
    background-image: url("/Background.jpg");
    /*url("https://www.sevex.uk/wp-content/uploads/2018/08/building-works.jpg");*/
    min-height: 100%;
    border-radius: 0 0 20px 20px;
    opacity: 0.8;
    text-align: center;
}

.naslov {
    font-size: 190px;
    font-family: sans-serif;
    /*border: 5px solid red;*/
}

.podnaslov {
    font-size: 2.5em;
    font-family: sans-serif;
    font-weight: bold;
    /*border: solid 4px red;*/
}

.naslov-div {
    z-index: 2;
    /*border: solid 4px red;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

.nav-list {
    float: left;
}

.nav-button {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}


    .nav-button:hover {
        background-color: #111;
    }

.onama-div, .naslov-onama, h5, p, .onama {
    text-align: center;
    margin-left: 5vw;
    margin-right: 5vw;
    border-radius: 10px;
}

.center {
    position: absolute;
    top: 5%;
    width: 98%;
    text-align: center;
    font-size: 14px;
    
    display:block;
    padding: auto;
    margin: auto;
    border: 3px solid #ddd;
    background-color: #eee;
    z-index: 3;
}

h5 {
    font-size: 30px;
}

.building{
    content: url(building.png);
    width: 5em;
    height: 5em;  
}

.onama {
    background-color: #333;
    color: white;
    padding: 0.3vw;
    /*font-size: 1.5vw;   */
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item {
    border-radius: 10px;
    height: 20vW;
    width: 20vw;
    box-shadow: 0 0px 2px hsla(0, 0%, 0%, 0.5), 0 2px 3px hsla(0, 0%, 0%, 0.5);
    
}

    .item:hover {
        -ms-transform: scale(2.0); /* IE 9 */
        -webkit-transform: scale(2.0); /* Safari 3-8 */
        transform: scale(2.0);
        
    }

.kontakti-div, h5, p, .kontakti {
    text-align: center;
    margin-left: 5vw;
    margin-right: 5vw;
}

.kontakti {
    background-color: #333;
    color: white;
    padding: 0.3vw;
    border-radius: 10px;
    /*font-size: 1.5vw;   */
}

.kontaktirajtenas{
    padding:auto;
    margin:auto;
}

.lista-naslov{
       
}

.lista-usluga {
    display: inline-block;
    text-align: left;
    padding-top: 0;
    margin-top: 0;
    margin-right:30px; 

}

.lista {
    text-align: center;
}

.info {
    
}

.mailPhoto {
    display: inline-block;
    position: center;
    content: url(/mail.png);
    width: 20px;
    height: 20px;
    margin:auto;
    padding:auto;
}

.mail {
    display: inline-block;
    position: center;
    margin:auto;
    padding:auto;
}

.phonePhoto {
    display: inline-block;
    position: center;
    content: url(/phone.png);
    width: 20px;
    height: 20px;
}

.phone {
    display: inline-block;
    position: center;
    margin:auto;
    padding:auto;
}

.locationPhoto {
    display: inline-block;
    position: center;
    width: 20px;
    height: 20px;
    margin-right:3px;

}

.location {
    display: inline-block;
    position: center;
    margin:auto;
    padding:auto;
}

.extStr {
    display: inline-block;
    position: center;
}
.facebook {
    content: url(facebook.png);
    width: 40px;
    height: 40px;
}

.instagram {
    content: url(instagram.png);
    width: 40px;
    height: 40px;
}

footer {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.facebook:hover {
    -ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Safari 3-8 */
    transform: scale(1.2);
}

.instagram:hover {
    -ms-transform: scale(1.2); /* IE 9 */
    -webkit-transform: scale(1.2); /* Safari 3-8 */
    transform: scale(1.2);
}
