@import url('https://fonts.googleapis.com/css2?family=Roboto');
*{
    box-sizing: border-box;
    font-family:'Roboto', sans-serif;
    overflow-x: hidden;
    --pozadina: #484848;
    --pozadina-svetla: #e2e2e2;
    --ivica: bisque;
    --senka: rgba(0,0,0,0.4);
    --pozadina-elemnta: antiquewhite;
    --pozadina-podkat: rgb(239, 236, 236);
    --slova-oker: #ebc750;
    --slova-svetla: #fff1de;
    --slova-tamna: rgb(46, 31, 12);
    --slova-crvena: orangered;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 5px var(--senka); */
    background-color: var(--pozadina);
}
::-webkit-scrollbar-thumb {
    background: var(--pozadina-elemnta);
    border-radius: 10px;
    border: .5px solid var(--slova-crvena);
}
a{
    color: unset;
    text-decoration: unset;
}
html{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body{
    padding: 0;
    margin: 0; 
}
header{
    padding: .5em 1em;
    position: relative;
    background-color: var(--pozadina);
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid var(--ivica);
    overflow: visible;

}
#divHeader_background{
    background-image:url(/images/header_background.png);
    background-repeat:round;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: .1;
}
#divHeader_logo{
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 1;
    justify-content: space-between;
    margin-right: 1em;
}
#divHeader_logo>a{
    display: flex;
    align-items: center;
}
#divHeader_logo>*{
    user-select: none;
}
#spnNaslov{
    color: var(--slova-crvena);
    font-size: 2em;
    font-weight: 600;
    text-shadow: 1px 1px 2px var(--senka);
}
.divMeniDugme{
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}
.divMeniDugme span{
    background-color: var(--slova-crvena);
    display: block;
    width: 30px;
    height: 6px;
    margin: 1px;
    transform: rotate(0deg);

    transition: 200ms transform ease,
                200ms opacity ease-in-out;
}
.divMeniDugme span:nth-child(1){
    transform-origin: 12% 40%;
}
.divMeniDugme span:nth-child(3){
    transform-origin: 15% 40%;
}
.meniDugmePrikaz span:nth-child(1){
    transform: rotate(45deg);
    transform-origin: 12% 40%;
    
}
.meniDugmePrikaz span:nth-child(2){
    opacity: 0;
}
.meniDugmePrikaz span:nth-child(3){
    transform: rotate(-45deg);
    transform-origin: 15% 40%;
}

#divHeader_desno{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    z-index: 1;
    overflow: visible;
    color: var(--slova-tamna);
}
#divHeader_pretraga{
    display: flex;
    gap: 1em;
    overflow: visible;

}
#divHeader_pretraga>div{
    width: auto;
    position: relative;
    overflow: visible;
}
#divHeader_pretraga #inpPretraga,
#divHeader_pretraga select{
    border-radius: 3px;
    margin-right: 2em;
    outline: none;
    border: none;
    font-size: 1.4em;
    font-weight: 400;
    padding: .2em .2em .2em 2em;
    background-repeat: no-repeat;
    background-size: 1.4em 1.4em;
    background-position: .1em;
    /* width: 10em; */
    width: 100%;
}
#divHeader_pretraga select{
    width: 10em;
}
#inpChkSviGradovi{
    display: none;
}
#inpChkSviGradovi:checked+#lblSviGradovi{
    color: var(--slova-crvena);
    font-weight: 900;
    text-shadow: none;
}
#lblSviGradovi{
    position: absolute;
    right: 25px;
    top:3px;
    width: 3.3em;
    font-size: .8em;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    color: gray;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
#divPretragaPoruka{
    padding: .3em;
    width: 8em;
    font-size: 0.8em;
    text-align: center;
    background-color: black;
    color: white;
    border: 2px solid white;
    outline: 1px solid black;
    border-radius: 10px;
    border-top-left-radius: 0;
    position: absolute;
    top: 50%;
    right: 20%;
    display: none;
}
.prikaziPoruku{
    display: block!important;
}
#divHeader_pretraga #inpPretraga{
    background-image: url(/images/search-icon.png);
    
}
#divHeader_pretraga select{
    background-image: url(/images/city-icon.png);
}
#divHeader_pretraga #inpPretraga:hover,
#divHeader_pretraga #inpPretraga::selection,
#divHeader_pretraga select:hover,
#divHeader_pretraga select::selection{
    background-color: var(--pozadina-elemnta);
}

menu{
    list-style: none;
    display: flex;
    color: var(--slova-svetla);
    padding: 0;
    margin: 0;
}
menu li{
    padding: .5em 0em;
    font-size: 1.3em;
    width: 6.5em;
    text-align: center;
}
menu li a{
    font-weight: 500;
    text-transform: uppercase;
    transition: 250ms letter-spacing ease-in-out;
}
menu li a:hover{
    letter-spacing: .1em;
    font-weight: 600;
}



main{
    
}
#divSredina{
    min-height: 80vh;
    display: grid;
    grid-template-areas:"banerVrh banerVrh"
                        "putanja putanja"
                        "sadrzaj sadrzaj";
    
    gap: .5em;
    grid-template-rows: 0px 2em auto;
    grid-template-columns: 18em auto auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}
#divDugmeKat{
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    width: 2em;
    height: 7.6em;
    background-color: var(--pozadina-elemnta);
    z-index: 100;
    border-radius: 0 8px 8px 0;
    overflow: visible;
}
#divDugmeTekst{
    position: relative;
    width: 2em;
    height: 100%;
    margin: auto;
    opacity: .4;
}
#divDugmeTekst>div{
    position: absolute;
    background-color: var(--pozadina-elemnta);
    color: orangered;
    left: 0px;
    height: fit-content;
    display: block;
    transform: rotate(-90deg) translateX(-100%);
    transform-origin: 0 0;
    padding: .2em .4em;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 0 8px 8px 0;

}
#divDugmeOkvir{
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--slova-crvena);
    border-left: none;
    border-radius: 0 8px 8px 0;
}
@keyframes pulse {
    0% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .4;
    }
}
.MDPulse{
    animation: pulse 2500ms linear infinite;
    box-shadow: 3px 0px 8px 1px rgba(255, 69, 0, .8);
}
#divPutanja{
    padding: 2px;
}
#divPutanja *{
    overflow: hidden;
}
#divPutanja ul{
    display: flex;
    background-color: var(--slova-crvena);
    width: max-content;
    margin: 0;
    padding: 0px;
    list-style:circle;
}
#divPutanja ul li{
    background-color: white;
    margin: 0 1px;
    padding: .3em;
    cursor: pointer;
}
#divPutanja ul li:first-child{
    margin-left: 0;
}
#divPutanja ul li:last-child{
    margin-right: 0;
}
#divPutanja ul li:hover{
    text-decoration: underline;
}
#divBanerVrh{
    grid-area: banerVrh;
    /* background-color: chocolate; */
    display: none;
}

nav{
    list-style: none;
}
.liKategorija{
    font-size: 1.3em;
    max-height: 1.3em;
    overflow: hidden;
    margin: .5em 0;
    transition: 300ms max-height ease-in-out;
}
.liKategorija *{
    overflow: hidden;
}
.liKategorija>div{
    justify-content: center;
    align-items: center;
    gap: .4em;
    display: flex;

}
.liKategorija>div>span:nth-child(2):hover{
    font-weight: 600;
}
.liKategorija>div>span:first-child{
    font-size: .8em;
    transition: 200ms transform ease;
}
.liPrikaziPodkat{
    background-color: var(--pozadina-podkat);
    max-height: 30em;
}
.liPrikaziPodkat>div>span:first-child{
    transform: rotate(90deg);
    font-weight: 700;
}
.liPrikaziPodkat>div>span:nth-child(2){
    font-weight: 700;

}
nav span{
    cursor: pointer;
}
.grupaPodkat{
    padding: 0px;
    margin: .3em .2em 1em 1.2em;
}
.grupaPodkat li{
    font-size: 0.8em;
    cursor: pointer;
    margin: .3em .1em;
    padding: .2em;
}
.grupaPodkat li:hover{
    font-weight: 600;
}



#divPutanja{
    grid-area: putanja;
    /* background-color: blue; */
    overflow: hidden;
    height: 2em;
}
#divSadrzaj{
    grid-area: sadrzaj;
    /* background-color:darkgreen; */
    min-height: 80vh;
    
}
#divSadrzaj>div{
    /* min-height: 80vh; */
}








footer{
    background-color: black;
    min-height: 200px;
    display: grid;
}
#divFooter{
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr;
    color: var(--slova-svetla);
    margin: 3em 2em .5em;
}
#divFooter_logo{
    display: flex;
    justify-content: space-evenly;
    gap: 3em;
    padding: 2em;
}
#divFooter_logo img{
    width: 120px;
    height: 120px;
}
#divFooter_kontakt ul{
    padding: .3em;
}
#divFooter_kontakt ul li{
    display: inline-block;
    transition: 300ms transform ease-in-out;
}
#divFooter_kontakt ul li:hover{
    transform: scale(1.1);
}
#divFooter_kontakt ul li img{
    width: 40px;
}
#divDugmeIA{
    /* grid-area: app; */
}
#dugmeInstallApp{
    border-radius: 5px;
    display: flex;
    width: clamp(180px, 60%, 210px);
    margin: 1em auto;
    height: 60px;
    justify-content: space-between;
    align-items: center;
    padding: .2em 0.5em;
    border: 2px solid var(--slova-crvena);
    background-color: #6868689c;
    outline-offset: 1px;
    cursor: pointer;
    position: relative;
    text-align: center;
}
#divFooter_links ul:first-child{
    font-size: 1.2em;
    list-style: none;
    text-align: center;
}
#divFooter_links ul:last-child{
    font-size: .9em;
    list-style: none;
    text-align: center;
    font-weight: 100
}
#divFooter_links ul li{
    margin: .5em 0;
}
#divFooter_links .liOstalo a{
    font-weight: 100!important;
    font-size: 1em!important;
}
#divFooter_links ul li a:hover{
    text-decoration: underline;
}
#divFooter_prava{
    grid-column: span 4;
    text-align: center;
}
#divFooter_prava{
    width: 100%;
    display: block;
}
#divDeveloper{
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    text-align: center;
}
#divDeveloper *{
    display: inline-block;
}
#divDeveloper span, #divDeveloper a, a span{
    color: white;
    text-decoration: none;
    vertical-align: middle;
}
#divDeveloper span{
    font-size: .8em;
}
#divDeveloper img{
    height: 20px;
}
button, .spnDugme{
    border: 3px solid var(--ivica);
    background-color: white;
    border-radius: 3px;
    font-size: 1.5em;
    font-weight: 800;
    letter-spacing: .1em;
    padding: .5em 1em;
    cursor: pointer;
    transition: 300ms background-color cubic-bezier(0.075, 0.82, 0.165, 1);
}
button:hover{
    background-color: var(--pozadina-elemnta);
}
h1{
    text-shadow: 1px 1px 2px rgba(72,72,72, .6);
}
#topDugme {
    position:fixed; 
    display:none;
    bottom:20px;
    right:30px;
    font-size:2.5em;
    font-weight: 800;
    text-shadow: 1px 1px 2px var(--senka);
    border: 4px solid var(--slova-crvena);
    background-color:var(--pozadina-elemnta);
    color:var(--slova-tamna);
    box-shadow: 0px 0px 3px 1px var(--senka);
    cursor: pointer;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    z-index: 50;
    justify-content: center;
    align-items: center;
    align-content: center;
    /* background-image: url(/images/top-ico.png);
    background-size: cover;
    background-position: 0%;
    background-repeat: no-repeat; */
}
#topDugme i{
    line-height: unset;
}
.popupBaner{
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    min-height: 300px;
    /* background-color: #ff7b00; */
    overflow: visible;
    z-index: 150;
}
#divPBIzlaz{
    /* background-color: black; */
    color: white;
    /* width: 2em; */
    /* height: 2em; */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5),
                -1px -1px 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.5),
                inset 0px 0px 3px rgba(0, 0, 0, 0.5);
    display: block;
    padding: 1px 7px;
    border: 3px solid snow;
    border-radius: 50%;
    font-size: 1.4em;
    font-weight: 900;
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0px;
}
#divPBSadrzaj{
    width: 100%;
    height: 90%;
    display: block;
    margin-top: 45px;
    background-color: rgb(240, 240, 240 , 0.95);
    background-image: linear-gradient(90deg, #f8ff0022 0%, #3ad59f33 100%);
    box-shadow: 0px 0px 6px 8px rgba(0, 0, 0, 0.5),
                inset 0px 0px 6px 2px rgba(0, 0, 0, 0.5);
    border-top: 20px solid var(--slova-crvena);
    border-left: 20px solid var(--slova-crvena);
    border-bottom: 20px solid var(--slova-crvena);
    border-right: 20px solid var(--slova-crvena);
    outline: 4px solid var(--slova-oker);
    padding: 15px;
    padding-top: 50px;
    border-radius: 2px;
    text-align: center;
}
#divPBSadrzaj span{
    font-size: 1.2em;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
#divPBSadrzaj a{
    font-weight: 900;
    color: black;
    text-decoration: none;
}
.no-select{
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
@media screen and (max-width:480px){
    body{
    }
    .popupBaner{
        width: 80%;
    }
    header{
        padding: .3em;
        display: block;
        flex-direction: column;
        min-height: 4em;
        max-height: 4em;
        width: 100%;
        overflow: hidden;
        transition: 350ms max-height ease-in-out;
        position: fixed;
        z-index: 50;
    }
    #divHeader_background{
        height: 5em;
        top: unset;
        bottom: 0;
    }
    #divHeader_logo{
        overflow: hidden;
        align-items: unset;
    }
    .headerPrikaziMeni{
        max-height: 35em;
        transition-delay: 0ms;
    }
    .headerPrikaziMeni #divHeader_logo img{
        width: 5em;
    }
    #divHeader_logo img{
        width: 3em;
        transition: 250ms width ease-in-out;
    }
    #divHeader_desno{
        display: flex;
        flex-direction: column;
        max-height: 0em;
        transition: 350ms max-height ease-in-out 0ms;
        overflow: hidden;
    }
    .headerPrikaziMeni #divHeader_desno{
        max-height: 30em;
        transition-duration: 50ms;
    }
    menu{
        flex-direction: column;
        margin: 0 auto;
        overflow: hidden;
    }
    menu li{
        display: block;
        overflow: hidden;
        opacity: 0;
        transition: 200ms opacity ease-in 100ms;
    }
    .headerPrikaziMeni menu li{
        opacity: 1;
    }
    #divHeader_pretraga{
        overflow: hidden;
        /* display: none; */
        display: flex;
        flex-direction: column;
        gap: .5em;
        justify-items:center;
        z-index: 10;
        width: 100%;
        padding: 0px 2em;
    }
    #divHeader_pretraga input{
        /* margin: 0px auto; */
        width: 100%;
    }
    #divHeader_pretraga select{
        width: 100%;
    }
    /* #divPretragaPoruka{ #pormeriti da balončić iskače iznad polja za pretragu
        border-radius: 10px;
        border-bottom-left-radius: 0;
        position: absolute;
        top: -50%;
        z-index: 10;
    } */
    main{
        margin-top: 4em;
    }
    #divSredina{
        gap: 0em;
        width: 100%;
        grid-template-columns: auto auto;
    }
    #divKategorije{
        position: fixed;
        background-color: var(--pozadina-svetla);
        width: 100%;
        height: 100%;
        z-index: 30;
        transform: translateX(-100%);
        text-align: center;
        transition: 300ms transform ease-in-out;
        padding-bottom: 5em;
        overflow-x: hidden;
    }
    .divKategorijePrikazi{
        transform: translateX(0%)!important;
    }
    #divKategorije>div{
        overflow-y: scroll;
        overflow-x: hidden;
        height: 100%;
    }
    #divFooter{
        grid-template-columns: 1fr;
    }
    #divFooter_logo{
        padding: 1em;
    }
    #divFooter_kontakt{
        text-align: center;
    }
    #divFooter_links ul{
        margin: 0;
        padding: 0;
    }
    #divFooter_prava{
        grid-area: unset;
        padding-top: 2em;
    }
    button{
        padding: 1em;
    }
}
@media screen and (min-width:481px) and (max-width:768px){
    .popupBaner{
        width: 80%;
    }
    header{
        padding: .4em;
        display: block;
        flex-direction: column;
        min-height: 4em;
        max-height: 4em;
        width: 100%;
        overflow: hidden;
        transition: 350ms max-height ease-in-out;
        position: fixed;
        z-index: 50;
    }
    #divHeader_background{
        /* background-repeat: no-repeat; */
        height: 5em;
        top: unset;
        bottom: 0;
    }
    #divHeader_logo{
        overflow: hidden;
        align-items: unset;
    }
    .headerPrikaziMeni{
        max-height: 35em;
        transition-delay: 0ms;
    }
    .headerPrikaziMeni #divHeader_logo img{
        width: 5.5em;
    }
    #divHeader_logo img{
        width: 3.5em;
        transition: 250ms width ease-in-out;
    }
    #divHeader_desno{
        display: flex;
        flex-direction: column;
        max-height: 0em;
        transition: 350ms max-height ease-in-out 0ms;
        overflow: hidden;
    }
    .headerPrikaziMeni #divHeader_desno{
        max-height: 30em;
        transition-duration: 50ms;
    }
    menu{
        flex-direction: column;
        margin: 0 auto;
        overflow: hidden;
    }
    menu li{
        display: block;
        overflow: hidden;
        opacity: 0;
        transition: 200ms opacity ease-in 100ms;
    }
    .headerPrikaziMeni menu li{
        opacity: 1;
    }
    #divHeader_pretraga{
        overflow: hidden;
        /* display: none; */
        display: flex;
        flex-direction: column;
        gap: .5em;
        justify-items:center;
        z-index: 10;
        width: 100%;
        padding: 0px 6em;
    }
    #divHeader_pretraga input{
        /* margin: 0px auto; */
        width: 100%;
        height: 2em;
    }
    #divHeader_pretraga select{
        width: 100%;
        height: 2em;
    }
    main{
        margin-top: 4em;
    }
    #divSredina{
        gap: 0em;
        width: 100%;
        grid-template-columns: auto auto;
    }
    #divKategorije{
        position: fixed;
        display: block;
        overflow-y: scroll;
        background-color: var(--pozadina-svetla);
        width: 100vw;
        height: 100vh;
        z-index: 30;
        transform: translateX(-100%);
        text-align: center;
        transition: 300ms transform ease-in-out;
    }
    .divKategorijePrikazi{
        transform: translateX(0%)!important;

    }
    #divFooter{
        grid-template-columns: 1fr 1fr;
    }
    #divFooter_logo{
        padding: 1em;
    }
    #divFooter_prava{
        padding-top: 3em;
        grid-area: unset;
    }
    button{
        padding: 1em;
    }
}
@media screen and (min-width:769px){
    #divHeader_background{
        z-index: unset;
    }
    #divHeader_logo{
        width: unset;
    }
    #spnNaslov{
        /* display: none; */
    }
    #divMeniDugme,
    #divDugmeKat{
        display: none;
    }
    #divSredina{
        grid-template-areas:"banerVrh banerVrh banerVrh"
        "kategorije putanja putanja"
        "kategorije sadrzaj sadrzaj";
    }
    #divKategorije{
        grid-area: kategorije;
        width: 18em;
    }
    .liKategorija>div{
        justify-content: unset;
        /* align-items: center; */
    }
}
@media screen and (min-width:1250px){
    #divSredina{
        
    }
    #divKategorije{
        overflow: hidden;

    }
    #divKategorije nav{
        overflow: hidden;
    }
    .liKategorija{
        overflow: hidden;
    }
    .liKategorija div{
        overflow: hidden;
    }
}