﻿/*
    ------------------------------------------------
    FONT
    ------------------------------------------------
*/

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}




/*
    ------------------------------------------------
    ELEMENTS
    ------------------------------------------------
*/

body {
    font-family: "Bebas Neue", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 1.4em !important;
    overflow-x: visible;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-content: space-around;
    background: #8DBA79;
    background: -webkit-linear-gradient(145deg, rgba(141, 186, 121, 1) 0%, rgba(186, 220, 169, 1) 29%, rgba(186, 220, 169, 1) 74%, rgba(148, 190, 127, 1) 100%);
    background: -moz-linear-gradient(145deg, rgba(141, 186, 121, 1) 0%, rgba(186, 220, 169, 1) 29%, rgba(186, 220, 169, 1) 74%, rgba(148, 190, 127, 1) 100%);
    background: linear-gradient(145deg, rgba(141, 186, 121, 1) 0%, rgba(186, 220, 169, 1) 29%, rgba(186, 220, 169, 1) 74%, rgba(148, 190, 127, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8DBA79", endColorstr="#94BE7F", GradientType=0);
}


/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: inherit;
}

h1 {
    font-family: "Bebas Neue", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    m color: white;
    font-size: 3em;
}

h2 {
    font-family: "Bebas Neue", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #235839;
    font-size: 2.2em;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 0;
}

    h3,
    h3 a {
        color: #23583a;
    }

p {
    font-family: "Bebas Neue", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color: #235839;
    font-size: 16px;
    line-height: 24px;
}

/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

html {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

a {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
}


    a:hover {
        text-decoration: underline !important;
        color: #e66c28;
    }

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    cursor: pointer;
    background: #000000;
}

.section-title {
    padding-bottom: 40px;
}

    .section-title h2 {
        margin: 0;
    }

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 90%;
}

.overlay {
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section {
    position: relative;
    padding: 0;
    height: 100%;
    text-align: center;
    margin: 0 auto;
    background: transparent;
}

* {
    margin: 0;
    padding: 0;
}

.drop-shadow {
    filter: drop-shadow(0px 0px 10px rgba(0,0,0,.5));
}

.box-shadow {
    box-shadow: 0px 0px 10px rgba(0,0,0,.5)
}

.row {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.space30 {
    margin: 20px auto;
    height: 30px;
    clear: both;
}

.text-danger:empty {
    background-color: transparent;
}

.text-danger {
    color: darkred;
    font-weight: 600;
    display: block;
    padding: 5px 10px;
}



/*---------------------------------------
     BUTTONS               
  -----------------------------------------*/

.section-btn {
    background: #ce3232;
    border-radius: 0;
    border: 0;
    color: white;
    font-size: inherit;
    font-weight: normal;
    padding: 10px 25px;
    transition: 0.5s 0.2s;
}


/*---------------------------------------
     Body               
  -----------------------------------------*/


/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.bg-blue {
    --bs-bg-opacity: 1;
    background: #8DBA79;
    background: webkit-linear-gradient(145deg, rgba(141, 186, 121, 1) 0%, rgba(186, 220, 169, 1) 29%, rgba(186, 220, 169, 1) 74%, rgba(148, 190, 127, 1) 100%);
}




.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0.5rem;
    /*--bs-navbar-color: rgba(255, 255, 255, 1);
     --bs-navbar-hover-color: rgba(27, 44, 90, 0.7);
    --bs-navbar-disabled-color: rgba(27, 44, 90, 0.3);
    --bs-navbar-active-color: #fff;*/
    --bs-navbar-brand-padding-y: 0.3125rem;
    --bs-navbar-brand-margin-end: 1rem;
    --bs-navbar-brand-font-size: 1.25rem;
    --bs-navbar-brand-color: #ffffff;
    --bs-navbar-brand-hover-color: rgba(27, 44, 90, 0.9);
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-toggler-padding-y: 0.25rem;
    --bs-navbar-toggler-padding-x: 0.75rem;
    --bs-navbar-toggler-font-size: 1.25rem;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255.1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.55);
    --bs-navbar-toggler-border-radius: 0.1rem;
    --bs-navbar-toggler-focus-width: 0.1rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
    background: #E66529;
    background: linear-gradient(0deg,rgba(230, 101, 41, 1) 0%, rgba(230, 123, 41, 1) 50%, rgba(243, 159, 44, 1) 100%);
}

.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: 500;
    /*--bs-nav-link-color: var(--bs-navbar-color);
    --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
    --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);*/
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: 1.2rem;
    font-weight: var(--bs-nav-link-font-weight);
    color: white;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

    .nav-link a {
        background-color: transparent;
        color: #fff;
    }

    .nav-link:hover {
        /*background-color: #fff;*/
        color: #23583A;
    }

    .nav-link.visited,
    .nav-link.link,
    .nav-link.focus {
        background-color: #fff;
        color: #000;
    }

    .nav-link.active {
        background-color: #fff;
        color: #000;
    }

.navbar-brand {
    padding: 0 5px;
}

    .navbar-brand:hover {
        color: #23583a;
    }

    .navbar-brand img {
        height: 80px;
        width: auto;
        padding: 0;
    }

main {
    min-height: 600px;
    width: 100%;
    margin: 0 auto;
}


/*---------------------------------------
     FOOTER              
  -----------------------------------------*/
footer {
    width: 100%;
    margin: 0 auto;
    border: none;
    display: flex;
    flex-direction: row;
    z-index: 1001;
    background: #E66529;
    background: linear-gradient(0deg,rgba(230, 101, 41, 1) 0%, rgba(230, 123, 41, 1) 50%, rgba(243, 159, 44, 1) 100%);
    color: #fff;
    border-top: solid 1px #000;
}

.containerFoot {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    background:  #E66529;
    background: linear-gradient(0deg,rgba(230, 101, 41, 1) 0%, rgba(230, 123, 41, 1) 50%, rgba(243, 159, 44, 1) 100%);

}

#footer img {
    width: auto;
    padding-bottom: 7px;
    padding: 10px;
    height: 60px;
}

.footNav {
    margin: 0;
    list-style: none;
    margin-top: 17px;
}


/* ------------------------------------------------------------ */
/*---------------------------------------
      HOME              
  -----------------------------------------*/
#home {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}



/* BCK je pozadinska slika */
#bck {
    width: 74%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Kontejner koji sedi preko slike */
.overlay-elements {
    width: 100%;
    height: 100%;
    pointer-events: none; /* ako ne treba da se klikće */
}

    .overlay-elements img {
        width: 90%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /*glavna*/

.glavna {
    width: 100%;
    height: 100%;
    pointer-events: none; /* ako ne treba da se klikće */
}

    .glavna img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }





    /*---------------------------------------
          Nagrade
     ---------------------------------------*/

#div_nagrade {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: -20%;
    /*padding: 0 2%;*/
    box-sizing: border-box;
}

.slika_kontejner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

    .slika_kontejner.nedeljna {
        flex: 0 1 33%;
        max-width: 33%;
    }

    .slika_kontejner.dnevna {
        flex: 0 1 67%;
        max-width: 67%;
    }

.img_nedeljna,
.img_dnevna {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: none;
}

/* Medium screens — 2 slike padaju jedna ispod druge */
@media (max-width: 1500px) {
    #div_nagrade {
        margin-top: -10%;
        flex-direction: column;
        align-items: center;
    }
}

/* 900px ekran*/
@media (max-width: 900px) {
    #div_nagrade {
        flex-direction: column;
        align-items: center;
        margin-top: -10%; 
    }

    .slika_kontejner {
        flex: 1 1 100%;
        max-width: 95%;
        
    }

    .img_nedeljna,
    .img_dnevna {
        max-height: 400px;
    }
}


        /*---------------------------------------
      mehanizam              
  -----------------------------------------*/

        #mehanizam {
            z-index: 0;
            border: none;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center; /* Centriranje elemenata */
            width: 100%;
        }

            #mehanizam h1 {
                padding: 50px;
                font-size: clamp(24px, 5vw, 48px); /* Fluidni font size */
                color: #23583a;
            }

        .div-mehanizam {
            display: flex;
            flex-direction: row;
            justify-content: center;
            width: 90%;
            margin: 0 auto;
            background-color: transparent;
            align-content: flex-start;
            align-items: flex-start;
            gap: 20px; /* Razmak između slika */
        }

            .div-mehanizam img {
                width: 30%;
                object-fit: contain;
            }

        .div-mehanizam1 {
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            margin: 80px auto;
        }

            .div-mehanizam1 img {
                width: 50%;
            }

        /* Responsive: kada ekran postane manji od 768px */
        @media screen and (max-width: 768px) {

            #mehanizam {
                align-items: center;
            }

            .div-mehanizam {
                flex-direction: column; /* Slike idu jedna ispod druge */
                align-items: center;
                gap: 30px; /* Veći razmak između slika na manjim ekranima */
            }

                .div-mehanizam img {
                    width: 80%; /* Na mobilnim ekranima, slike zauzimaju 80% širine */
                }

            .div-mehanizam1 img {
                width: 100%; /* Slike u div-mehanizam1 zauzimaju celu širinu na mobilnim ekranima */
            }

            #mehanizam h1 {
                font-size: clamp(18px, 6vw, 36px); /* Manji font na manjim ekranima */
            }

            /*Promenila sam sve h3 jer nije htelo da gadja samo ovaj*/
            /*.tekst h3 {
                color: #23583a;
            }*/

            /*.navbar-brand img {
                height: 40px;
            }

            #home {
                margin-top: 40px;
            }

            #home1 {
                margin-top: 40px;
            }

            #naslov {
                padding: 40px;
                width: 90%;
            }

            #naslov1 {
                padding: 40px;
                width: 90%;
            }

            .Grid td,
            .Grid th {
                font-size: 0.9em;
                padding: 5px;
            }*/
        }
    }





/*---------------------------------------
      kontakt              
  -----------------------------------------*/

#kontakt {
    margin: 0 auto;
}

    #kontakt h1 {
        padding: 50px;
        font-size: clamp(24px, 5vw, 48px);
        color: #23583a;
    }

.kontaktPage {
    margin: 0 auto;
    width: 80%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Omogućava prelamanje slika na manjem ekranu */
    gap: 5px; /* Razmak između slika */
}

    .kontaktPage img {
        width: 33%; /* Na većim ekranima svaka slika zauzima 1/3 širine */
        padding-bottom: 50px;
        object-fit: contain; /* Osigurava da slike ne budu iskrivljene */
    }

@media screen and (max-width: 768px) {
    .kontaktPage {
        flex-direction: column;
        align-items: center;
    }

        .kontaktPage img {
            width: 80%; /* Na manjim ekranima slike zauzimaju 80% širine */
        }
}



/*---------------------------------------
      privacy              
  -----------------------------------------*/


#privacy {
    z-index: 0;
    border: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

    #privacy .div-privacy {
        display: flex;
        flex-direction: row;
        width: 90%;
        margin: 0 auto;
        text-align: center;
        justify-content: center;
    }

        #privacy .div-privacy img {
            margin: 0 auto;
            max-width: 420px;
            height: auto;
            margin-top: 20px;
        }



/*---------------------------------------
      bottom              
  -----------------------------------------*/


#bottom {
    z-index: 0;
    border: none;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 5% auto;
}

.div-bottom {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

    .div-bottom img {
        margin: 0 auto;
        max-height: 200px;
    }



/*---------------------------------------
      DOBITNICI              
  -----------------------------------------*/
#dobitnici {
    font-family: "Montserrat", sans-serif;
    padding: 0;
    position: relative;
    border: none;
    margin: 0 auto;
    padding-top: 80px;
    text-align: center;
    width: 100%;
    color: #fff;
    min-height: 600px;
    background: #B0D59E;
    padding-bottom: 50px;
}

    #dobitnici h2 {
        color: #235839;
        padding-bottom: 10px;
        font-size: 2.2em;
    }

    #dobitnici p {
        color: #fff;
        /*font-size: 12px;*/
        line-height: inherit;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin: 0;
        margin-bottom: 100px;
    }

    #dobitnici table tr td {
        word-wrap: normal;
        border: solid 1px gainsboro;
        word-wrap: break-word;
        background: #235839;
        color: #fff;
    }

/*---------------------------------------
      PRAVILNIK              
  -----------------------------------------*/

#pravilnik {
    font-family: "Montserrat", sans-serif;
    padding: 0;
    position: relative;
    border: none;
    margin: 0 auto;
    padding-top: 80px;
    text-align: center;
    width: 100%;
    color: #235839;
    background: #ADD29B;
}

    #pravilnik .div-pravilnik {
        width: 90%;
        margin: 0 auto;
    }

    #pravilnik h3 {
        color: #235839;
        padding: 0 0 40px 0;
        max-width: 80%;
        margin: 0 auto;
    }

    #pravilnik p {
        color: #235839;
        font-family: "Montserrat", sans-serif;
        font-size: 13px;
        line-height: inherit;
        letter-spacing: 1px;
        margin: 0;
        margin-bottom: 10px;
        text-align: left;
    }





    #pravilnik ul {
        color: #235839;
        list-style: circle;
        text-align: left;
        font-size: 14px;
    }

    #pravilnik ol {
        color: #235839;
        list-style: none;
        text-align: left;
        font-size: 18px;
    }

    #pravilnik table {
        width: 80%;
    }

        #pravilnik table td {
            border: solid 1px #235839;
            padding: 2px;
            word-wrap: break-word;
            word-break: break-all;
        }

.div-pravilnik {
    padding-bottom: 80px;
}

/*---------------------------------------
      POLITIKA PRIVATNOSTI              
  -----------------------------------------*/

#privatnost {
    font-family: "Montserrat", sans-serif;
    padding: 0;
    position: relative;
    border: none;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: #235839;
    background: #BADCA9;
    padding-top: 80px;
}

    #privatnost h3 {
        color: #235839;
        padding: 0 0 40px 0;
        max-width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    #privatnost p {
        color: #235839;
        font-family: "Montserrat", sans-serif;
        font-size: 13px;
        line-height: inherit;
        letter-spacing: 1px;
        margin: 0;
        margin-bottom: 10px;
        text-align: center;
    }

.div-privatnost {
    padding-bottom: 80px;
}

/*------------------------------------------
    DOBITNICI TABLE
------------------------------------------*/
.Grid {
    border: 1px solid gainsboro;
    border-collapse: separate;
    width: 90%;
    font-size: 1.0em;
    margin: 0 auto;
}

    .Grid th {
        background-color: #235839;
        font-weight: bold;
        color: white;
    }

    .Grid th, .Grid td {
        padding: 3px 5px;
        border: 1px solid gainsboro;
        word-break: break-all
    }

    .Grid, .Grid table td {
        border: 1px solid gainsboro;
    }

        .Grid th a, .Grid th a:visited {
            text-align: center;
            color: white;
        }

.Grid-Header {
    background-color: #235839;
    color: #fff;
    text-align: center;
    word-wrap: break-word;
}

.Grid-Row {
    background-color: #11489F;
    word-wrap: break-word;
}

.Grid-Row-alt {
    background-color: #11489F;
    word-wrap: break-word;
}

.Grid-foot {
    height: 20%;
    text-align: center;
    line-height: 18px;
    font-size: 1.5em;
    background-color: #235839;
    color: #fff;
}

.px30 {
    width: 30px;
}

.px60 {
    width: 60px;
}

.px90 {
    width: 90px;
}

.px120 {
    width: 120px;
}

.px180 {
    width: 180px;
}

.px200 {
    width: 200px;
}

.px240 {
    width: 240px;
}

.px280 {
    width: 280px;
}

.px300 {
    width: 300px;
}

.px300 {
    width: 320px;
}

.width10 {
    width: 10%;
}

.width20 {
    width: 20%;
}

.width30 {
    width: 30%;
}

.width40 {
    width: 40%;
}

/*.pagination > li > a,
.pagination > li > span {
    color: #1b2c5a;
    background-color: #0E3A7D;
    border: 1px solid #0E3A7D;
    padding: 1px 5px;
}

    .pagination > li > a:hover,
    .pagination > li > span:hover,
    .pagination > li > a:focus,
    .pagination > li > span:focus {
        background-color: #f05983;
    }

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    color: #fff;
    cursor: default;
    background-color: darkred;
    border-color: darkred;
}

.clearfix {
    clear: both;
    margin: 5px 0;
}*/


/*---------------------------------
	Bck Top
---------------------------------*/
/* Back top */
#btn-back-to-top {
    background-color: #459066;
    bottom: 2em;
    right: 2em;
    color: white;
    font-size: 32px;
    font-weight: bold;
    display: none;
    position: fixed;
    text-decoration: none;
    width: 60px;
    height: 60px;
    line-height: 40px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    z-index: 99999;
}

    #btn-back-to-top:hover {
        background: white;
        color: #459066;
    }

    #btn-back-to-top {
        outline: none;
        border: none;
    }

    #btn-back-to-top:focus {
        outline: none;
        border: none;
        box-shadow: none;
    }