body{
    background: url('images/Pozadina2.jpg');
    height: 90%;
    background-attachment: fixed;
    background-position: center;
    background-repeat:no-repeat ;
    background-size: cover;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    overflow-x: hidden;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
/*HEADER*/
.header img {
    margin-top: -30px;
    max-width: 80%;
    margin-left: 10%;
    height: auto;
    width: auto;
}
/*SIDE BAR*/
.slide {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.slide a {
    color: #ca0000;
    font-size: 36px;
}

.nav{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: #ca0000;
    opacity: 0.9;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.7s;
}

.nav img {
    margin-left: 70px;
    height: 100px;
}

.nav li {
    padding: 8px 8px 8px 32px;
    list-style: none;
}

.nav a{
    padding: 8px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.nav a:hover {
    color: #0f0;
}

.nav .close {
    position: absolute;
    top: 0;
    right: 22px;
    font-size: 36px;
    margin-left: 50px;
}

#content {
    transition: margin-left 0.7s;
    padding: 20px;
    overflow-x: hidden;
    width: 100%;
}

/*SLIDER*/
.mySlides{
    display: none;
}
img {
    vertical-align: middle;
}
.slideshow-container{
    max-width: 80%;
    margin: auto;
}
.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover{
    background-color: #ca0000;
}
.fade{
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade{
    from {opacity: .4;}
    to{opacity: 1;}
}
@keyframes fade{
    from{opacity: .4;}
    to{opacity: 1;}
}
/*POČETNA*/
.vesti .container {
    margin-left: 10%;
    padding-top: 60px;
    margin-right: 10%;
    margin-bottom: 60px;
}
.vesti .vestiSlika  {
    float: left;
    height: 250px;
    padding: 0 10px 0 0;
    margin-bottom: 60px;
}
.vesti .datumSlika  {
    height: 30px;
    margin-top: 0px;
}
.vesti .datumSlika2 {
    height: 30px;
    margin-top: 0px;
}
.vesti h1 {
    font-size: 25px;
    color: #ca0000;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}
.vesti .text {
    text-align: justify;
    font-family: 'Courier New', Courier, monospace;
    color: #ca0000;
    font-weight: bold;
}
.btn{
    font-size: 18px;
    font-weight: bold;
    background: #00923f;
    width: 160px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #d8d3d3;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}
.btn:hover, .btn:focus, .btn:active {
    background-color: #ca0000
}
/*Proizvodi*/
.desc{
    color: #ca0000;
    padding:15px;
    text-align: center;
}
/*Prodavnice*/
.prodavnice .container {
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 60px;
    margin-right: 10%;
}
.prodavnice img {
    float: left;
    height: 250px;
    padding: 0 10px 0 0;
    margin-top: -50px;
    margin-left: 6px;
}
.prodavnice .text {
    font-size: 25px;
    text-align: justify;
    font-family: 'Courier New', Courier, monospace;
    color: #ca0000;
    background: rgba(255, 255, 255, 0.4) ;
    padding: 5px;
}
/*Galerija*/

.portfolio .container {
    max-width: 1140px;
    margin: auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
}
.portfolio {
    padding: 100px 7px;
}
.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.section-title h5 {
    display: inline-block;
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ca0000;
    margin: 0 0 5px;
    position: relative;
}
.text-center {
    text-align: center;
}
.section-title h5::before {
    content: "";
    left: 0;
    position: absolute;
    height: 2px;
    right: 32%;
    background-color: green;
    bottom: 0px;
}
.portfolio .section-title h5::before {
    left: 30%;
}
.portfolio .filter-buttons{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}
.portfolio .filter-buttons ul {
    list-style: none;
    text-align: center;
    padding: 0;
}
.portfolio .filter-buttons ul li {
    color: #ca0000;
    font-weight: 500;
    display: inline-block;
    margin: 0px 8px;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 0px;
}
.portfolio .filter-buttons ul li.active {
    color: green;
    border-bottom: 2px solid green;
}
.portfolio .portfolio-gallery {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.portfolio .portfolio-gallery .item{
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    padding: 8px;
}
.portfolio .portfolio-gallery .item .inner {
    position: relative;
}
.portfolio .portfolio-gallery .item img {
    width: 100%;
    display: block;
}
.item:hover {
    transform: scale(1.1);
}
/*O nama*/
.onama .container {
    margin-left: 10%;
    margin-top: 60px;
    margin-bottom: 60px;
    margin-right: 10%;
}
.onama img {
    float: right;
    width: 50%;
    height: auto;
    padding: 0 10px 0 0;
    margin-top: -50px;
    margin-left: 15px;

}
.onama .text {
    text-align: justify;
    font-family: 'Courier New', Courier, monospace;
    color: #ca0000;
    font-weight: bold;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.4) ;
    padding: 5px;
}

/*Kontakt*/
.kontakt .container {
    margin-left: 10%;
    margin-top: 60px;
    float: left;
}
.kontakt iframe {
    float: left;
    height: 350px;
    padding: 0 10px 0 0;
    margin-top: -50px;
}
.kontakt .text {
    font-size: 25px;
    text-align: justify;
    font-family: 'Courier New', Courier, monospace;
    color: #ca0000;
    background: rgba(255, 255, 255, 0.4) ;
    padding: 5px;
}
/*footer*/
footer{
    background: #ca0000;
    color: white;
    font-size: 20px;
    height: auto;
    width: 100vw;
    text-align: center;
    padding: 20px;
}
.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.footer-content h4 {
    font-size: 20px;
    font-weight: 400;
    line-height: 3rem;
}
.footer-content p{
    max-width: 500px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 14px;
}
.drustveneMreze{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}
.drustveneMreze li{
    margin: 0 10px;
}
.drustveneMreze a{
    text-decoration: none;
    color: #fff;
}
.drustveneMreze a i{
    font-size: 1.1rem;
}
.drustveneMreze a:hover i{
    color: green;
}
.footer-bottom{
    background: red;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
}
.footer-bottom span {
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}
.bedz {
    text-align: center;
    margin-top: -60px;
}
.bedz img {
    margin: 10px;
}

/* Responsive */
@media only screen and (max-width:700px){
    .portfolio .portfolio-gallery .item{
        flex: 0 0 33.33%;
        max-width: 33.33%;
        position: relative;
        padding: 8px;
    }   
    .vesti .vestiSlika  {
        float: left;
        height: 250px;
        width: auto;
        padding: 0 10px 0 0;
        margin-bottom: 60px;
    }

    .onama .container {
        margin-left: 10%;
        margin-top: 60px;
        margin-bottom: 60px;
        margin-right: 10%;
    }
    .onama img {
        margin-left: 10%;
        float: left;
        width: 100%;
        height: auto;
        padding: 0 10px 0 0;
        margin-top: -50px;
        margin-left: 15px;
    }
    .onama .text {
        float: left;
        text-align: justify;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
        font-weight: bold;
    }
    .header img {
        margin-top: 2px;
        max-width: 80%;
        margin-left: 10%;
        height: auto;
        width: auto;
    }
    .kontakt .text {
        margin-top: 20px;
        float: left;
        font-size: 18px;
        text-align: justify;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
        margin-bottom: 40px;
    }

    /*Prodavnice*/
    .prodavnice .container {
        margin-left: 10%;
        margin-top: 60px;
        margin-bottom: 60px;
        margin-right: 10%;
        width: 80%;
    }
    .prodavnice img {
        float: left;
        height: 250px;
        padding: 0 10px 0 0;
        margin-top: -50px;
        margin-left: 6px;
    }
    .prodavnice .text {
        float: left;
        margin-top: 20px;
        font-size: 25px;
        text-align: justify;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
        background: rgba(255, 255, 255, 0.4) ;
        padding: 5px;
    }
    .kontakt iframe {
        float: auto;
        width: 90%;
        height: 250px;
        padding: 0 10px 0 0;
        margin-top: -50px;
    }
    .bedz img {
        width: 10%;
        height: 10%;
        margin: 10px;
    }
}

@media only screen and (max-width:300px){
    .dot{
        height:10px;
        width: 10px;
    }
}

@media only screen and (max-width:400px) {
    .header img {
        margin-top: 2px;
        max-width: 80%;
        margin-left: 10%;
        height: auto;
        width: auto;
    }
    .bedz img {
        width: 10%;
        height: 10%;
        margin: 10px;
    }
    .container {
        margin-left: 20%;
        width: 180px;
    }
    .gallery img{
        width: 100%;
        height: 100%;
    }
    
    /*POČETNA*/
    .vesti .container {
        width: 80%;
        margin-left: 10%;
        padding-top: 60px;
        margin-right: 10%;
        margin-bottom: 60px;
    }
    .vesti .datumSlika  {
        height: 30px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .vesti .datumSlika2 {
        height: 30px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .vesti .vestiSlika  {
        float: left;
        width: 100%;
        height: auto;
        padding: 0 10px 0 0;
        margin-top: -40px;
    }
    .gallery{
        margin: 18px;
        border: 1px solid #7e000c;
        float: left;
        width: auto;
    }
    .header img {
        margin-left: 40px;
        height: 100%;
        width: 100%;
    }

    /*Proizvodi*/
    .desc{
        color: #ca0000;
        padding: 15px;
        text-align: center;
        font-size: 15px;
    }

    /*Prodavnice*/
    .prodavnice .container {
        margin-left: 10%;
        margin-top: 60px;
        margin-bottom: 60px;
        margin-right: 10%;
        width: 80%;
    }
    .prodavnice img {
        float: left;
        height: 250px;
        padding: 0 10px 0 0;
        margin-top: -50px;
        margin-left: 6px;
    }
    .prodavnice .text {
        font-size: 25px;
        text-align: justify;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
        background: rgba(255, 255, 255, 0.4) ;
        padding: 5px;
    }

    /*O nama*/
    .onama .container {
        margin-left: 10%;
        margin-top: 60px;
        margin-bottom: 60px;
        margin-right: 10%;
        width: 80%;
    }
    .onama img {
        float: left;
        width: 100%;
        height: auto;
        padding: 0 10px 0 0;
        margin-top: -50px;
    }
    .onama .text {
        float: left;
        text-align: justify;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
        font-weight: bold;
        font-size: 18px;
    }

    /*Kontakt*/
    .kontakt .container {
        margin-left: 10%;
        margin-top: 60px;
        float: left;
        width: 80%;
    }
    .kontakt iframe {
        width: auto;
        float: left;
        height: 250px;
        padding: 0 10px 0 0;
        margin-top: -50px;
    }
    .kontakt .text {
        float: left;
        font-size: 18px;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
        margin-bottom: 40px;
        margin-top: 20px;
    }
    .prodavnice .text {
        float: left;
        font-size: 25px;
        text-align: justify;
        font-family: 'Courier New', Courier, monospace;
        color: #ca0000;
    }

    /*Galerija*/
    .portfolio .container {
        max-width: 1140px;
        width: 80%;
        margin: auto;
    }
    .portfolio .portfolio-gallery .item{
        flex: 0 0 50%;
        max-width: 50%;
        position: relative;
        padding: 8px;
    }
    .kontakt iframe {
        width: auto;
        float: left;
        height: 250px;
        padding: 0 10px 0 0;
        margin-top: -50px;
    }
}
