*{
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
}

body{
    background-color: #fafafa;
}

nav{
    width: 100%;
    height: 60px;
    background-color: #ffcc00;
    color: white;
    text-align: right;
    line-height: 60px;
    position: fixed;
    top: 0;
    z-index: 100;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

nav a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 0px 20px;
}

nav a:hover{
    background-color: #ffc000;
}

header{
    width: 100%;
    height: 600px;
    animation-name: pozadina;
    animation-duration: 9s;
    animation-iteration-count: infinite;
    background-position: center;
    background-size: cover;
    animation-timing-function: ease-in;
    animation-direction: alternate;
    margin-top: 60px;
}

#tamnije{
    position: absolute;
    top: 60px;
    width: 100%;
    height: 600px;
    background-color: rgba(0,0,0,0.25);
    color: white;
    font-size: 100px;
    text-align: center;
    line-height: 500px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    z-index: 1;
}

#tamnije img{
    width: 70%;
}

table{
    width: 70%;
    margin: auto;
    display: block;
    z-index: 10;
    position: relative;
    margin-top: -81px;
    border-collapse: collapse;
}

td{
    border-right: 1px solid #F2A700;
}

.prvi-red img{
    width: 80px;
    margin: auto;
    display: block;
    margin-top: -50px;
}

.prvi-red td{
    width: 1%;
    background-color: #ffcc00;
    text-align: center;
    color: white;
    font-weight: bold;
    height: 80px;
    font-size: 20px;
}

tr td:last-of-type{
    border: none;
}

.drugi-red td{
    background-color: #EEEFF3;
    height: 100px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    text-align: center;
    font-size: 17px;
}

.drugi-red td iframe{
    width: 100%;
    height: 100px;
}

@keyframes pozadina{
    0%{background-image: url(slike/zaglavlje.jpg);}
    50%{background-image: url(slike/zaglavlje2.jpg);}
    100%{background-image: url(slike/zaglavlje3.jpg);}
}

#logo{
    position: fixed;
    left: 30px;
    color: white;
    z-index: 101;
    width: 200px;
    top: -10px;
}

#logo img{
    width: 90%;
}

#usluge{
    widows: 90%;
    margin: auto;
    margin-top: 100px;
    text-align: center;
}

.onama-podrska {
    width: 80%;
    margin: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 80px;
    margin-bottom: 100px;
}

.onama-podrska a {
    width: 25%;
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    transition: 0.5s;
    margin: auto;
    text-align: center;
    margin-top: 20px;
    color: black;
    text-decoration: none;
}

.onama-podrska a:hover {
    box-shadow: 0 0 10px grey;
}

.onama-podrska a p {
    margin-top: 25px;
}

.onama-podrska a img {
    width: 64px;
    height: 64px;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}

.container-sadrzaj{
    width: 80%;
    padding: 20px;
}

.container-sadrzaj h1{
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
    color: #ffcc00;
}

.container-sadrzaj p{
    font-size: 20px;
    margin-bottom: 20px;
}

.container-sadrzaj img{
    height: 250px;  
    margin-top: 30px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.galerija{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.osiguranje{
    padding: 20px;
}

 .galerija .osiguranjeimg{
    box-shadow: 0 0 0 0;
     width: 50%;
     height: auto;
}

footer{
    width: 100%;
    background-color: #ffcc00;
    display: flex;
    flex-flow: row wrap;
    margin-top: 100px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

footer div{
    width: 50%;
}

footer h1{
    text-align: center;
    color: white;
    width: 100%;
    height: 50px;
    padding: 20px;
}

footer ul{
    list-style: none;
    color: white;
    font-size: 20px;
    line-height: 50px
}

footer form{
    color: white;
    padding: 10px;
    font-size: 20px;
    align-content: center;
    width: 70%;
}

form input{
    border: none;
    margin-left: 10px;
    height: 30px;
    width: 200px;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
}

textarea{
    height: 60px;
    width: 300px;
    box-sizing: border-box;
    margin-left: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
    border: none;
}

#gumb{
    width: 100px;
    box-shadow: 2px 2px  5px rgba(0, 0, 0, 0.28);
    height: 40px;
}

#gumb:hover{
    background-color: #ffcc00;
    color: white;
    border: 2px solid white;    
    transition: 0.3s;
}

.meni{
    display: none;
}

.dropbtn {
    background-color: transparent;
  color: white;
  font-size: 16px;
  border: none;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffcc00;
  min-width: 160px;
  z-index: 1;
  text-align: left;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
    color: white;
}

#lang{
    display: none;
}

.dropdown:hover .dropdown-content {display: block;}


@media only screen and (max-width: 1100px){
    table{
        width: 85%;
    }
    
    .meni{
        display: block;
        height: 60px;
        width: 100%;
        background-image: url(slike/meni_ikona.png);
        background-color: #ffcc00;
        background-position: 98% center;
        cursor: pointer;
        background-repeat: no-repeat; 
        z-index: 99;
        box-sizing: border-box;
        position: fixed;;
        top: 0px;
    }
    
    nav{
        height: 100%;
        margin-top: 0;
        top: 50px;
        display: none;
        position: fixed;
        width: 100%;
        box-shadow: none;
        box-sizing: border-box;
            
    }
    
    .nav-mobilni{
        display: block;
        width: 100%;
    }
    
    nav a{
        width: 100%;
        border-bottom: 2px white solid;
        text-align: left;
        padding-left: 40px;
        box-sizing: border-box;
    }
    
    nav a:last-child{
        border-bottom: none;
    }
    
    .dropdown {
      display: none;
    }
    
    #lang{
        display: block;
    }
}

@media only screen and (max-width: 1000px){
    
    table{
        width: 100%;
    }
    
    #tamnije{
        font-size: 80px;
    }
    
    .onama-podrska{
        width: 100%;
        flex-wrap: wrap;
    }
    
    .onama-podrska a{
        width: 43%;
        cursor: pointer;
    }
    
    footer{
        flex-flow: row wrap;
        width: 100%;
    }
    
    footer div{
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    footer form{
        margin: 0;
        margin-left: 30px;
    }
}

@media only screen and (max-width: 700px){
    
    table td :last-of-type{
        font-size: 20px;
    }
    
    .prvi-red td{
        font-size: 15px;
    }
    
    #tamnije{
        font-size: 50px;
    }
    
    .galerija img{
        padding: 0px;
        width: 100%;
    }
    
    #tamnije img{
    width: 80%;
}

}

@media only screen and (max-width: 375px){
    #tamnije{
        font-size: 40px;
    }
    
    table td :last-of-type{
        font-size: 17px;
    }
    
    .prvi-red td{
        font-size: 12px;
    }
}