body {
    font-family: 'Poiret One', cursive;


}

html,
body {
    height: 100%;
    width: 100%;
    background-color: #111;
}

.navbar {
    background-color: #333;


    font-size: 1.2em;
}

.navbar a {
    color: #ddd !important;
}

.navbar-brand {
    min-height: 55px;
    max-height: 80px;



}

.andrej-naslov {
    padding: 1%;
    color: white;
    font-size: 1em;

}

#home {
    background: url(../1.jpg) no-repeat center center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    background-size: cover;
    color: white;
    background-attachment: fixed;
    /* This works fine on desktops */
}



.landing-text {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: #fff;




    opacity: 0.8;
    filter: alpha(opacity=30);
    /* For IE8 and earlier */
}


}

.padding {
    padding: 80px 0;
    color: white;
}

#projekti {
    height: 100%;
}

a.link {
    text-decoration: none !important;
    color: #ddd;
}

a.link:hover {
    color: #999;
}

.masthead {
    background: url(../img/background2.jpg) no-repeat center center fixed;
    display: table;
    height: auto;
    width: 100%;
    height: 100%;
    position: relative;

    background-size: cover;
    color: white;


}

.link img {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    -webkit-transition: grayscale 2s;
    /* For Safari 3.1 to 6.0 */
    transition: grayscale 2s;
    transition: all .2s ease-in-out;
    padding-right: 20px;
    padding-bottom: 20px;

    float: left;

}

.link img:hover {
    webkit-filter: grayscale(0%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
    transform: scale(1.1);
}

.lokacija {
    background: #111;
    opacity: 0.8;
    filter: alpha(opacity=30);
    /* For IE8 and earlier */
}

h1 {
    font-size: 1.2em;
}

h2 {
    font-size: 1.0em;
}

h3 {
    position: relative;
    font-size: 1em;
    z-index: 1;
}

/* Base styling for the h3 tag */
.link h3 {
    transition: all 0.3s ease-in-out;
    /* Smooth transition for shadow effect */
}

/* Target the h3 when hovering over the parent link */
.link:hover h3 {
    text-shadow: 0px 4px 10px rgba(0, 000, 0, 1);
    /* Adds a shadow to the h3 tag */
    font-weight: bold;
    /* Optional: increase the font size */
    color: white;
    /* Optional: change the text color */
}




.kontakt p {
    font-size: 12px;
}

@media screen and (max-width: 600px) {
    #home {
        background-attachment: scroll;
        /* Disable fixed background on mobile devices */
    }

    h1 img {
        width: 50%;
    }

    .col-sm-6 {
        text-align: center !important;
        margin: 0 auto !important;

        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .col-sm-6 a {
        display: block;

        width: 100% !important;
        /* Make the <a> take 100% width */
        text-align: center;
        padding: 0 !important;
        /* Remove padding */
        margin: 0 !important;
        /* Remove margin */
    }

    .col-sm-6 a img {
        width: 100% !important;
        /* Ensure the image takes up full width */
        height: auto;
        /* Maintain aspect ratio */

        /* Block element for proper centering */
        margin: 0 !important;
        /* Remove any default margin */
        padding: 0 !important;
        /* Remove any default padding */
        box-sizing: border-box;
        /* Include padding/border in width calculation */
    }

    h1 {
        text-align: center;
        letter-spacing: 3px;
        font-size: 0.7em;
    }

    h2 {
        text-align: center;
        font-size: 0.7em;
    }

    h3.text-right,
    h3.text-left {
        margin-top: 5% !important;
        text-align: center !important;

    }

    .landing-text h1 {
        margin-left: 5%;

    }

    .andrej-naslov {
        font-size: 0.8em;


    }
}