body{
    background-image:url(pozadina.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0;
    margin: 0;
    animation: fadein 0.5s;
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@font-face {
    font-family: TitilliumWeb;
    src: url(TitilliumWeb-ExtraLight.ttf)
}

@font-face {
    font-family: Palanquin-light;
    src: url(palanquin-light.ttf);
}

#logo {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 6%;
    padding-top: 7%;
}

img {
    max-width: 100%;
}

nav{
    background-color:white;
    position: fixed;
    height: 60px;
    width: 100%;
    text-align: right;
    opacity:0.8;
	box-shadow: 0 0px 6px rgba(0,0,0,0.16), 0 0px 6px rgba(0,0,0,0.23);
}

nav:hover {
    opacity: 1;
    box-shadow: 0 0px 8px rgba(0,0,0,0.16), 0 0px 8px rgba(0,0,0,0.23);
}

nav a {
    color: #535353;
    text-decoration: none;
    font-size: 18px;
    line-height: 100%;
    padding: 0% 1%;
    display: inline-block;
    transition: 0.2s; 
    line-height: 60px;
    font-family: TitilliumWeb;
    font-weight: bolder;
}

nav a:hover{
	 box-shadow:  0 0px 6px rgba(0,0,0,0.16), 0 0px 6px rgba(0,0,0,0.23);
     color: #535353;
}

a.crvena:hover {
    border-bottom:solid 3px #ff0202;
}

a.ljubicasta:hover{
    border-bottom:solid 3px #c500f6;
}

a.plava:hover{
    border-bottom:solid 3px #0e30ff;
}

a.zelena:hover{
    border-bottom:solid 3px #166e02;
}

a.zuta:hover{
    border-bottom:solid 3px #ffea00;
}

a.narandasta:hover{
    border-bottom:solid 3px #ff7800;
}

nav div a{
    color: black;
    text-decoration: none;
    font-size: 19px;
    z-index: 99;
    line-height: 100%;
    padding: 0% 1%;
    display: inline-block;
    transition: 0.2s;  
    float: left;
    line-height: 60px;
}

.logo {
    padding: 10px;
	float:left;
}

/* meni za mobilne uređaje */
.meni{
    display: none; 
}

ul, li {
	font-family:Palanquin-light;
}

#sadrzaj{
    background-color: white;
    width: 65%;
    margin: 0 auto;
    padding: 0 1%;
    border: 2px solid #db1920;
    min-height: 700px;
}

#tekst{
	font-size: 16px;
	font-family: Palanquin-light;
	width: 70%;
	margin: 0 auto;
    color: black;
    padding-top: 10%;
    display: none;
}

#kontakt {
    height: auto;
    line-height: 50px;
    font-size: 17px;
    font-family: TitilliumWeb;
    background-color: rgba(255, 255, 255, 0.85);
    color: #000000;
    text-align: center; 
    font-weight: bold;
}
  
h1, h2, h3 {
    font-family: TitilliumWeb;
    color: #b5b5b6;
}

.hr1{
    margin-right: 0%;
}

hr{
    width: 50%;
    border-color: #ff0009;
}

.hr1.animacija{
    transition: 2s ease-in-out;
	transform: translate(-100%, 0px);
	-moz-transform: translate(-100%, 0px);
	-webkit-transform: translate(-100%, 0px);
}

p {
    font-family: Palanquin-light;
    text-align: justify;
}

footer {
    width:100%;
    font-family: TitilliumWeb;
    text-align: center;
	height:250px;
	padding-top: 30px;
    background-color: #790000;
    color: white;
    font-size: 17px;
    border-bottom: solid 1px white;
}

.box1 {
    width: 33%;
    height: 200px;
    display:inline-block;
}

.box2 {
    width: 33%;
    height: 70px;
    display:inline-block;
}

.box3 {
    width: 33%;
    height: 50px;
    display:inline-block;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
    text-shadow: 0 0 8px;
}

#dno {
    width:100%;
    font-family: TitilliumWeb;
    text-align: center;
	height:50px;
    line-height: 50px;
	padding: 0;
    background-color: rgb(121, 0, 0);
    color: white; 
}

/* obrazac */
.box_obrazac {
    margin: 0 auto;
    width:40%;
    background-color: #c6c6c6;
    padding: 10px; 
}

button {
    color: white;
    background-color: #848181;
    font-size: 16px;
    padding: 5% 10%;
    border: none;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto; 
}

.obrazac {
    background-color: #ffffff;
    border: none;
    padding: 1%;
    width: 95%;
    font-size: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: black;
    font-family: TitilliumWeb;
}

.obrazac:hover {
    box-shadow: -0px 0px 10px 5px rgb(204, 204, 204);
    transition: 0.5s;
}

button:hover {
    box-shadow: -0 0px 10px 5px rgb(204, 204, 204);
    transition: 0.5s;
} 
		
.rezultati1 {
    width: 100%;
    height: 30%;
    text-align:left;
}

.rezultati1 h2{
    color: #db1920;
}

.rezultati2 {
    width: 100%;
    height: 30%;
    text-align:right;
}

.rezultati2 p {
    text-align:right;
}

.rezultati2 h2{
    color: #db1920;
}

.galerija {
    width: 100%;
    display: table;
    text-align: center;
}

@media screen and (max-width:1000px){
    body {
        background-image: none;
    }
    
    #sadrzaj {
        width: 95%;
    }
    
    nav {
        display: none;
    }
    
    .meni{ 
        position: fixed;
        z-index: 2;
        display: block;
        height: 60px;
        width: 100%;
        background-color:white;
        opacity:1;
        transition: 0.3s; 
	    box-shadow: 0 0px 6px rgba(0,0,0,0.16), 0 0px 6px rgba(0,0,0,0.23);
        background-image: url(meni_ikona.png);
        background-repeat: no-repeat;
        background-position: 98% center; 
		cursor: pointer;
    }
    
    .nav-meni {
		display:block;
        text-align: center;
        padding-top: 60px;
        opacity: 1;
        z-index: 1;
        transition: 0.5s; 
	} 
    
    nav a{
        width: 100%;
        border-bottom: 2px solid #d5dce4;
        background-color: white;
        transition: 0.5s; 
    }
    
    .crvena {
        display: none;
    }
     
    .hr1{
        width: 50%;;
        z-index: 3;
    }
    h1 {
        font-size: 30px;
    }
    h2, h3 {
	   font-size:24px
    }
    
    p {
        font-size:20px;
    }
    
    li, ul {
        font-size: 20px;
    }

    .hr1.animacija{
        transition: 2s ease-in-out;
        transform: translate(-100%, 0px);
        -moz-transform: translate(-100%, 0px);
        -webkit-transform: translate(-100%, 0px);
    }
    
    .box_obrazac {
        margin: 0 auto;
        width:50%;
        background-color: #c6c6c6;
        padding: 10px; 
    }
}

@media screen and (max-width:800px){
    footer {
        height: 400px;
    }
    .box1 {
        width: 60%;
        display:block;
        margin: 0 auto;
        height: 200px;
    }
    
    .box2 {
        height: 110px;
        width: 60%;
        display:block;
        margin: 0 auto;
        border-top: 1px solid white;
    }
    
    .box3 {
        height: 60px;
        width: 60%;
        display:block;
        margin: 0 auto;
        border-top: 1px solid white;
    }
    
    li, ul {
        font-size: 20px;
    }
}

@media screen and (max-width:520px){
    footer {
        height: 400px;
    }
    .box1 {
        width: 80%;
    }
    
    .box2 {
        width: 80%;
    }
    
    .box3 {
        width: 80%;
    }
    
    li, ul {
        font-size: 20px;
    }
}

/*
@media (max-width: 900px) and (min-width: 551px){
.hr1{
	width: 50%;
	z-index: 3;
    }
.hr2{
	width: 50%;;
}
h1, h2, h3 {
	font-size:15px
}
p {
	font-size:12px;
	padding:2px;
}
    li, ul {
        font-size: 12px;
    }
a {
	font-size:13px;
}
footer {
	font-size:13px;
    }

.hr1.animacija{
    transition: 1s ease-in-out;
	transform: translate(-100%, 0px);
	-moz-transform: translate(-100%, 0px);
	-webkit-transform: translate(-100%, 0px);
}

nav a{
    font-size: 15px;
    }
 
}

@media (max-width: 550px) and (min-width: 200px){
.hr1{
	width: 50%;
	z-index: 3;
}
.hr2{
	width: 50%;
}

h1, h2, h3 {
	font-size:16px
}
p {
	font-size:11px;
	padding:2px;
}

a {
	font-size:12px;
}

.hr1.animacija{
    transition: 1s ease-in-out;
	transform: translate(-100%, 0px);
	-moz-transform: translate(-100%, 0px);
	-webkit-transform: translate(-100%, 0px);
}

nav a{
    font-size: 11px;
    }

li, ul {
        font-size: 11px;
    } 
    
}
*/
