/*---Default---*/


html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    /*background-image: url('../img/MAHR za sajt 01 - za stranu 1 -Rezolucija slike 1920p.jpg');*/
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.row {
    margin: 0px;
    padding: 0px;
}

h1 {
    font-family: 'Audiowide', cursive;
    color: white;
    font-weight: bold;
    font-size: 6.5rem;
    margin-bottom: 1.1em;
    animation-timing-function: ease-in;
    animation-direction: forwards;
    animation-fill-mode: backwards;
    animation-name: naslov;
    animation-duration: 2.5s;
    animation-delay: 1s;
    animation-iteration-count: 1;
}

h2 {
    font-family: 'Audiowide', cursive;
    color: #3a3a3a;
    font-size: 40px;
    font-weight: 600;
    margin-top: 90px;
    text-align: center;
}

h3 {
    color: white;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -2px;
    font-size: 2.75rem;
    animation-timing-function: ease-in;
    animation-direction: forwards;
    animation-fill-mode: backwards;
    animation-name: naslov;
    animation-duration: 2.5s;
    animation-delay: 1s;
    animation-iteration-count: 1;
}

h4 {
    font-family: 'Audiowide', cursive;
    color: #3a3a3a;
    font-size: 24px;
    font-weight: 600;
    margin-top: 60px;
}

h5 {
    font-family: 'Audiowide', cursive;
    color: #3a3a3a;
    font-size: 22px;
    font-weight: 600;
}

p, label {
    color: #3a3a3a;
    font-family: 'Titillium Web', sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0px;
    display: block;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*---Menu---*/


.navbar {
    background-color: #3a3a3a !important;
    width: 100%;

}

.navbar-toggler {
    border: 0px;
    margin: 0px;
    animation: none;
}

.navbar-toggler:hover {
    background-color: transparent;
    border: 0px;
}

#navbarSupportedContent {
    background-color: #3a3a3a;
    text-align: right;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' fill='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-nav .nav-item .nav-link {
    color: white;
    font-size: 20px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0px;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: white;
    text-decoration: underline;
    outline: none;
}


/*---Naslovna---*/


.loader-wrapper {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #3a3a3a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glavni {
    background-image: linear-gradient(rgba(58, 58, 58, 0.3) 100%, rgba(191, 191, 191, 0.3) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0px;
    height: 100vh;
}

.naslovnaslajder {
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;


}

#slajd3 {
    animation: slajdtreci 15s linear infinite;
}

#slajd2 {


    animation: slajddrugi 15s linear infinite;
}


@keyframes slajdtreci {
    0% {
        opacity: 1;
    }
    23.3% {
        opacity: 1;
    }
    33.3% {
        opacity: 0;
    }
    66.6% {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }


}

@keyframes slajddrugi {
    0% {
        opacity: 1;
    }
    56.6% {
        opacity: 1;
    }
    66.6% {
        opacity: 0;
    }
    90% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }


}

.img-fluid {
    width: 116px;
    height: auto;
    max-width: 100%;

}

.programi {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3a3a3a;
    background-color: white;
    border: 1px #3a3a3a;
    border-radius: 20px;
    display: block;
    width: 350px;
    padding: 0.3em;
    transition: all .35s ease-in-out;
    text-align: center;

    animation-timing-function: linear;
    animation-direction: forwards;
    animation-fill-mode: backwards;
    animation-name: but;
    animation-duration: 0.75s;
    animation-iteration-count: 1;
}

.programi:hover, .programi:focus {
    background-color: #3a3a3a;
    color: white;
    transform: scale(1.1);
    outline: none;

}

.programiZastup {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    background-color: #3a3a3a;
    border: 1px white;
    border-radius: 20px;
    display: block;
    width: 350px;
    padding: 0.3em;
    transition: all .35s ease-in-out;
    text-align: center;

    animation-timing-function: linear;
    animation-direction: forwards;
    animation-fill-mode: backwards;
    animation-name: but;
    animation-duration: 0.75s;
    animation-iteration-count: 1;
}

.programiZastup:hover, .programiZastup:focus {
    background-color: #3a3a3a;
    color: white;
    transform: scale(1.1);
    outline: none;
}

#mahr {
    animation-delay: 0.1s;
}

#tesa {
    animation-delay: 0.2s;
}

#tohnichi {
    animation-delay: 0.3s;
}

#standard {
    animation-delay: 0.4s;
}

@keyframes naslov {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes but {
    from {
        transform: translateX(-1000px);
        opacity: 0;
    }
    to {
        transform: translateX(0)
    }
}

@keyframes brojac {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
    }
}

#brojac {

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0rem 1rem 1rem 1rem;
    /*margin-bottom: 5rem;*/
    padding: 0em 0.5em 0em 0.5em !important;
    color: #3a3a3a;
    font-size: 1rem;
    border: 2px solid #3a3a3a;
    border-radius: 10px;
    animation-timing-function: ease-in;
    animation-direction: forwards;
    animation-fill-mode: backwards;
    animation-name: naslov;
    animation-duration: 2.5s;
    animation-delay: 1s;
    animation-iteration-count: 1;
}

.brojevi {

    text-align: center;
    display: inline !important;
    width: 20%;
    padding: 0.3em 0.3em 0.3em 0.3em;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    animation-timing-function: ease-in;
    animation-direction: forwards;
    animation-fill-mode: backwards;
    animation-name: brojac;
    animation-duration: 0.8s;
    animation-iteration-count: 1;
}

#no1 {
    animation-delay: 0.5s;
}

#no2 {
    animation-delay: 0.8s;
}

#no3 {
    animation-delay: 1.1s;
}

#no4 {
    animation-delay: 1.4s;
}

#no5 {
    animation-delay: 1.7s;
}

/*---Zastupnicki---*/


.zastupnicki {
    background-color: rgba(255, 255, 255, 0.95);
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 50px;
    padding-top: 20px;
}

.program {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    margin-top: 5% !important;
    margin-bottom: 5% !important;
}

figcaption {
    text-align: center;
}

.katalog {
    border-bottom: 1px solid #cdcdcd;
    margin-bottom: 0px;
}

.srpskiprevod, .srpskiprevod:hover {
    color: red;
}


/*---O nama---*/


.onama {
    background-color: rgba(255, 255, 255, 0.8);
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 50px;
    padding-top: 20px;
}

.tekst {
    margin-top: 8%;
}

.logo {
    max-width: 100%;
    height: auto;
    margin-top: 35%;
}

.slike {
    margin-top: 5%;
    text-align: center;
    padding-bottom: 15px;
}


/*---Kontakt---*/


.kontakt {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0px;
}

.kontaktdesna {
    padding: 50px 15px 50px 15px;
}

.con {
    border-right: 1px solid black;
    padding: 50px 15px 50px 15px;
}

}
textarea, input {
    border-radius: 4px;
    border: 1px solid #3a3a3a;
}

textarea {
    width: 95%;
}

input[type=submit] {
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
    height: 50px;
    width: 30%;
    font-weight: 700;
    color: #3a3a3a;
    fill: #3a3a3a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;

    transition: all .35s ease-in-out;
}

input[type=submit]:hover {
    background-color: #3a3a3a;
    color: white;

    transform: scale(1.1);
}

#mapa {
    max-width: 100%;
    height: 300px;
}

.error {
    color: red;
    font-family: 'Titillium Web', sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0px;

}

/*---Footer---*/


.futer {
    background-color: #3a3a3a;
}

.page-header {
    color: white;
    font-weight: 300;
    font-size: 26px;
    border-bottom: 1px solid white;
}

.fp, .link {
    color: white;
    font-weight: normal;
}

.fp {
    margin-top: 20px;
    margin-bottom: 20px;
}

.link:hover {
    color: white;
    text-decoration: underline;
}

.copy {
    text-align: center;
    color: white;
    font-weight: normal;
}

.copyfooter {
    border-top: 1px solid white;
}


/*---Media---*/


/*-Naslov-*/


@media (max-width: 570px) {
    h1 {
        font-size: 18vw;
    }

}

/*-buttons-*/

@media (max-width: 400px) {
    html {
        font-size: 14px;
    }
}


@media (max-width: 340px) {
    html {
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    .programi {
        width: 75%;
    }
}

/*-borders-*/

@media (max-width: 766px) {
    .con {
        border-right: 0px;

    }

    .program {
        border-top: 0px !important;
        border-bottom: 1px solid black;
        margin-bottom: 0px !important;
        margin-top: 10% !important;
        padding: 10px 0px 10px 0px !important;
    }

    .glavni {
        background-image: linear-gradient(rgba(58, 58, 58, 0.75) 100%, rgba(191, 191, 191, 0.75) 100%);
    }

    .naslovnaslajder {
        object-fit: cover;
    }
}


/*-Pocetna fit to screen-*/

@media (max-height: 470px) {
    .glavni {
        height: 100% !important;
    }
}

@media (max-height: 750px) and (min-width: 451px) {
    html {
        font-size: 15px;
    }
}

@media (max-height: 510px) and (min-width: 451px) {
    .glavni {
        height: 100% !important;
    }
}

@media (max-height: 500px) and (min-width: 410px) {
    .glavni {
        height: 100% !important;
    }
}


/*
@media only screen and (max-device-width: 1025px)
{
  h1{
    font-size: 18vw !important;
  }
  h3{
    font-size: 10vw !important;
  }
  .programi{
    width: 65vw !important;
    height: 7vh !important;
    font-size: 5vw !important;
  }
}
@media(max-height: 479px){
  .glavni{
    height: auto;
  }
   h1{
    font-size: 13vw !important;
  }
  h3{
    font-size: 6vw !important;
  }
  .programi{
    width: 55vw !important;
    height: 12vh !important;
    font-size: 8vh !important;
  }
  
}
@media 
(min-height: 600px) and (max-height: 1300px)
and (min-width: 900px) and (max-width: 1399px)
{
  h1{
    font-size: 7vw !important;
  }
  h3{
    font-size: 3.5vw !important;
  }
  .programi{
    width: 22vw !important;
    height: 6vh !important;
    font-size: 1.8vw !important;
  }
}

@media(min-width: 1400px)
{
  h1{
    font-size: 100px !important;
    margin-bottom: 50px;
  }
  h3{
    font-size: 44px !important;
  }
  .programi{
    width: 350px !important;
    height: 50px !important;
    font-size: 24px !important;
  }
}

@media(max-width: 766px)
{
  .con{
    border-right: 0px;
  }
}
/*---Media---*/


/* ----------- Galaxy S6 ----------- */

/* Portrait and Landscape */

/*@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) {

 h1{
  font-size: 70px !important;
    margin-top: 100px !important;  
    margin-bottom: 80px !important;

}

}

/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */

/*
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {

 h1{
  font-size: 50px !important;
    margin-top: 100px !important;  
    margin-bottom: 60px !important;

}
 h3{
   font-size:30px !important;
   margin-bottom:20px !important;
 }
 button{
  width: 180px !important;
  height: 30px !important;
  font-size: 15px !important;
}
}
/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */

/* Portrait and Landscape */

/*@media only screen 
  and (device-width: 320px) 
  and (device-height: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {

    h1{
  font-size: 50px !important;
    margin-top: 120px !important;  
    margin-bottom: 60px !important;

}
.glavni{
    height: 100vh !important;
  }
}
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */

/*@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
h1{
    font-size: 70px !important;
    margin-top: 90px !important;  
    margin-bottom: 60px !important;
  }
  .glavni{
    height: 100vh;
  }
}

 */

.main-wrapper {
    position: relative;
    height: 100vh;
    z-index: 1;
    padding: 0 20px;
    background-size: cover;
    color: #fff;
    text-align: center;
    background-image: url("../img/under-background.png");
    background-color: rgba(255, 255, 255, 0.9);
}

.title {
    color: #3a3a3a;
    font-size: 3.5em;
    line-height: 1;
    font-weight: 600;
    margin-top: 90px;
    text-align: center;
}

.desc {
    color: #3a3a3a;
    font-weight: bold;
    line-height: 1.6;
    font-size: 1.05em;
    letter-spacing: 0px;
    display: block;
}

.display-table {
    background: url("../img/primar-logo-krila.png") no-repeat center 20%;
    display: table;
    height: 100%;
    width: 100%;
}

.display-table-cell {
    display: table-cell;
    vertical-align: middle;
}

.main-area .desc {
    margin: 20px auto;
    max-width: 500px;
}












