* {
    margin: 0 auto;
}

.nav {
    display: block;
    position: relative;
    overflow: hidden;
    width: 90%;
    height: 55px;
    background-color: #fff;
    padding: 0 20px;
    border-radius: 40px;
    z-index: 10;
    overflow: hidden;
    align-content: center;
    justify-content: center;
    margin: 20px auto;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.26);
}

.nav-item {
    color: #83818c;
    padding: 20px;
    text-decoration: none;
    transition: 0.3s;
    margin: 0 6px;
    z-index: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    position: relative;
    align-self: center;
    width: 16%;
    height: 100%;
    box-sizing: border-box;
}

.nav-item:before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #dfe2ea;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: 0.3s;
}

.nav-item:not(.is-active):hover:before {
    opacity: 1;
    bottom: 0;
}

.nav-item:not(.is-active):hover {
    color: #333;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    transition: 0.4s;
    height: 5px;
    z-index: 1;
    border-radius: 8px 8px 0 0;
}



header {
    width: 100%;
    text-align: center;
    height: 500px;
    background-image: url(slike/h111.jpg);
    position: relative;
    top: 0px;
    background-position: center;
    background-size: cover;
    line-height: 600px;
    color: white;
    font-family: 'Spartan', sans-serif;
    font-size: 50px;
    margin-top: -140px;
}

.galerija {
    width: 80%;
    padding: 0 30px;
    flex-direction: row;
}

.galerija a {
    display: inline-block;
    width: 32%;
    margin: 20 auto;
}

.galerija a img {
    width: 100%;
}

h2 {
    width: 100%;
    text-align: center;
    font-family: 'Spartan', sans-serif;
    font-size: 30px;
    letter-spacing: 5px;
    color: #27903b;
    margin: 50px auto;
}

p {
    width: 70%;
    font-family: 'Roboto', sans-serif;
    line-height: 30px;
    font-size: 18px;
    margin: 30px auto;
}

footer {
    width: 100%;
    height: 190px;
    background-color: rgb(19, 33, 23);
    margin-top: 100px;
    color: white;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    line-height: 100px;
}

p a {
    color: #27903b;
    text-decoration: none;
    font-weight: bold;
}

iframe {
    margin: 40px auto;
}

h3 {
    width: 80%;
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
    color: #27903b;
    font-size: 30px;
}

.blog-container {
    width: 80%;
    display: flex;
}

#lijevi {
    width: 70%;
}

article {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.26);
    width: 90%;
    margin: 50px auto;
    border-radius: 40px;
    padding: 20px;
}

#filadendron {
    width: 20%;
    float: left;
    margin-right: 20px;
}

.filadendron {
    width: 80%;
}

.filadendron p {
    width: 100%;
}

.filadendron iframe {
    margin: auto;
    display: block;
    margin-bottom: 20px;
}

.copy {
    text-align: center;
    font-size: 14px;
    margin: 0;
}

hr {
    background-color: #27903b;
    height: 2px;
    border: none;
}

@media (max-width: 1000px) {
    .nav {
        position: fixed;
        bottom: 10px;
        width: 85%;
        margin-left: 5%;
    }

    .blog-container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    #lijevi {
        width: 90%;
    }

    article {
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.26);
        width: 90%;
        margin: 50px auto;
        border-radius: 40px;
        padding: 20px;
    }

    #filadendron {
        width: 70%;
        margin-right: 20px;
        display: block;
        float: none;
        margin: auto;
    }
}

@media (max-width: 580px) {
    .nav {
        font-size: 15px;
        margin-left: 3.5%;
    }

    .nav-item {
        padding: 20px 5px;
    }

    iframe {
        width: 90%;
        height: 240px;
    }
}
