body {
    margin: 0;
    font-family: Arial, sans-serif;
   
    background-image: url("img/pozadina.jpg");
    background-size: 128px 128px;
    background-repeat: repeat;
    position: relative;
}

/* dark overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: -1;
}

header {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 700px;
    margin-top: 120px;

}


nav {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 25px auto;
    max-width: 280px;
}

.nav-item {
    padding: 10px 20px;
    background-color: #25a725;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    margin-left: 10px;
}


.odlomak {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}


/*  Slides */
* {
    box-sizing: border-box;
}

.img-comp-container {
    position: relative;
    height: 300px;
    /*should be the same height as the images*/
}

.img-comp-img {
    position: absolute;
    width: auto;
    height: auto;
    overflow: hidden;
}


.img-comp-slider {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    /*set the appearance of the slider:*/
    width: 40px;
    height: 40px;
    background-color: #21f321;
    opacity: 0.7;
    border-radius: 50%;
}