@font-face {
    font-family: rubik;
    src: url("../fontovi/Rubik-VariableFont_wght.ttf");
}

@font-face {
    font-family: font2;
    src: url("../fontovi/hkgrotesk-regular.woff2");
}

:root {
    --zelena: #778e68;

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: rubik;
    overflow-x: hidden;
}

/* pocetak navigacija mob */
.topnav {
    overflow: hidden;
    line-height: 52px;
    position: fixed;
    width: 100%;
    z-index: 101;
}

.topnav a {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 18px 30px;
    text-decoration: none;
    font-size: 17px;
    font-family: Open;
}

@supports (-ms-ime-align:auto) {
    .topnav {
        overflow: hidden;
        background-color: white;
    }
}

.topnav a:hover {
    background-color: rgb(77, 152, 220, 0.3);
    color: #006;
    transition: .5s;
}

.topnav .icon {
    display: none;
}

@media screen and (min-width:992px) {
    span {
        float: none;
        display: none;
    }

    .navigacija {
        display: none;
    }

    .overlay {
        display: none;
    }
}

@media screen and (max-width:992px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a:first-child {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: none;
    }

    span {
        float: right;
        margin: 3%;
        position: fixed;
        right: 0;
        z-index: 200;
        font-family: Open;
        color: white;
    }

}

.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    overflow-y: hidden;
    transition: .5s;
    font-family: Open;
    z-index: 900000;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    z-index: 2000;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 20px;
    color: #45595b;
    display: block;
    transition: .3s;
    z-index: 2001;
    font-family: rubik;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height:450px) {
    .overlay {
        overflow-y: auto;
    }

    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/*kraj navigacija mob*/
.navigacija {
    width: 100%;
    height: 80px;
    position: fixed;
    z-index: 10;
}

.header_tekst {
    top: 20px;
    left: 4px;
    position: absolute;
    color: white;
    z-index: 10;
    font-family: rubik;
    z-index: 1;
}

.header_tekst h1 {
    font-weight: bold;
    font-size: 20px;
}

.header_tekst p {
    width: 70%;
}

.header_tekst button {
    background-color: #486142;
    color: white;
    border-radius: 40px;
    padding: 1%;
    border: none;
    font-size: 13px;
}

#brojcek {
    color: #f9bb33;
    font-size: 24px;
    font-weight: bold;
    padding-top: 5%;
}

.logo img {
    width: 10%;
    position: fixed;
    margin: 2%;
    z-index: 150;
}

#pocetni_video {
    width: 100%;
    filter: brightness(50%);
}

.za_wave {
    width: 100vw;
}

.card0:first-child {
    margin-top: 10%;
}

.card0 {
    border: none !important;
    width: 95%;
    margin: auto;
}

.card-title {
    font-weight: bold;
    color: #45595b;
}

.card h5 {
    padding: 4% 0;
}

.btn-primary {
    background-color: #486142 !important;
    box-shadow: 1px 1px 10px #486142;
    border: none !important;
    border-radius: 30px !important;
    color: ghostwhite;
    font-size: 13px !important;
}

.orange1 {
    background-color: transparent !important;
    box-shadow: 1px 1px 10px #f6971e;
    border: 2px solid #f6971e !important;
    color: #f6971e !important;
}

.card0 img {
    border-radius: 20px;
}

.wave {
    width: 100%;
    height: 55px;
    position: relative;
    bottom: 25px;
    left: 0;
    clear: both;
    z-index: 2;
}

.index_section {
    background-color: var(--zelena);
    position: relative;
    padding: 5%;
    margin-top: 10%;
    color: white;
    clear: both;
}

.section1 h1 {
    text-align: center;
    color: white;
    font-size: 30px;
}

.section1 h5 {
    text-align: center;
    font-weight: 100;
    font-size: 17px;
}

.section1 p {
    padding: 7% 0;
}

.section1::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    transform: rotate(180deg);
    width: 100%;
    height: 55px;
    background-image: url("../slike/curve.png");
    background-repeat: repeat-x;
}

.section1::after {
    /* content: "Kvaliteta";
    font-family: Arial, Helvetica, sans-serif;
    color: rgb(255, 255, 255, 0.1);
    text-align: center;
    line-height: 50vh;
    font-size: 10px;*/
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 55px;
    background-image: url("../slike/curve.png");
    background-repeat: repeat-x;
}

.povrce {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

svg {
    display: block;
    margin: 10% auto;

}

.card1 {
    width: 40%;
}

.fa-leaf {
    color: #98c869 !important;
    font-size: 20px !important;
}

.gumb_lokacija {
    border-radius: 20px;
    background-color: #778e68;
    width: fit-content;
    padding: 2% 5%;
    color: white;
}

.povrce h4 {
    font-size: 16px;
}


.slikica {
    width: 80vw;
    margin: 5% 10% 10% 0;
}

.jedan {
    width: 80%;
    margin-left: 5%;
}

.jedan h1 {
    color: #45595b;
    font-weight: bold;

}

.jedan ul {
    list-style-type: none;
}

.jedan li {
    padding: 2%;
}

#my-carousel-2.owl-carousel .item {
    height: fit-content;
}

#my-carousel-2 {
    width: 90%;
    margin: auto;
}

.item img {
    border-radius: 20px;
}

.slider_div {
    margin: 5% 0;
    background-color: #778e68;
    text-align: center;
    clear: both;
}

.novosti {
    text-align: center;
}

.novosti .card {
    padding: 4%;
    margin: 3%;
    box-shadow: 0px 0px 5px rgb(211, 211, 211);
}

.karta {
    box-shadow: 3px 3px 5px #747d88;
    color: #747d88;
    margin: 2%;

}

iframe {
    width: 95%;
    margin: auto;
    display: block;
}

.info {
    padding-left: 2%;
    list-style-type: none;
}

.plava {
    display: block;
    color: #31cabd;
    padding-bottom: 4%;
}


footer {
    text-align: center;
    background-color: #333333;
    color: white;
    position: relative;
    clear: both;
}

.kontakt h1 {
    font-weight: bold;
    color: #45595b;
    text-align: center;
}

.novosti h1 {
    font-weight: bold;
    color: #45595b;
    text-align: center;
}

#naslov_istaknuto {
    font-weight: bold;
    color: #45595b;
    text-align: center;
    padding-bottom: 5%;
}

#grozdje {
    padding-top: 10%;
}

.slider_div h1 {
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 35px;
}

.slider_div {
    position: relative;
}

.slider_div:before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    transform: rotate(180deg);
    width: 100%;
    height: 55px;
    background-image: url("../slike/curve.png");
    background-repeat: repeat-x;
}

.slider_div:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 55px;
    background-image: url("../slike/curve.png");
    background-repeat: repeat-x;
}

.slider_div p {
    color: white;
}

.kontakt p {
    text-align: center;
}

.footer_val::before {
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    transform: rotate(180deg);
    width: 100%;
    height: 55px;
    background-image: url("../slike/curve.png");
    background-repeat: repeat-x;
}

.logo_footer {
    width: 20%;
    margin: 10% auto;
    display: block;
    padding-top: 10%;
}

footer ul a {
    color: #31cabd;
}

footer ul {
    color: #31cabd;
}

footer ul {
    list-style-type: none;
}

footer h3 {
    font-size: 18px;
    padding: 2%;
}

.prvi_dio {
    width: 90%;
    margin: auto;
}

#copyright {
    padding: 7%;
}

#bijela {
    color: white;
}

.special1 {
    display: none !important;
}

.laptop_div {
    display: none;
}

.slikica_section1 {
    display: none;
}

.slikica_section2 {
    display: none;
}

.topnav a {
    font-family: rubik;
    color: white;
}

#broj {
    color: #f6971e;
}

/*pocetak media*/

/*
mobitel: 360px;
tablet: 768px;
laptop: 1280px;
desktop: 1920px;
*/

@media screen and (min-width: 768px) {
    .logo img {
        width: 8%;
        margin: 1%;
        margin-left: 3%;
    }

    .header_tekst {
        top: 150px;
        left: 20px;
    }

    .header_tekst h1 {
        font-size: 40px;
    }

    .header_tekst p {
        width: 70%;
        font-size: 20px;
    }

    .header_tekst button {
        border-radius: 40px;
        padding: 1%;
        border: none;
        font-size: 13px;
    }

    .section1 {
        display: flex;
        flex-wrap: wrap;
        padding: 10% 0;
        gap: 2%;
    }

    .section1 svg {
        margin: 0;

    }

    .section1 h1 {
        font-weight: bold;
    }

    .section1 h5 {
        text-align: left;
        padding: 0;
    }

    .section1 p {
        padding: 5% 0 10% 0;
        font-size: 24px;
        font-weight: 500;
    }

    .flex {
        width: 90%;
        margin: auto;
        display: flex;
    }

    .flex svg {
        margin: 0;
        padding-right: 2%;
    }

    .card1 {
        width: 30%;
    }

    .special1 {
        display: block !important;
    }

    .povrce h4 {
        font-size: 24px;
    }

    .povrce {
        margin-bottom: 10%;
    }

    .flex1 {
        width: 90%;
        margin: auto;
        display: flex;
        padding-top: 10%;
    }

    .slider_div {
        margin: 0;
        padding: 0;
    }

    #grozdje {
        height: 6em !important;
        padding-top: 6%;
        padding-right: 2%;
        margin: 0;
    }

    .sadrzaj1 {
        text-align: left;
        padding-top: 5%;
    }

    #my-carousel-2 {
        padding-bottom: 5%;
    }

    .novosti svg {
        margin: 0 auto;
        margin-top: 10%;
        margin-bottom: 2%;
    }

    .novosti1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .novosti .card {
        width: 40%;
    }

    .sadrzaj2 {
        display: flex;
        width: 90%;
        margin: auto;
        flex-direction: column;
    }

    .karta {
        box-shadow: none;
    }

    .sadrzaj2 svg {
        margin: 0;
        padding-right: 2%;
        padding-top: 2%;
        height: 4em !important;
    }

    .sadrzaj3 {
        padding-top: 10%;
        display: flex;
        flex-wrap: wrap;
    }

    .info {
        width: 50%;
    }

    .footer_val {
        display: flex;
        flex-wrap: wrap;
        padding-top: 20%;
        text-align: left;
    }

    .prvi_dio,
    .drugi_dio,
    .treci_dio {
        width: 30%;
    }

    .prvi_dio {
        order: 1;
    }

    .drugi_dio {
        order: 3;
    }

    .treci_dio {
        order: 2;
    }

    #copyright {
        width: 100%;
        order: 4;
        text-align: center;
    }

    .logo_footer {
        margin: 0 auto;
        padding: 0;
        padding-bottom: 10%;
        width: 40%;
    }

    .help2 svg{
        display: block;
        margin: auto;
    }
}

@media screen and (min-width: 1280px) {
    .logo img {
        width: 5%;
    }

    .header_tekst {
        top: 350px;
    }

    .prvi_dio {
        order: 1;
    }

    .drugi_dio {
        order: 2;
    }

    .drugi_dio li {
        padding: 1%;
    }

    .treci_dio li {
        padding: 1%;
    }

    .treci_dio {
        order: 3;
    }

    #copyright {
        padding: 3%;
    }

    .laptop_div {
        display: block;
        width: 80%;
        margin: auto;
    }

    .card0 {
        display: none !important;
    }

    .sadrzaj33 {
        float: left;
        width: 50%;
        padding: 3%;
        font-family: font2;
        font-size: 20px;
        font-weight: light;
    }

    .sadrzaj33 button {
        background-color: #486142;
        color: white;
        border-radius: 40px;
        padding: 2%;
        border: none;
        font-size: 14px;
    }

    .sadrzaj44 {
        width: 50%;
        float: right;
    }

    .sadrzaj55 {
        width: 50%;
        clear: both;
        float: left;
    }

    .sadrzaj66 {
        width: 50%;
        float: right;
        padding: 3%;
        font-family: font2;
        font-size: 20px;
    }

    .laptop_div h1 {
        color: #45595b;
        font-family: rubik;
        font-weight: bold;
    }

    .sadrzaj55 img {
        border-radius: 20px 0 20px 20px;
    }

    .sadrzaj44 img {
        border-radius: 20px 20px 20px 0;
    }

    .slikica_section1 {
        display: block;
        position: absolute;
        top: -100px;
        right: 10px;
    }

    .slikica_section2 {
        display: block;
        position: absolute;
        bottom: 10px;
        z-index: 100;
    }

    .section1 {
        padding: 1% 0;
    }

    .novosti1 {
        flex-wrap: nowrap;
    }

    .novosti1 .card {
        width: 30%;
        color: #747d88;
        font-family: font2;
    }

    .sadrzaj3 ul {
        width: 30%;
        display: inline-block;
    }

    iframe {
        float: left;
        width: 60%;
        height: 300px;
    }

    .slikica {
        width: 50%;
        margin: 0;
    }

    .jedan1 {
        float: right;
        width: 40%;
    }

    .sadrzaj2 {
        display: flex;
        width: 90%;
        margin: auto;
        flex-direction: column;
    }

    iframe {
        width: 70%;
    }
}

@media screen and (min-width: 1920px) {
    .header_tekst {
        left: 15%;
        top: 35%;
    }

    .topnav a {
        padding: 18px 17px;
    }

    .logo img {
        width: 3%;
    }

    .sadrzaj33,
    .sadrzaj66 {
        padding-top: 15%;
    }

    .index_section {
        padding: 2%;
    }

    .povrce {
        width: 80%;
        margin: auto;
    }

    .povrce img {
        border-radius: 5px;
    }

    .jedan {
        width: 70%;
        margin: auto;
        margin-top: 8%;
        margin-bottom: 8%;
    }

    .novosti1 .card {
        padding: 1%;
        margin: 1%;
        width: 20%;

    }

    .sadrzaj2 {
        margin-top: 5%;
        width: 70%;
    }


    .footer_val {
        padding: 5% 0 0 1%;
    }

    .sadrzaj2 {
        flex-direction: column;
    }

    iframe {
        width: 600px;
    }

    .sadrzaj3 {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .help {
        display: flex;
    }

    .kontakt h1 {
        text-align: left;
    }

    .kontakt p {
        text-align: left;
    }

    .sadrzaj2 {
        display: flex;
    }

    .help2{
        display: flex;
    }

    .sadrzaj3{
        padding-top: 5%;
    }

    .help2 svg{
        margin: 0;
        padding: 0;
        padding-right: 2%;
    }
}

/*kraj media*/